27.11.2011, 22:23
Adicionei uma conce em meu GM.
Logo depois.... deu essa warning
LINHA :
Logo depois.... deu essa warning
pawn Код:
C:\Documents and Settings\Caio\Desktop\Insanity UnderWorld\Geral RP 0.3c\gamemodes\IUR.pwn(3533) : warning 209: function "OnPlayerKeyStateChange" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 8500 bytes
Code size: 1448268 bytes
Data size: 4877048 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 6350200 bytes
1 Warning.
pawn Код:
// ===== Portгo da PoliciaFG =====
if(PlayerInfo[playerid][pMember] == 2)
{
if (PlayerToPoint(12.0,playerid,284.3263,-1539.7929,21.917))
{
MoveObject(PortaoG,284.3263,-1539.7929,16.217,1.5);
GuardaPortao = playerid;
SendClientMessage(playerid,COLOR_GREEN,"Controle remoto ativado, portгo foi aberto");
}
if(!PlayerToPoint(12.0,GuardaPortao,284.3263,-1539.7929,21.917))
{
MoveObject(PortaoG,284.3263,-1539.7929,21.917,1.5);
}
}
}
}
}
}
}

