[HELP] need a quick help
#8

I think you shoiuld make your current code like this
pawn Код:
if (strcmp("/cannonfire", cmdtext, true, 10) == 0)
 {
   if(GetPlayerMoney(playerid) < 10000) return SendClientMessage(playerid, -1, "You dont have Enough Money For a Cannon Strike");
else
      {
          CreateExplosion(, , , 6, 15);//cordinates to be written yet :D
          SendClientMessage(playerid, 0xFF0000FF, "Cannon fire on your position in 6 Seconds and counting!");
          GivePlayerMoney(playerid, -10000);//take his money
      }
   return 1;
 }
Reply


Messages In This Thread
[HELP] need a quick help - by jiwan - 20.10.2011, 05:19
Re: [HELP] need a quick help - by =WoR=Varth - 20.10.2011, 05:22
Re: [HELP] need a quick help - by Mr_Scripter - 20.10.2011, 05:22
Re: [HELP] need a quick help - by jiwan - 20.10.2011, 05:24
Re: [HELP] need a quick help - by nilanjay - 20.10.2011, 05:49
Re: [HELP] need a quick help - by jiwan - 20.10.2011, 05:58
Re: [HELP] need a quick help - by nilanjay - 20.10.2011, 06:34
Re: [HELP] need a quick help - by nilanjay - 20.10.2011, 06:37
Re: [HELP] need a quick help - by nilanjay - 20.10.2011, 06:39
Re: [HELP] need a quick help - by jiwan - 20.10.2011, 06:41

Forum Jump:


Users browsing this thread: 1 Guest(s)