22.09.2014, 19:12
Quote:
Code:
Moneybag = CreateObject(1550, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToPlayer(Moneybag, playerid, -0.300999,0.337999,-0.093999, 0.000000,-90.400001,166.100006); Code:
new Moneybag; //add this any where in ur script |
I will suggest the following code since you can remove it for a specified player.
pawn Code:
new MoneyBag[MAX_PLAYERS];
AttachObjectToPlayer( MoneyBag[playerid], playerid, -0.027000, -0.251999, 0.000000 , 1.000000, 1.000000, 1.000000 );