warning 202: number of arguments does not match definition -
[sFx]BlueSmoke - 19.04.2012

( I Have Errors...
Код:
error:
(145) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "Select A Class:", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
Код:
error:
(617) : warning 202: number of arguments does not match definition
Line:
SetPlayerArmour(playerid, GetPlayerArmour(playerid)+10);
Код:
error:
(624) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "You Need to atleast Rank-1", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
Код:
error:
(643) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "You Need to atleast Rank-5", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
Код:
error:
(663) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "You Need to atleast Rank-5", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
TogglePlayerControllable(playerid, 0);
Код:
error:
(676) : warning 202: number of arguments does not match definition
Line:
RemovePlayerMapIcon(playerid);
Код:
error:
(684) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "You Need to atleast Rank-1", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
Код:
error:
(704) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "You Need to atleast Rank-8", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
Код:
error:
(725) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "You Need to atleast Rank-7", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
Код:
error:
(746) : warning 202: number of arguments does not match definition
Line:
ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "You Need to atleast Rank-7", "{55B500}Normal (Shotgun +Silent Pistol)\nArmed (10Armour +Shotgun + silent Pistol)\nJet-Trooper (Usage /jp to spawn a jetpack)\nFireman (Flamethrower + Moltove + Fire Estinguisher + RPG)\nSniper (Always Invisible On Map)\nScout (Have Special Duel Sawn off Shotgun)\nEngineer (Press 'ALT' button to build box)\nSWAT (Press 'ALT' To plant a TNT barrel)\nPeon (Country Rifle + Colt + Melle +Tear Gas)", "Select");
Re: warning 202: number of arguments does not match definition -
[sFx]BlueSmoke - 19.04.2012
up

lol
Re: warning 202: number of arguments does not match definition -
fordawinzz - 19.04.2012
line 145: you should add the second button after "Select", if you want it blank type "", example:
pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "List 1\nList 2\nList 3", "Select", "");
line 617:
pawn Код:
new Float: Armour;
GetPlayerArmour(playerid, Armour);
SetPlayerArmour(playerid, Armour + 10.0);
line 624, 643, 663, 684, 704, 725, 746: same as line 145.
line 676: take a look
here.
Re: warning 202: number of arguments does not match definition -
[sFx]BlueSmoke - 19.04.2012
THX very much :X
Re: warning 202: number of arguments does not match definition -
DanMystro - 01.06.2012
warning 202: number of arguments does not match definition
GetVehicleParamsEx(GetPlayerVehicleID(i),params[0],params[1],params[2],params[3],params[4],params[5],params[6],params[7]);
SetVehicleParamsEx(GetPlayerVehicleID(i),0,params[0],params[1],params[2],params[3],params[4],params[5],params[6],params[7]);
Please help me.
Re: warning 202: number of arguments does not match definition -
Sandiel - 01.06.2012
Second error should be done like...
Код:
SetPlayerArmour(playerid, GetPlayerArmour(playerid, armour)+10);
Glad to help.
Re: warning 202: number of arguments does not match definition -
TagazBoy - 07.01.2013
What About This CreateObject(Object,posx,posy,posz,Rotx,Roty,Rotz,-1,10,-1,100.0);
Re: warning 202: number of arguments does not match definition -
Vince - 07.01.2013
Create your own thread next time, instead of bumping an old one. Rule of thumb with this warning is: check the wiki for the right parameters!
Re: warning 202: number of arguments does not match definition -
kevi11 - 01.01.2015
I need to resolve pls help me this is error
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(66) : warning 202: number of arguments does not match definition
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(66) : warning 202: number of arguments does not match definition
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(71) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(71) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(71) : error 004: function "OnPlayerDisconnect" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(76) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(76) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(76) : error 004: function "OnPlayerSpawn" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(81) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(81) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(81) : error 004: function "OnPlayerDeath" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(86) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(86) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(86) : error 004: function "OnVehicleSpawn" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(91) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(91) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(91) : error 004: function "OnVehicleDeath" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(96) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(96) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(96) : error 004: function "OnPlayerText" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(101) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(101) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(101) : error 017: undefined symbol "DelayedKick"
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(102) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(102) : error 017: undefined symbol "DelayedKick"
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(107) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(107) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(109) : error 017: undefined symbol "cmdtext"
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(123) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(123) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(123) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(12

: warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(12

: error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(12

: error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(133) : warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(133) : error 029: invalid expression, assumed zero
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(133) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(13

: warning 225: unreachable code
C:\Users\gdghv\Desktop\Server samp script\gamemodes\testsouth.pwn(13

: error 029: invalid expression, assumed zero
Re: warning 202: number of arguments does not match definition -
Alpay0098 - 18.01.2015
How about it?
SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);