[AJUDA] Minigames
#1

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?
Reply
#2

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

Lol o FS ta postado desde ontem cara..!!!!
Reply
#4

._. tenso .-.
Alguйm?
Reply
#5

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.
Reply
#6

Код:
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)
	    {
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)