SA-MP Forums Archive
[AJUDA] Minigames - 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] Minigames (/showthread.php?tid=167256)



[AJUDA] Minigames - Macintosh - 11.08.2010

Gente eu traduzi um FS americano de Minigames e keria por sу pro admin abrir o evento Adm level 1337+
Alguйm poderia me ajudar?


Re: [AJUDA] Minigames - [BR]JD - 12.08.2010

amigo, ninguem vai lhe ajudar se vc nгo postar o fs pra gente estudar.


Re: [AJUDA] Minigames - Falcon. - 12.08.2010

Lol o FS ta postado desde ontem cara..!!!!


Re: [AJUDA] Minigames - Macintosh - 12.08.2010

._. tenso .-.
Alguйm?


Re: [AJUDA] Minigames - SuB_ZeRo0_ - 12.08.2010

Coloque em cada comando para iniciar:
pawn Код:
if(PlayerInfo[playerid][pAdmin]<1337) return 0;
PlayerInfo[playerid][pAdmin] = Admin Level

Apenas admins com 1337+ poderгo fazer o comando.


Re: [AJUDA] Minigames - Macintosh - 12.08.2010

Код:
C:\Documents and Settings\Lucas Nicolas\Desktop\Arkivos SAMP\Evento.pwn(853) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\Lucas Nicolas\Desktop\Arkivos SAMP\Evento.pwn(940) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Lucas Nicolas\Desktop\Arkivos SAMP\Evento.pwn(940) : warning 215: expression has no effect
C:\Documents and Settings\Lucas Nicolas\Desktop\Arkivos SAMP\Evento.pwn(940) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Lucas Nicolas\Desktop\Arkivos SAMP\Evento.pwn(940) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lucas Nicolas\Desktop\Arkivos SAMP\Evento.pwn(940) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Код:
	if(strcmp(cmd, "/derby", true) == 0)
	{
	    if(derbyplaying == 1)
	    {
            if(PlayerInfo[playerid][pAdmin]<1337) return 0;
	        SendClientMessage(playerid, 0xB4B5B7AA, "O derby jб comeзou");
	        return 1;
	    }
	    if(playerinminigame[playerid] == 1)
	    {
	        SendClientMessage(playerid, 0xB4B5B7AA, "Voce jб esta em um minigame");
	        return 1;
	    }
		new pname[256];
		GetPlayerName(playerid, pname, 256);
	    if(derbyon == 0)
	    {



Re: [AJUDA] Minigames - SuB_ZeRo0_ - 12.08.2010

pawn Код:
if(strcmp(cmd, "/derby", true) == 0)
    {
            if(PlayerInfo[playerid][pAdmin]<1337) return 0; //akiiiii
        if(derbyplaying == 1)
        {
            SendClientMessage(playerid, 0xB4B5B7AA, "O derby jб comeзou");
            return 1;
        }
        if(playerinminigame[playerid] == 1)
        {
            SendClientMessage(playerid, 0xB4B5B7AA, "Voce jб esta em um minigame");
            return 1;
        }
        new pname[256];
        GetPlayerName(playerid, pname, 256);
        if(derbyon == 0)
        {
Colocou no lugar errado e troque o PlayerInfo[playerid][pAdmin] pelo seu sistema de admin.