Help guys i can't fix this eror
#1

this is the code
Quote:

SetPlayerPos(playerid, RandomAPrison[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]);

and this is the eror
Quote:

D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\CLRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\CLRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition
D:\backup data\ARIK\age\BC_RP\BC RP\gamemodes\BCRP.pwn(10137) : warning 202: number of arguments does not match definition

Sorry for my bad english
Reply
#2

There is only 4 arguments in the SetPlayerPos code not 5.
https://sampwiki.blast.hk/wiki/SetPlayerPos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)