Help me with the C4 Function
#1

I want to add blow bank system, when you be at the right coordinates or near them, you explode but i dont know how, what function should I use or could you post me a fixed code.
Here is my function:
Код:
public ExplodeC4(playerid)
{
  new Float:x, Float:y, Float:z;
  GetObjectPos(C4T, x, y, z);
  DestroyObject(C4T);
  CreateExplosion(x, y, z, 7, 10.0);
  C4T= 0;
  return 1;
}
Thanks in advance.
Reply


Messages In This Thread
Help me with the C4 Function - by Sojo12 - 11.05.2014, 08:49
Re: Help me with the C4 Function - by Ciandlah - 11.05.2014, 09:07
Re: Help me with the C4 Function - by iFiras - 11.05.2014, 09:10
Re: Help me with the C4 Function - by Sojo12 - 11.05.2014, 09:14
Re : Help me with the C4 Function - by ReD_HunTeR - 11.05.2014, 09:21
Re: Help me with the C4 Function - by Ciandlah - 11.05.2014, 09:26
Re: Help me with the C4 Function - by Sojo12 - 11.05.2014, 13:08
Re: Help me with the C4 Function - by Sojo12 - 11.05.2014, 13:24
Re: Help me with the C4 Function - by rickisme - 11.05.2014, 13:30
Re: Help me with the C4 Function - by Sojo12 - 11.05.2014, 13:33

Forum Jump:


Users browsing this thread: 8 Guest(s)