Just Courious
#1

I have this :

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
    if(StarsCar[0] <= vehicleid <= StarsCar[1])
        if(team[playerid] != 6)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
    if(UCCars[0] <= vehicleid <= UCCars[1])
        if(team[playerid] != 7)
            ClearAnimations(playerid),SendClientMessage(playerid,GREEN,"You're not U.C.");
    return 1;
}
But I try to enter a vehicle as a passenger and it won't allow me. How do I change that ?
Reply
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
    if(StarsCar[0] <= vehicleid <= StarsCar[1])
        if(team[playerid] != 6)
            SendClientMessage(playerid,GREEN,"You're not S.T.A.R.S.");
    if(UCCars[0] <= vehicleid <= UCCars[1])
        if(team[playerid] != 7)
            SendClientMessage(playerid,GREEN,"You're not U.C.");
    return 1;
}
Reply
#3

Hmm im getting a feeling of deja vu, You shouldn't post multiple topics about the same thing or bump your topics (within 12 hours of last post). I think someone needs to read the rules.
Reply
#4

is different, I just made this one to learn bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)