[HELP] Random tp to the prison cells
#4

Quote:
Originally Posted by Luca12
Посмотреть сообщение
this should work fine

pawn Код:
new rand = random(sizeof(PrisonCells));
        SetPlayerPos_H(playerid,PrisonCells[rand][0],PrisonCells[rand][1],PrisonCells[rand][2],PrisonCells[rand][3],PrisonCells[rand][4]);
No.

Remind me, what is 'SetPlayerPos_H'?
The array does not have a 4th element.
SetPlayerPos only uses 4 parameters, not 5.
Код:
(playerid, Float:x, Float:y, Float:z)
So yeah..
Reply


Messages In This Thread
[HELP] Random tp to the prison cells - by Roei1998 - 10.07.2014, 15:25
Re: [HELP] Random tp to the prison cells - by Threshold - 10.07.2014, 15:50
Re: [HELP] Random tp to the prison cells - by Luca12 - 10.07.2014, 15:51
Re: [HELP] Random tp to the prison cells - by Threshold - 10.07.2014, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)