SA-MP Forums Archive
(Help)warning 202: number of arguments does not match definition - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: (Help)warning 202: number of arguments does not match definition (/showthread.php?tid=500320)



(Help)warning 202: number of arguments does not match definition - NTVbeleza - 12.03.2014

I am changing where even the cops take to save me these brand warnig


Code:
(39451) : warning 202: number of arguments does not match definition
(39451) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          26272 bytes
Code size:          3688368 bytes
Data size:          5195660 bytes
Stack/heap size:   16000000 bytes; estimated max. usage: unknown, due to recursion
Total requirements:24910300 bytes

2 Warnings.
This is the red



Code:
CMD:fbi(playerid, params[]){
	if(Team_FBI(playerid))	{
		if(PlayerToPoint(5, playerid, 310.6649,-1537.4591,-45.1338) || PlayerToPoint(5, playerid, 310.6895,-1543.0925,-45.1338))		{
			SafeDialogEx(playerid, FDUTYMENU, DIALOG_STYLE_LIST, "FBI Menu","Duty\nEquipo\nUniforme SWAT\nUniformes\nEncubierto", "Ok", "Cancelar");
		}
		else Enviarmensaje(playerid, COLOR_WHITE, "No estбs en los casilleros del FBI.");
	}
	return 1;
}


CMD:lspd(playerid, params[]){
	if(Team_SFPD(playerid))	{
		if(PlayerToPoint(5, playerid, 272.1060,119.7699,1004.6172,24.2898) || PlayerToPoint(5, playerid,272.1060,119.7699,1004.6172,64.2898) ) {
			SafeDialogEx(playerid, DUTYMENU, DIALOG_STYLE_LIST, "SFPD Menu","Duty\nEquipo\nSWAT\nUniformes\nEncubierto", "Ok", "Cancelar");
		}
		else Enviarmensaje(playerid, COLOR_WHITE, "No estбs en los casilleros de LSPD.");
	}
	return 1;
}

CMD:sfpd(playerid, params[]){
	if(Team_SFPD(playerid))	{
		if(PlayerToPoint(5, playerid, 1862.8876,-1721.7239,5206.1860) || PlayerToPoint(5, playerid,327.2326,307.2340,999.1484) ){
			SafeDialogEx(playerid, DUTYMENU, DIALOG_STYLE_LIST, "SFPD Menu","Duty\nEquipo\nSWAT\nUniformes\nEncubierto", "Ok", "Cancelar");
		}
		else Enviarmensaje(playerid, COLOR_WHITE, "No estбs en los casilleros de SFPD.");
	}
	return 1;
}



Re: (Help)warning 202: number of arguments does not match definition - Matess - 12.03.2014

4 parameters? 272.1060,119.7699,1004.6172,24.2898

X Y Z and?


Re: (Help)warning 202: number of arguments does not match definition - NTVbeleza - 12.03.2014

Quote:
Originally Posted by Matess
View Post
4 parameters? 272.1060,119.7699,1004.6172,24.2898

X Y Z and?

Sorry I saw that it was error cordinate thanks
solved