Problem OnPlayerEnterVehicle
#1

Hello, I have a little problem with this :

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
        if(GetVehicleModel(vehicleid) == 425) {
        if(pRank[playerid] >= 3) {
        {
        SendClientMessage(playerid,COLOR_GREEN,"Welcome To The Hunter!");
        }
        }
        else SendClientMessage(playerid,COLOR_RED,"You must be a rank 3 or higher to drive this vehicle);
        GetPlayerVehicleID(playerid);
        ClearAnimations(playerid);
    }
        return 1;
When I try to enter in the hunter it say "You are not ..." , it's ok
But when I m rank 5 for example, it say "Welcome ..." but I can not enter in the hunter, it play "clear animation"

How can I solve this ? plz
Reply


Messages In This Thread
Problem OnPlayerEnterVehicle - by Sn4ke - 12.03.2011, 07:20
Re: Problem OnPlayerEnterVehicle - by antonio112 - 12.03.2011, 07:56
Re: Problem OnPlayerEnterVehicle - by iMonk3y - 12.03.2011, 07:59
Re : Problem OnPlayerEnterVehicle - by Sn4ke - 12.03.2011, 10:03
Re: Problem OnPlayerEnterVehicle - by Sasino97 - 12.03.2011, 10:26
Re: Problem OnPlayerEnterVehicle - by antonio112 - 12.03.2011, 11:06

Forum Jump:


Users browsing this thread: 1 Guest(s)