My object problem
#1

I'm making a stretcher command which will attach a created object to the player

here's my /getstretcher cmd:

pawn Код:
PlayerStat[playerid][StretcherObject] = CreateObject(2146, X, Y, Z, 0, 0, 0, 75.0);
            AttachObjectToPlayer(PlayerStat[playerid][StretcherObject], playerid,  -0.506504, 1.504988, 0.031584, 0.000000, 89.566635, 0.000000);
and this is my /removestretcher cmd:

pawn Код:
DestroyObject(PlayerStat[playerid][StretcherObject]);
when i use /removestretcher then try to get another stretcher using /getstretcher it doesn't work
Reply


Messages In This Thread
My object problem - by Soumi - 16.08.2011, 11:15
Re: My object problem - by MadeMan - 16.08.2011, 11:27
Re : My object problem - by Soumi - 16.08.2011, 11:53
Re: My object problem - by ElieJabbour - 16.08.2011, 14:40
Re: Re : My object problem - by Kush - 16.08.2011, 14:55
Re: My object problem - by =WoR=Varth - 16.08.2011, 15:00
Re: My object problem - by Soumi - 16.08.2011, 15:21
Re: My object problem - by =WoR=Varth - 16.08.2011, 15:28
Re: My object problem - by Soumi - 16.08.2011, 15:30
Re: My object problem - by Kush - 16.08.2011, 15:31

Forum Jump:


Users browsing this thread: 2 Guest(s)