[HELP] Fraction cars - 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: [HELP] Fraction cars (
/showthread.php?tid=132389)
[HELP] Fraction cars -
whitedragon - 07.03.2010
Hmm i have question.
I make new GM. And is possible enum info to using?...
enum fracts
{
orgcash,
orgmembers,
orgcar1,
orgcar2,
orgcar3,
orgcar5,// is possible to make them bigger?

Like them fill come add it when you buy car...
}
Re: [HELP] Fraction cars -
Martin_M - 07.03.2010
Actually i don't get it what You want..
But if i understand you right, so..
Код:
enum fracts
{
orgcash,
orgmembers,
orgcars[50]
And You can use from 0 to 49
(0,1,2,3,4,9...45,46,47,48,49);
For e.x.: orcars[2], orgcars[5] and etc.
Re: [HELP] Fraction cars -
whitedragon - 07.03.2010
Yes like this but is possible that he check car for enum?
Re: [HELP] Fraction cars -
whitedragon - 08.03.2010
How do to it?
pawn Код:
if(carid==Org[orgcar1])
{}
else{SendClientMessage("Not in Right Fraction")}
right if statement??
Re: [HELP] Fraction cars -
woot - 08.03.2010
Org[orgcars][0],
Org[orgcars][1],
Org[orgcars][2],
..