Ownership Help [REP ++] - 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)
+--- Thread: Ownership Help [REP ++] (
/showthread.php?tid=475914)
Ownership Help [REP ++] -
teomakedonija - 15.11.2013
Hi Scripterzzzzzz.I need problem with my Ownership system i maked it alone but now when i enter vehicle which his id is from 1 to 162 is on a Sell but i want my maked cars in cfg/cars.cfg to set on buy not any civilian vehicles...Who help me giving REPP !!!
pawn Код:
public IsAnOwnableCar(vehicleid)
{
if(vehicleid >= 1 && vehicleid <= 162) { return 1; }
return 0;
}
Re: Ownership Help [REP ++] -
teomakedonija - 16.11.2013
BUMP
Re: Ownership Help [REP ++] -
teomakedonija - 16.11.2013
anyone ?
Re: Ownership Help [REP ++] -
whando - 16.11.2013
What do you actually mean? Could you give a better explaination please.
Re: Ownership Help [REP ++] -
teomakedonija - 16.11.2013
When i enter to vehicle which id is from 1 to 162 that vehicle is on dealership to buying but that car is civilian from Police not for Dealership ...
Re: Ownership Help [REP ++] -
Elie1996 - 17.11.2013
your sentence isn't making any sense.. Sorry.
What does "but that car is civillian frm Police not from dealership"
Re: Ownership Help [REP ++] -
Pottus - 17.11.2013
Well, all I got to say is no one gives a damn about your problems with Ravens Roleplay.
Really look at this non sense.
pawn Код:
if(vehicleid >= 1 && vehicleid <= 162) { return 1; }
This is code with obscure and counter-intuitive checks riddled throughout the whole script, and you really expect anyone to help you? It's obvious you don't know much about scripting yet so you should really try some tutorials if you knew even a bit you would realize how bad this script is.