28.05.2015, 13:50
You need to put this in OnPlayerRequestSpawn.
Little fix:
Little fix:
PHP код:
case MEDIC:
{
if(GetPlayerScore(playerid) < 500) return SendClientMessage(playerid, -1, "You need 500 score");
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 33, 200);
GivePlayerWeapon(playerid, 22, 200);
GivePlayerWeapon(playerid, 25, 200);
GivePlayerWeapon(playerid, 11, 2);
}