SA-MP Forums Archive
faction 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: faction cars (/showthread.php?tid=255528)



faction cars - stix - 15.05.2011

Can someone make me a code so only the players with the following data can use the car?

PlayerData[playerid][IBco] = 1;
PlayerData[playerid][IBLeader] = 1;
PlayerData[playerid][IBOG] = 1;
PlayerData[playerid][IB] = 1;

The player needs to have at least one of these ranks to can drive the car

otherwise he will get removed from car and a message 'You aren't an official Front Yard Ballas Member'


Re: faction cars - NRJ53 - 15.05.2011

I'm on an iPod so I can't write it out, however you could do
PlayerData[playerid][IB] = 0; // 0 = non-member, 1 = member, 2 = co leader, 3 = leader, etc
Just thinking


Re: faction cars - stix - 16.05.2011

i know i could made that shit but im too lazy to make it all over again lol


Re: faction cars - lowrida018 - 16.05.2011

You could just rename the ranks, and what they can do.