04.08.2014, 14:05
Try this:
Код:
case 2: public InitPlayerHospitalize(playerid) { if(IsPlayerConnected(playerid) && GetPVarInt(playerid, "LoggedIn")) { switch(Player[playerid][pHospitalized]) { case 1: { TogglePlayerSpectating(playerid, true); new rand = random(3);//<-- like this switch(rand) { case 0: