13.10.2012, 16:06
CMD:freezeall(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
foreach(player, i)
TogglePlayerControllable(i, 0);
else if(PlayerInfo[playerid][pAdmin] >= 1)
{
TogglePlayerControllable(i, 1);
}
return 1;
}
i need help if anyone see's any errors
{
if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
foreach(player, i)
TogglePlayerControllable(i, 0);
else if(PlayerInfo[playerid][pAdmin] >= 1)
{
TogglePlayerControllable(i, 1);
}
return 1;
}
i need help if anyone see's any errors