SA-MP Forums Archive
help with player vehicle - 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 with player vehicle (/showthread.php?tid=243166)



help with player vehicle - Amine_Mejrhirrou - 21.03.2011

help with player vehicle
i want to give acces to vehicl for 2 player only
Quote:

if(strcmp(PlayerName(playerid), "name1", true)(PlayerName(playerid), "name2", true)!= 0)
{
RemovePlayerFromVehicle(playerid);
GameTextForPlayer(playerid, "~r~Only U.C hight ranks can drive that", 3000, 4);
return 1;
}

or somthnnk like that


Re: help with player vehicle - [NRP]Blade - 21.03.2011

What? how about this