SA-MP Forums Archive
[AJUDA]12 Warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA]12 Warnings (/showthread.php?tid=263702)



[AJUDA]12 Warnings - th3kill3r - 23.06.2011

Код:
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(85) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(86) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(87) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(95) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(95) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(96) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(96) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(97) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(97) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(98) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(98) : warning 202: number of arguments does not match definition
C:\Users\SEVEN\Desktop\Xande arquivos\gta SA\samp server\gamemodes\fortex.pwn(147) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


12 Warnings.
Linhas dos Warnings:
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1742.7361,-1860.6150,13.5785,1.0987);
	SetPlayerCameraPos(playerid, 1743.0195,-1862.4315,16.2048,0.2841);
	SetPlayerCameraLookAt(playerid, 1743.0195,-1862.4315,16.2048,0.2841);
    SetPlayerSkin(playerid,UserInfo[cSkin][playerid]);
	return 1;
}


public OnPlayerConnect(playerid)
{
	{
	SetPlayerMapIcon(playerid, 0, (1745.0813,-1859.4280,13.1981), 42, 0);
	SetPlayerMapIcon(playerid, 1, (1133.0244,-2037.3478,69.0078), 56, 0);
	SetPlayerMapIcon(playerid, 2, (1352.6252,-1753.5184,12.9278), 17, 0);
	SetPlayerMapIcon(playerid, 2, (1553.2112,-1675.5768,16.1953), 30, 0);
	}

public OnPlayerSpawn(playerid)
{
    if(UserInfo[cLog][playerid] == 0)
    {
        TogglePlayerControllable(playerid, 0);
    }
    else
    {
        TogglePlayerControllable(playerid, 1);
    }
    SetPlayerPos(playerid,1742.7361,-1860.6150,13.5785,1.0987);
    SetPlayerInterior(playerid,0);
    return 1;
}



Re: [AJUDA]12 Warnings - Shadoww5 - 23.06.2011

Diga-nos exatamente quais sгo as linhas.


Re: [AJUDA]12 Warnings - th3kill3r - 23.06.2011

tipo se eu passar linha por linha , vai sr tenso pq precisa de todas public


Re: [AJUDA]12 Warnings - mengueh - 23.06.2011

Sim TheKnight, deveria ! :]
Depende, se ele fez :
new UserInfo [MAX_PLAYERS][cLog]; ou
new UserInfo [cLog] [MAX_PLAYERS];