29.12.2013, 20:49
Tipo coloquei tudo certinha assim:
So Que Da Esse Erro :
C:\Users\xTuNinG\Desktop\BestStyle\gamemodes\BestS tyle.pwn(28729) : error: 017: undefined symbol "vehicleid"
C:\Users\xtuNinG\Desktop\BestStyle\gamemodes\BestS tyle.pwn(28729) : error: 017: undefined symbol "vehicleid"
pawn Код:
if(strcmp(cmd, "/blindar", true) ==0)
{
if(!IsPlayerInAnyVehicle(playerid))
return SendClientMessage(playerid, COLOR_RED, "Vocк nгo estб Dentro de um Veiculo!");
if (GetPlayerMoney (playerid) < SBizzInfo[13][sbEntranceCost])
{
SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo tem esse dinheiro !");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 3.0, 2495.9163,-1460.4230,24.0214))
{
Vuln[vehicleid] = MaxVuln;
RepairVehicle(vehicleid);
SendClientMessage(playerid, COLOR_RED, "{FFA500}Vocк blindou o seu veнculo Por (R$3000) !");
GivePlayerMoney(playerid, -3000);
}
else SendClientMessage(playerid, COLOR_RED, "Vocк nгo estб na Oficina de Blindagem");
return true;
}
C:\Users\xTuNinG\Desktop\BestStyle\gamemodes\BestS tyle.pwn(28729) : error: 017: undefined symbol "vehicleid"
C:\Users\xtuNinG\Desktop\BestStyle\gamemodes\BestS tyle.pwn(28729) : error: 017: undefined symbol "vehicleid"