SA-MP Forums Archive
Object doesnt show up/follow the player- AttachObjectToPlayer - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Object doesnt show up/follow the player- AttachObjectToPlayer (/showthread.php?tid=166968)



CreateExplosion help - robincom - 10.08.2010

I want to make it a big explosion,like 5 cars exploding next to each other.


Re: Object doesnt show up/follow the player- AttachObjectToPlayer - woot - 10.08.2010

pawn Код:
if (strcmp("/attachbomb", cmdtext, true) == 0)
{
    new _obj = CreateObject(1654, 0, 0, 1.35, 0, 0, 0);
    AttachObjectToPlayer(_obj, playerid, 0, 0, 1.35, 0, 0, 0);
    SendClientMessage(playerid, COLOR_RED, "You attached the bomb to you!");
    return 1;
}



Re: Object doesnt show up/follow the player- AttachObjectToPlayer - Kar - 10.08.2010

attachobjecttoplayer was removed in 0.3a.. i believe


Re: Object doesnt show up/follow the player- AttachObjectToPlayer - robincom - 10.08.2010

it wasnt removed