29.07.2011, 02:01
something like this
at the top of your code:
then on player enter vehicle:
Correct me if im wrong =P
at the top of your code:
pawn Код:
new hydra;
pawn Код:
if(vehicleid == hyrda)
{
if(pRank(playerid) => 2)
{
//Whatever you want it to do if he is the right rank
}
else
{
SendClientMessage(...."You cant use this till rank 2");
RemovePlayerFromVehicle(playerid);
}
}