Civ Cars Issue
#1

As most Scripts have, When you steal a police car, you get a wanted level. Well for some odd reason after adding cars Via Taxi stream, for my RPG server, any Civ car most any way, From bikes. to Sport Cars. U will get a wanted level and a warning for stealing a government car.
Reply
#2

make sure you are returning. that could be the problem. ( return at end of checking if in cop car code)
Reply
#3

I think his script uses vehicleid,not modelid
Reply
#4

}
new pname[24];
new plwl;
GetPlayerName(playerid,pname,24);
if(StoleCopCarRecent[playerid] == 0) {
plwl = GetPlayerWantedLevel(playerid);
SetPlayerWantedLevel(playerid,plwl +4);
}
new pcol = GetPlayerColor(playerid);
plwl = GetPlayerWantedLevel(playerid);
SendClientMessage(playerid, 0xA9A9A9AA, "|_Crime Commited_|");
format(string, sizeof(string), "(LAW ENFORCEMENT VEHICLE THEFT) Wanted Level %d",plwl);
SendClientMessage(playerid,pcol,string);
commitedcrimerecently[playerid] +=200;
if(StoleCopCarRecent[playerid] == 0) {
for(new i=0;i<MAX_PLAYERS;i++)
{
new current_zone;
current_zone = player_zone[playerid];
if(LawEnforcementRadio[i] == 1) {
format(string, sizeof(string), "DISPATCH: (LAW ENFORCEMENT VEHICLE THEFT) %s(%d) Has stolen a police vehicle. Location: %s",pname,playerid,zones[current_zone][zone_name]);
SendClientMessage(i, COLOR_ROYALBLUE, string);
}
}
}
StoleCopCarRecent[playerid] =1;
}

if it helps :\
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)