C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(151) : error 001: expected token: ";", but found "-identifier-" C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(151) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(154) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(161) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(164) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(164) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(164) : error 004: function "OnPlayerEnterVehicle" is not implemented C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(170) : warning 225: unreachable code C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(170) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(170) : error 004: function "OnPlayerExitVehicle" is not implemented C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(174) : error 001: expected token: ";", but found "-identifier-" C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(183) : warning 225: unreachable code C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(183) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(183) : error 004: function "OnPlayerUpdate" is not implemented C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(205) : error 030: compound statement not closed at the end of file (started at line 109) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); printf("%s", string); } return 1; } if (strcmp("/ajudacinto", cmdtext, true, 10) == 0) { SendClientMessage(playerid,COLOR_GREEN,"*** Para vocк colocar/tirar o cinto de seguranзa , Use /cinto. ***"); SendClientMessage(playerid,COLOR_GREEN,"*** Nгo pule do veiculo com cinto de seguranзa ou poderб MORRER ENFORCADO! ***"); SendClientMessage(playerid,COLOR_GREEN,"*** Evite andar sem cinto de seguranзa. Valorize a sua vida ! ***"); } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { SendClientMessage(playerid, COLOR_GREEN, "Para a sua seguranзa , ultilize o cinto de seguranca."); return 1; } public OnPlayerExitVehicle(playerid, vehicleid){ if(cinto[playerid] == 1){ SendClientMessage(playerid, COLOR_RED, "Vocк pulou do carro com cinto de seguranзa"); GameTextForPlayer(playerid, " ~r~Voce se enforcou com o cinto!", 5000, 3) SetPlayerHealth(playerid,0); GivePlayerMoney(playerid,-5000); } return 1; } // if (IsPlayerInAnyVehicle(playerid) == 1 && cinto[playerid] == 1) // cinto[playerid] = 0; public OnPlayerUpdate(playerid) { if(IsPlayerInAnyVehicle(playerid) == 1 && cinto[playerid] == 0) { new Float:TempCarHealth; GetVehicleHealth(GetPlayerVehicleID(playerid), TempCarHealth); new Float:Difference = floatsub(CarHealth[playerid], TempCarHealth); if((floatcmp(CarHealth[playerid], TempCarHealth) == 1) && (floatcmp(Difference,100.0) == 1)) { Difference = floatdiv(Difference, 10.0); new Float:OldHealth; GetPlayerHealth(playerid, OldHealth); SetPlayerHealth(playerid, floatsub(OldHealth, Difference)); } CarHealth[playerid] = TempCarHealth; } else { CarHealth[playerid] = 0.0; } return 1; }
forward OnPlayerEnterVehicle(playerid, vehicleid, ispassenger);
forward OnPlayerExitVehicle(playerid, vehicleid);
forward OnPlayerUpdate(playerid);
pawn Код:
|
VOCК FUMA MACONHA ?
EM PUBLIC ORIGINAL DO PAWN NГO SE COLOCA FORWARD CARALHO |
C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(154) : error 001: expected token: ";", but found "-identifier-" C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(154) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(157) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(164) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(167) : warning 217: loose indentation C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(167) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(167) : error 004: function "OnPlayerEnterVehicle" is not implemented C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(173) : warning 225: unreachable code C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(173) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(173) : error 004: function "OnPlayerExitVehicle" is not implemented C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(177) : error 001: expected token: ";", but found "-identifier-" C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(186) : warning 225: unreachable code C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(186) : error 029: invalid expression, assumed zero C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(186) : error 004: function "OnPlayerUpdate" is not implemented C:\Users\Ricardo\Desktop\Server Sa-mp 0.3c\filterscripts\cintoseg.pwn(208) : error 030: compound statement not closed at the end of file (started at line 112) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1; }
return 0;
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
public OnPlayerExitVehicle(playerid, vehicleid){
Warning Linha 164
return 1;
Warning Linha 157
return 1;
}