06.10.2013, 18:04
i want to know how can i create locker object showing in image .. when doing robbery .. i tried createdynamicobject but it creates object when i done robbery or when robbery animation get stopped n i move here n there n then after a moment i can see locker .
pawn Код:
stock CreateLocker(playerid)
{
new Locker = 1829;
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
CreateDynamicObject(Locker,pos[0],pos[1]-2,pos[2],0,0,0);
return 1;
}