[AJUDA]Criar Org
#1

Estou tentando fazer a org BOPE So que quando eu vou compilar da esses erros ja tentei e nao estou conseguindo concertar se alguem poder me ajudar ficarei agradecido so novato no pawn :]


C:\Users\Warley\Desktop\RKO RP\gamemodes\RKO.pwn(34490) : error 010: invalid function or declaration
C:\Users\Warley\Desktop\RKO RP\gamemodes\RKO.pwn(34492) : error 010: invalid function or declaration
C:\Users\Warley\Desktop\RKO RP\gamemodes\RKO.pwn(34501) : error 010: invalid function or declaration

3 errors

Linhas :

if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)

return 1;
}
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerInterior(playerid, -1);
SetPlayerPos(playerid, 246.3631,116.7804,1003.2188,2.2299)
PlayerInfo[playerid][pInt] = -1;
PlayerInfo[playerid][pLocal] = 241;
GivePlayerWeapon(playerid, 24, 100);
SetPlayerHealth(playerid, 100);
return 1;
}
Reply
#2

pawn Код:
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)

return 1;
}
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerInterior(playerid, -1);
SetPlayerPos(playerid, 246.3631,116.7804,1003.2188,2.2299)
PlayerInfo[playerid][pInt] = -1;
PlayerInfo[playerid][pLocal] = 241;
GivePlayerWeapon(playerid, 24, 100);
SetPlayerHealth(playerid, 100);
return 1;
}
Isso =
pawn Код:
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
}
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerInterior(playerid, -1);
SetPlayerPos(playerid, 246.3631,116.7804,1003.2188,2.2299)
PlayerInfo[playerid][pInt] = -1;
PlayerInfo[playerid][pLocal] = 241;
GivePlayerWeapon(playerid, 24, 100);
SetPlayerHealth(playerid, 100);
return 1;
}
Reply
#3

Код:
if (PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
	    {
			SetPlayerColor(playerid, COLOR_WHITE);
                        SetPlayerPos(playerid, 246.3631,116.7804,1003.2188,2.2299);
                        SetPlayerHealth(playerid, 100);
			SetPlayerInterior(playerid,-1);
			PlayerInfo[playerid][pInt] = -1;
                        GivePlayerWeapon(playerid, 24, 100);
                        PlayerInfo[playerid][pLocal] = 241;
	        return 1;
	    }
tenta assim..
Reply
#4

Tipo Continua dando o mesmo error olha :

C:\Users\Warley\Desktop\RKO RP\gamemodes\RKO.pwn(34491) : error 010: invalid function or declaration

Linha :

if (PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
Reply
#5

Bom

Код:
                      
SetPlayerPos(playerid, 246.3631,116.7804,1003.2188,2.2299);
Essas cordenadas sua estгo erradas nгo ? '-' pelo que eu olhei estб muito grande
pegue outras cordenadas e tente trocar.
Reply
#6

pawn Код:
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
{
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerInterior(playerid, -1);
SetPlayerPos(playerid, 246.3631,116.7804,1003.2188)
PlayerInfo[playerid][pInt] = -1;
PlayerInfo[playerid][pLocal] = 241;
GivePlayerWeapon(playerid, 24, 100);
SetPlayerHealth(playerid, 100);
return 1;
}
Teste
Reply
#7

pawn Код:
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
{
SetPlayerColor(playerid, COLOR_WHITE);
SetPlayerInterior(playerid, -1);
SetPlayerPos(playerid, 246.3631,116.7804,1003.2188,2.2299);
PlayerInfo[playerid][pInt] = -1;
PlayerInfo[playerid][pLocal] = 241;
GivePlayerWeapon(playerid, 24, 100);
SetPlayerHealth(playerid, 100);
return 1;
}
Reply
#8

Valeu ae todos que postaram ;]
Reply
#9

deu certo?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)