Just a simple .pwn error when compiling
#1

C:\Users\Leighto\Pictures\LSRP\gamemodes\LSRP.pwn( 32452) : warning 202: number of arguments does not match definition
C:\Users\Leighto\Pictures\LSRP\gamemodes\LSRP.pwn( 32452) : warning 202: number of arguments does not match definition
C:\Users\Leighto\Pictures\LSRP\gamemodes\LSRP.pwn( 48470) : warning 202: number of arguments does not match definition


Not sure what i did wrong, here are the lines and if you can please explain what i have to do or change it to.

Line 32452 : if(IsPlayerInRangeOfPoint(playerid, 1 -312.49, 1895.05, 34.06) && GetPlayerVirtualWorld(playerid) == 1337 || IsPlayerInRangeOfPoint(playerid, 1 -312.49, 1895.05, 34.06))// NG Duty

Line 48470 : ShowPlayerDialog(playerid, DIALOG_SHOPORDER, DIALOG_STYLE_INPUT, "Shop Order", "Sorry! We don't have the shop feature enabled here!", "Cancel" );


Thank you for your time.
Reply
#2

You are missing arguments. The warnings (NOT ERRORS) clearly state so.

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply
#3

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 1.0, -312.490, 1895.050, 34.060) && GetPlayerVirtualWorld(playerid) == 1337 || IsPlayerInRangeOfPoint(playerid, 1.0, -312.49, 1895.05, 34.06))// NG Duty
pawn Код:
ShowPlayerDialog(playerid, DIALOG_SHOPORDER, DIALOG_STYLE_INPUT, "Shop Order", "Sorry! We don't have the shop feature enabled here!", "Cancel","");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)