I need little help about removing 10 warnings at 1 line
#1

PHP код:
 warning 202number of arguments does not match definition 
Line:
PHP код:
    SetPlayerPos(playeridRandomAPrison[rand][0], RandomAPrison[rand][1],RandomAPrison[rand][2], RandomAPrison[rand][3], RandomAPrison[rand][4],RandomAPrison[rand][5], RandomAPrison[rand][6], RandomAPrison[rand][7],RandomAPrison[rand][8], RandomAPrison[rand][9], RandomAPrison[rand][10],RandomAPrison[rand][11], RandomAPrison[rand][12], RandomAPrison[rand][13]); 
Reply
#2

What the hell are you doing?
'SetPlayerPos' takes 4 arguments.
https://sampwiki.blast.hk/wiki/SetPlayerPos

Код:
SetPlayerPos(playerid, x, y, z);
Reply
#3

I am doing Random SetPlayerPos
Reply
#4

https://sampwiki.blast.hk/wiki/Random
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)