08.12.2011, 03:11
Wow thanks for the detailed reply and yeah i kind of fucked up the switch(vehicleid), I'm using the following code:
Then just defining it under OnPlayerEnterVehicle as an 'if' statement so if the player is team civil sets that players wanted to 4 or 3 depending on cop or public. Infact i feel quite stupid really considering i used an IsAPlane function on my anti-cheat proberly just lack of sleep, thanks again for all your help.
Best regards,
-Michael.
pawn Код:
stock IsACopCar(vehicleid)
{
switch(vehicleid)
{
case 523, 427, 490, 528, 596, 598, 597, 599, 601, 432, 433: return 1;
}
return 1;
}
stock IsAPublicCar(vehicleid)
{
switch(vehicleid)
{
case 416, 407, 544: return 1;
}
return 1;
}
Best regards,
-Michael.