C:\Users\Salanti\Downloads\Brasil Multiple Life\Brasil Multiple Life\filterscripts\Cinto.pwn(22) : warning 217: loose indentation
\filterscripts\Cinto.pwn(29) : warning 217: loose indentation
\filterscripts\Cinto.pwn(32) : warning 225: unreachable code
\filterscripts\Cinto.pwn(32) : error 017: undefined symbol "CSEG"
\filterscripts\Cinto.pwn(32) : warning 215: expression has no effect
\filterscripts\Cinto.pwn(32) : error 001: expected token: ";", but found "]"
\filterscripts\Cinto.pwn(32) : error 029: invalid expression, assumed zero
\filterscripts\Cinto.pwn(32) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
return 1;
if(CSEG[playerid] == 0)
{
new Float:VIDA;
GetPlayerHealth(playerid, VIDA);
SetPlayerHealth(playerid, VIDA-20.0);
SendClientMessage(playerid,VERMELHO,"[SERVER] Voce Bateu e nгo estava usando Cinto e Perdeu Sangue por isso! ");
SetTimer("Tontura",20000,0);
SetPlayerDrunkLevel(playerid, 500000);
}
return 1;
}
new CSEG[MAX_PLAYERS];
//no topo do gm
new CSEG[MAX_PLAYERS];
//arrume o codigo postado
return 1;
if(CSEG[playerid] == 0)
{
new Float:VIDA;
GetPlayerHealth(playerid, VIDA);
SetPlayerHealth(playerid, VIDA-20.0);
SendClientMessage(playerid,VERMELHO,"[SERVER] Voce Bateu e nгo estava usando Cinto e Perdeu Sangue por isso! ");
SetTimer("Tontura",20000,0);
SetPlayerDrunkLevel(playerid, 500000);
}
return 1;
}
warning 217: loose indentation
if(CSEG[playerid] == 0)
{
new Float:VIDA;
GetPlayerHealth(playerid, VIDA);
SetPlayerHealth(playerid, VIDA-20.0);
SendClientMessage(playerid,VERMELHO,"[SERVER] Voce Bateu e nгo estava usando Cinto e Perdeu Sangue por isso! ");
SetTimer("Tontura",20000,0);
SetPlayerDrunkLevel(playerid, 500000);
return 1;
}
Faz assim:
pawn Код:
|
if (strcmp("/scintoseg", cmdtext, true, 10) == 0)
error 010: invalid function or declaration
if(strcmp(cmd, "/scintoseg, true) == 0)