Object question
#1

Hello,

I am trying to make a small fire script. I created the objects and I want it so that if the person is aiming at the fire with a fire extinguisher the object deletes. I am using fire objects instead of a normal fire because I want it to stay there and sync.

This is what I am trying but its very wrong, please help:

Код:
public OnPlayerUpdate(playerid)
{
If(GetPlayerCameraPos(playerid, firex, firey, firez) && weaponid == 42)
{
DeleteObject(18691);
DeleteObject(18692);
DeleteObject(18691);
DeleteObject(18692);
DeleteObject(18691);
DeleteObject(18692);
}
}
Reply


Messages In This Thread
Object question - by Tommy_Mandaz - 11.03.2011, 23:42
Re: Object question - by JaTochNietDan - 12.03.2011, 00:31
Re: Object question - by Tommy_Mandaz - 12.03.2011, 01:33
Re: Object question - by Tommy_Mandaz - 12.03.2011, 04:09
Re: Object question - by Tommy_Mandaz - 12.03.2011, 04:33
Re: Object question - by admantis - 12.03.2011, 04:39
Re: Object question - by Tommy_Mandaz - 12.03.2011, 04:49

Forum Jump:


Users browsing this thread: 1 Guest(s)