Quote:
Originally Posted by DouglasRodrigues
pawn Код:
new bool:CarroBlindado[MAXIMO DE CARROS DO SERVIDOR] = false;
if(strcmp(cmdtext,"/Gc", true) == 0 || strcmp(cmdtext,"/godcar", true) == 0) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFF230AFF ,"[ERRO]: Voce nгo esta em um veiculo."); CarroBlindado[GetPlayerVehicleID(playerid)] = true; SendClientMessage(playerid,0xEDED26FF,"[INFO] Godcar Ativado com Sucesso!"); GameTextForPlayer(playerid,"~n~ ~n~ ~n~ ~n~ ~n~ ~g~Godcar Ativado!", 3000, 5); return 1; } public OnVehicleDamageStatusUpdate(vehicleid,playerid) { if(CarroBlindado[vehicleid] == true) RepairVehicle(vehicleid); return true; }
|
Код:
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(36) : error 017: undefined symbol "MAXIMO"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Linha: 36
Код:
new bool:CarroBlindado [MAXIMO DE CARROS DO SERVIDOR] = false;