25.09.2010, 11:57
How to add in this script line:
this script:
So if "if(GetPlayerScore(playerid)<5)" is not true "TogglePlayerControllable(playerid,1);" happens.
Same like "SendClientMessage" script.
Код:
if (GetPlayerScore(playerid)<5) return SendClientMessage(playerid, 0xFF9900AA,"You must have higher score to buy this weapon.");
Код:
TogglePlayerControllable(playerid,1);
Same like "SendClientMessage" script.