Get save corda
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(!strcmp(cmdtext, "/plantbomb", true))
  {
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    SendClientMessage(playerid, 0xFFFFFFFF, "Bomb Planted.");
 
    // Do other stuff

    CreateExplosion(x, y, z, 12, 10)
  }
  return 0;
}
Something like that, but if you just copy and paste that it will create an explosion when you type the command so you need to add a timer or something.
Reply


Messages In This Thread
Get save corda - by Steven82 - 24.03.2010, 07:07
Re: Get save corda - by V1ceC1ty - 24.03.2010, 09:02
Re: Get save corda - by [HiC]TheKiller - 24.03.2010, 09:05
Re: Get save corda - by Steven82 - 24.03.2010, 23:21
Re: Get save corda - by adsy - 24.03.2010, 23:45
Re: Get save corda - by Steven82 - 25.03.2010, 01:07
Re: Get save corda - by XGh0stz - 25.03.2010, 02:16
Re: Get save corda - by Steven82 - 25.03.2010, 02:25

Forum Jump:


Users browsing this thread: 1 Guest(s)