13.09.2010, 19:55
answer on 1st: check the number of parameters in apply animations
so https://sampwiki.blast.hk/wiki/ApplyAnimation
answer on 2nd: there are lots of countdowns scripts on the forums here and i dont have time to script it atm.
answer on 3th: use variables for example
on top of your script
then at ur /steal command or sumthing
no idea if this works :P this has been scripted on the forums so i didnt use pawno or summing :P
so https://sampwiki.blast.hk/wiki/ApplyAnimation
answer on 2nd: there are lots of countdowns scripts on the forums here and i dont have time to script it atm.
answer on 3th: use variables for example
on top of your script
Код:
new stolenthings;
Код:
if(!strcmp("/steal", cmdtext,true)) { if(stolenthings == 1) return SendClientMessage(playerid,0xFF9900AA,"You already stolen the things."); // bla bla bla sendclientmessage things etc... stolenthings = 1; // this on end so now you got stolenthings to sell
Код:
if(!strcmp("/sell", cmdtext,true)) { if(stolenthings == 1) return SendClientMessage(playerid,0xFF9900AA,"You dont have things to sell."); // bla bla bla sendclientmessage things etc... again stolenthings = 0; }