[AJUDA] Habilitaзгo - 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] Habilitaзгo (
/showthread.php?tid=277014)
[AJUDA] Habilitaзгo -
Lipe_Stronda - 16.08.2011
Bom estou fazendo um sistema de carteira de motorista, essas coisas , tipo pra andar precisa ter carteira
ai eu puis no topo
PHP код:
enum pInfo
{
pAerea,
pTerrestre
}
EnterVehicle:
PHP код:
if( pTerrestre == 0) return RemovePlayerFromVehicle(playerid);
if( pAerea == 0) return RemovePlayerFromVehicle(playerid);
warnings.
PHP код:
C:\Users\Ana e Felipe\Documents\Meus arquivos recebidos\....................\....................\gamemodes\......pwn(330) : warning 213: tag mismatch
C:\Users\Ana e Felipe\Documents\Meus arquivos recebidos\....................\....................\gamemodes\......pwn(330) : warning 205: redundant code: constant expression is zero
C:\Users\Ana e Felipe\Documents\Meus arquivos recebidos\....................\....................\gamemodes\......pwn(331) : warning 213: tag mismatch
C:\Users\Ana e Felipe\Documents\Meus arquivos recebidos\....................\....................\gamemodes\.....pwn(331) : warning 206: redundant test: constant expression is non-zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
Re: [AJUDA] Habilitaзгo -
CocaC0la - 16.08.2011
pawn Код:
if(PlayerInfo[playerid][pAerea] == 0)
if(PlayerInfo[playerid][pTerrestre]==0)
Re: [AJUDA] Habilitaзгo -
Lipe_Stronda - 16.08.2011
PHP код:
C:\Users\Ana e Felipe\Documents\Meus arquivos recebidos\Server\Server\gamemodes\SanFierro.pwn(670) : warning 209: function "OnPlayerEnterVehicle" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Re: [AJUDA] Habilitaзгo -
CocaC0la - 16.08.2011
Arrume os returns do OnPlayerEnterVehicle