16.08.2011, 11:53
Ok, i used /getstretcher which creates an Stretcher object then attach this object to the player.
this works, so i tested the /removestretcher command.
and it destroyed the stretcher object (Works)
But when i wanted to use /getstretcher again after destroying that object, its not working nothing happens
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]);
But when i wanted to use /getstretcher again after destroying that object, its not working nothing happens