15.09.2010, 15:43
(
Последний раз редактировалось nejc001; 15.09.2010 в 16:09.
)
where should i put
I though this shouldnt be in any category, but i get like 5 errors. so...
EDIT: Mike, i tryed ur script and i works just perfect. There were some problems, but i fixed it.
At this script should be *if(stolenthings == 0)*.
Whatever, ty.
Код:
forward countdown(playerid); public countdown(playerid) { countdown --; TogglePlayerControllable(playerid,0); new str[10]; format(str,sizeof(str),"%d",countdown); SendClientMessage(playerid,color,str); if(countdown == 1) { SendClientMessage(playerid,colour,"GO GO GO!"); return 1; } }
EDIT: Mike, i tryed ur script and i works just perfect. There were some problems, but i fixed it.
At this script should be *if(stolenthings == 0)*.
Код:
if(!strcmp("/sell", cmdtext,true)) { if(stolenthings == 0) return SendClientMessage(playerid,0xFF9900AA,"You dont have things to sell."); // bla bla bla sendclientmessage things etc... again stolenthings = 0; }