16.08.2011, 11:15
I'm making a stretcher command which will attach a created object to the player
here's my /getstretcher cmd:
and this is my /removestretcher cmd:
when i use /removestretcher then try to get another stretcher using /getstretcher it doesn't work
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);
pawn Код:
DestroyObject(PlayerStat[playerid][StretcherObject]);