Factions Car Problem - 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: Factions Car Problem (
/showthread.php?tid=347526)
Factions Car Problem -
Yordan_Kronos - 02.06.2012
Hello i have factions car problem.I Can drive police cars only if you i am Cop.I dont this to be so.I want all can to drive a all cars. Please help me
Код:
{
new string[256];
format(string, sizeof(string), "This vehicle is for %s", Groups[Vehicles[PlayerVehicle][CarGroup]][GroupName], Vehicles[PlayerVehicle][CarGroupRank]);
SendClientMessage(playerid, WHITE, string);
RemovePlayerFromVehicle(playerid);
}
Re: Factions Car Problem -
MadeMan - 02.06.2012
Then remove/comment out the RemovePlayerFromVehicle line.
Re: Factions Car Problem -
Yordan_Kronos - 02.06.2012
To remove only this
Код:
RemovePlayerFromVehicle(playerid);
?
Re: Factions Car Problem -
MadeMan - 02.06.2012
Quote:
Originally Posted by Yordan_Kronos
To remove only this
Код:
RemovePlayerFromVehicle(playerid);
?
|
RemovePlayerFromVehicle will remove the player from the vehicle (duh). If you don't want the player to be removed, remove this line from there. Simple as that.
Re: Factions Car Problem -
Yordan_Kronos - 02.06.2012
Thanks bro, Works