SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: warning 202: number of arguments does not match definition (/showthread.php?tid=266473)



warning 202: number of arguments does not match definition - HayZatic - 04.07.2011

I get The Warning

Код:
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\gamemodes\FreeRoam.pwn(110) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\gamemodes\FreeRoam.pwn(111) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chris\My Documents\HayZaticFreeRoam\gamemodes\FreeRoam.pwn(113) : warning 202: number of arguments does not match definition
Heres The Code That its appearing wrong?

Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 0,257.7088,-41.5065,1002.0234);
	SetPlayerCameraPos(playerid, 0,256.2079,-42.9162,1002.0234);
	SetPlayerFacingAngle(playerid,308.2271);
	SetPlayerCameraLookAt(playerid, 0,257.7088,-41.5065,1002.0234);
	return 1;
}



Re: warning 202: number of arguments does not match definition - dr.pepper - 04.07.2011

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 257.7088,-41.5065,1002.0234);
    SetPlayerCameraPos(playerid, 256.2079,-42.9162,1002.0234);
    SetPlayerFacingAngle(playerid,308.2271);
    SetPlayerCameraLookAt(playerid, 257.7088,-41.5065,1002.0234);
    return 1;
}



Re: warning 202: number of arguments does not match definition - HayZatic - 04.07.2011

Fixed! What i did was i added an wrong interger!
Dr.Pepper I found that out Right before you messaged me! lol but thanks! i reped you!