Jump to content
Sign in to follow this  
deadlyfudger

locking certain slots

Recommended Posts

Hello i run an island life server. We have 4 slots on the civilian side which are admin slots. I would like to know how i can lock those 4 slots to certain PIDS. Island life has 3 teams, Blufor (cops)/Civs/ESU. I would also like to lock some cop slots to trained officers only by adding there PID. Is there a certain script i can use for this? Please help

Share this post


Link to post
Share on other sites
admins = ["UID1","UID2","UID3","UID4"];
if (!(getPlayerUID in admins)) then
{
titleText ["Admin Slot! Kicking in 20 Seconds!", "BLACK"];
sleep 5;
titleText ["Admin Slot! Kicking in 15 Seconds!", "BLACK"];
sleep 5;
titleText ["Admin Slot! Kicking in 10 Seconds!", "BLACK"];
sleep 5;
titleText ["Admin Slot! Kicking in 5 Seconds!", "BLACK"];
sleep 5;
titleText ["Admin Slot! Kicking!", "BLACK"]; titleFadeOut 1;
endMission "LOSER";
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×