Pick up problem
#2

Use CreatePickup, because it returns a ID

pawn Код:
CMD:pickup(playerid, params[])
{
    new Float:Pos[3];
    GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
    CreatePickup(1582,1,Pos[0],Pos[1],Pos[2],0);
    printf("CreatePickup(1582,1,%d,%d,%d,0);",Float:Pos[0],Float:Pos[1],Float:Pos[2]);
    return 1;
}
Reply


Messages In This Thread
Pick up problem - by Noles2197 - 24.01.2013, 20:16
Re: Pick up problem - by ReDevilGames - 24.01.2013, 20:21
Re: Pick up problem - by B-Matt - 24.01.2013, 20:24
Re: Pick up problem - by Roach_ - 24.01.2013, 20:34
Re: Pick up problem - by ReDevilGames - 26.01.2013, 17:02

Forum Jump:


Users browsing this thread: 3 Guest(s)