Quick question. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Quick question. (
/showthread.php?tid=74471)
Quick question. -
-eXo - 22.04.2009
I spawned some cop cars (id: 198, 199) and when I enter then it acts as if they are the type of vehicles for you to buy.
This is the line of code that triggers it I believe, how can I fix it?.
Код:
public IsAnOwnableCar(vehicleid)
{
if(vehicleid >= 184 && vehicleid <= 268) { return 1; }
return 0;
}
Re: Quick question. -
BSMan - 22.04.2009
is that godfather?
if so, u need to look for the car type ithink
CarInfo[vehicleid][vType] - something like that, im pretty rusty :S