Jump to content
  • 0

number of arguments does not match definition


onix09

Question

Mdea.. am erori :)

Eroare:
(145) : warning 202: number of arguments does not match definition
Linie:
    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");
Eroare:
(617) : warning 202: number of arguments does not match definition
Linie:
                  SetPlayerArmour(playerid, GetPlayerArmour(playerid)+10);
Eroare:
(624) : warning 202: number of arguments does not match definition
Linie:
				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");
Eroare:
(643) : warning 202: number of arguments does not match definition
Linie:
				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");
Eroare:
(663) : warning 202: number of arguments does not match definition
Linie:
				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);
Eroare:
(676) : warning 202: number of arguments does not match definition
Linie:
                  RemovePlayerMapIcon(playerid);
Eroare:
(684) : warning 202: number of arguments does not match definition
Linie:
				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");
Eroare:
(704) : warning 202: number of arguments does not match definition
Linie:
				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");
Eroare:
(725) : warning 202: number of arguments does not match definition
Linie:
				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");
Eroare:
(746) : warning 202: number of arguments does not match definition
Linie:
				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");

9zZndmN.png
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Ok, am vazut ca la dialog ai doar 1 buton.

Linie:

    ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "Select A Class:", " --- continut", "Select","");

Ai doar un buton, "Select" il creeam si pe al 2-lea numai ca nu scrii nimic intre " si " si va fi:

[pawn]

ShowPlayerDialog(playerid, 999,DIALOG_STYLE_LIST, "Select A Class:", "continut", "Select" , "");

[/pawn]

communitylogosml.png

94.23.120.101:7778

Link to comment
Share on other sites

La toate am doar 1 buton, daca de la asta e, le voi sterge si revin cu edit :)

Rezolvat, mai am doar 1 warning

Eroarea: (617) : warning 202: number of arguments does not match definition

Linia:                  SetPlayerArmour(playerid, GetPlayerArmour(playerid)+10);

9zZndmN.png
Link to comment
Share on other sites

Nu, deci nu trebuia sa stergi, daca vrei cu un singur buton ex.

dupa "Select" pui si al 2-lea buton " " numai ca nu scrii nimic in el si o sa fie:

ShowPlayerDialog( playerid, 999, DIALOG_STYLE_LIST, "Arme", "continut","Select","");

communitylogosml.png

94.23.120.101:7778

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.