17.05.2017, 11:14
Bad because no dm leave cmd, and many other things, What is the point of this:
Код:
for(new i = 0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { TogglePlayerControllable(i, 1); SCMTA(-1,"{800080}[EVENT STARTED] {fef65b}An Administrator has Started the DM Event!"); GameTextForPlayer(i, "~W~EVENT ~Y~HAS ~G~BEEN ~B~STARTED!",3000,3); if(!IsPlayerAdmin(playerid)) return SCM(playerid, -1, "{f00f00}[ERROR]: {FFFFFF}You are not authorized to use this command!"); EventOpened[playerid] = 0; InEvent[playerid] = 1; } }