02.08.2011, 16:36
hey guys this is the function i am creating it
And when player enter hydra it show him that message you need to be level 3 to use this vehicle.
I got actually ranks in my script.
so i want to set this hydra only for rank 3
thanks
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(vehicleid == 520)
{
if(!pRank[playerid] = 3; SendClientMessage(playerid, 0xFF0000FF, "You need to be Level: 3 to use this vehicle");
}
return 1;
}
I got actually ranks in my script.
so i want to set this hydra only for rank 3
thanks