SetPlayerCheckpoint
#1

hello!

Im making some random checkpoints, but they only shown on the minimap, and when you get there you see no checkpoint.

i guess it is because i have no radius defined for them, and i don't know how to do that in what way i create them.

Here is the code
CODE:
pawn Код:
new Float:Randommission[][4] =
{
    {405.7452,2442.8865,16.5000},
    {1664.6863,1337.0352,10.7705},
    {-1441.6310,-206.0983,6.0000},
    {1921.9943,-2235.5515,13.5469}
};

COMMAND:mission(playerid, params[])
{
    new rand = random(sizeof(Randommission));
    SetPlayerCheckpoint(playerid, Randommission[rand][0], Randommission[rand][1],Randommission[rand][2],Randommission[rand][3]);
    return 1;
}
Reply


Messages In This Thread
SetPlayerCheckpoint - by cruising - 16.11.2011, 18:23
AW: SetPlayerCheckpoint - by Babul - 16.11.2011, 18:27
Re: AW: SetPlayerCheckpoint - by cruising - 16.11.2011, 18:29
Re: SetPlayerCheckpoint - by Joshb93 - 16.11.2011, 18:31
Re: SetPlayerCheckpoint - by cruising - 16.11.2011, 18:39
Re: SetPlayerCheckpoint - by Wesley221 - 16.11.2011, 18:47
Re: SetPlayerCheckpoint - by cruising - 16.11.2011, 18:54

Forum Jump:


Users browsing this thread: 1 Guest(s)