26.11.2013, 07:12
Mas ta dando erro ao compilar
pawn Код:
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\GM.pwn(61684) : error 029: invalid expression, assumed zero
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\GM.pwn(61684) : warning 215: expression has no effect
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\GM.pwn(61684) : error 001: expected token: ";", but found "if"
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\GM.pwn(61686) : warning 213: tag mismatch
D:\Documents and Settings\Administrator\Desktop\RPG\Gamemodes\GM.pwn(61690) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
pawn Код:
new placaveiculo = GetPlayerVehicleID(playerid);
else if(placaveiculo >= 500)
{
if(placaveiculo != pCarKey)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo tem a chave desse veнculo!");
}
else if(placaveiculo == pCarKey)
{
GetVehicleParamsEx(carro, mot, lu, alar, por, cap, porma, ob);
SetVehicleParamsEx(carro, VEHICLE_PARAMS_ON, lu, alar, por, cap, porma, ob);
motor[playerid] = 1;
format(string, sizeof(string), " %s estб ligando o veiculo.", PlayerName(playerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SendClientMessage(playerid, 0xFFFFFFAA, "Veiculo {2F991A}Ligado!");
return 1;
}
}