SA-MP Forums Archive
How can i create object on robbery time when animation is running .. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How can i create object on robbery time when animation is running .. (/showthread.php?tid=468125)



How can i create object on robbery time when animation is running .. - PrinceKumar - 06.10.2013

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;
}



Re: How can i create object on robbery time when animation is running .. - brawrr - 06.10.2013

try to create it with default function for creating objects


Re: How can i create object on robbery time when animation is running .. - PrinceKumar - 06.10.2013

Quote:
Originally Posted by brawrr
Посмотреть сообщение
try to create it with default function for creating objects
k i will try if it does i will be thankful to you