04.04.2011, 17:33
what this warning says and how can i fix it?
Код:
number of arguments does not match definition
number of arguments does not match definition
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Special Shop / Cars", "After 1 minute, the car will desapear!!!\r\nBandito - 1 Point\r\nLandStalker - 2 Points\r\nNRG-500 - 2 Points\r\nStuntPlane - 2 Points\r\nHunter - 5 Points\r\nHydra - 5 Points"); |
(624) : warning 202: number of arguments does not match definition (624) : warning 202: number of arguments does not match definition |
if(!Points[playerid] >= 1) return SendClientMessage(playerid, COLOUR_RED, "You must have atleast 1 Point to buy NightVision goggles!!!"); |
D:\gta san andreas online\Godfucker\gamemodes\GunGame.pwn(639) : warning 213: tag mismatch |
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Special Shop / Cars", "After 1 minute, the car will desapear!!!\r\nBandito - 1 Point\r\nLandStalker - 2 Points\r\nNRG-500 - 2 Points\r\nStuntPlane - 2 Points\r\nHunter - 5 Points\r\nHydra - 5 Points", "Ok", "Cancel);
if(Points[playerid] >= 1) return SendClientMessage(playerid, COLOUR_RED, "You must have atleast 1 Point to buy NightVision goggles!!!");
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Special Shop / Cars", "After 1 minute, the car will desapear!!!\nBandito - 1 Point\nLandStalker - 2 Points\nNRG-500 - 2 Points\nStuntPlane - 2 Points\nHunter - 5 Points\nHydra - 5 Points", "Select", "Exit");
if(Points[playerid] >= 1) return SendClientMessage(playerid, COLOUR_RED, "You must have atleast 1 Point to buy NightVision goggles!!!");
First one
pawn Код:
pawn Код:
|
then do:
if(Points[playerid] < 1) return SendClientMessage(playerid, COLOUR_RED, "You must have atleast 1 Point to buy NightVision goggles!!!"); |