warning 202: number of arguments does not match definition
#1

pawn Код:
warning 202: number of arguments does not match definition
9 Warnings.

All This.. My line's is


pawn Код:
1.- KickPlayer(playerid,"Error al ingresar al servidor nick");
2.- KickPlayer(playerid,string);
3.- KickPlayer(playerid,string);
4.- KickPlayer(playerid,string);
5.- KickPlayer(i,string);
6.- KickPlayer(i,string);
7.- KickPlayer(playerid,string);
8.- return KickPlayer(player1,string);
9.- print(string); return KickPlayer(player1,string); }
PD: Sorry my bad english
Reply
#2

The 'KickPlayer' does not have the string[] param. So, that is why they are a mismatch. Use it like this:
pawn Код:
KickPlayer(playerid);
Reply
#3

sorry, but where i need change?..

PD: Sorry my bad english
Reply
#4

Everywhere you have this:
pawn Код:
KickPlayer(playerid, string);
Change all of those to:
pawn Код:
KickPlayer(playerid);
since the KickPlayer fucntion does not have the string[] param.
https://sampwiki.blast.hk/wiki/KickPlayer
Reply
#5

The webpage are in Blank.. And the code now send 13 Warnings.
Reply
#6

Thanks, i can repair the problem i define 2 try one public lol
Reply
#7

Sorry, I did everything wrong, it's 1:22 am here

It's
pawn Код:
Kick(playerid);
with just the playerid param, so you can't use string anyways.
Reply
#8

Quote:
Originally Posted by Swift_
Sorry, I did everything wrong, it's 1:22 am here

It's
pawn Код:
Kick(playerid);
with just the playerid param, so you can't use string anyways.

na, dont have problem the function
pawn Код:
KickPlayer
are connect to sql database.. for this i call this funtion..

PD: Sorry my bad english again. can closed this topic
Reply
#9

Copy KickPlayer funciton
Reply
#10

can closed i repair the problem xDDD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)