04.12.2010, 12:47
(
Последний раз редактировалось Larsey123IsMe; 04.12.2010 в 12:58.
)
I did something wrong, and IDK how to fix it =/
ERROR:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/MyCommand", true) == 0)
{
if(IsPlayerInVehicle(playerid, 420 && 431))
{
if(IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,0x00FF00AA,"You're not in a vehicle.");
SendClientMessage(playerid,0xFFFFFFFFF,"Your veh have been tuned!");
ChangeVehicleColor(vehicleid, 103, 103); //Here
AddVehicleComponent(vehicleid,1010); //Here
AddVehicleComponent(vehicleid,1001); //Here
AddVehicleComponent(vehicleid,1076); //Here
AddVehicleComponent(vehicleid,1012); //Here
}
return 1;
}
return 0;
}
pawn Код:
C:\Users\Larsey123\Documents\SAMP Server\My server\filterscripts\Taxi.pwn(21) : error 017: undefined symbol "vehicleid"
C:\Users\Larsey123\Documents\SAMP Server\My server\filterscripts\Taxi.pwn(22) : error 017: undefined symbol "vehicleid"
C:\Users\Larsey123\Documents\SAMP Server\My server\filterscripts\Taxi.pwn(23) : error 017: undefined symbol "vehicleid"
C:\Users\Larsey123\Documents\SAMP Server\My server\filterscripts\Taxi.pwn(24) : error 017: undefined symbol "vehicleid"
C:\Users\Larsey123\Documents\SAMP Server\My server\filterscripts\Taxi.pwn(25) : error 017: undefined symbol "vehicleid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.