Code: Select all
C:\Documents and Settings\Dators\Desktop\Stunt server\filterscripts\stunts.pwn(284) : error 017: undefined symbol "vehicleid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Code: Select all
if(strcmp(cmdtext, "/paintjob", true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
ChangeVehiclePaintjob(vehicleid, 1)
SendClientMessage(playerid,COLOR_GREEN,"Your car was tuned with rims and 10x NOS!");
} else {
SendClientMessage(playerid,COLOR_GREY,"You have to be in a car to use this command.!");
}
return 1;
}