[HELP] Cars wont display GameText
#1

I am trying to make it where someone enters the car, and when they get into the car it says CIVILIAN VEHICLE as GameText, but I only want it for a certain car id (405). but it is not working for some reason. anyone?
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
    if(newstate == 2)
    {
        new vehicleid = GetVehicleModel(vehicleid);
        if(GetVehicleModel(405))
        {
            GameTextForPlayer(playerid, "Civilian Vehicle", 3000, 3);
            return 1;
        }
        TogglePlayerControllable(playerid, 0);
        SendClientMessage(playerid, COLOR_WHITE, "You can start your engine by typing: /start");
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
[HELP] Cars wont display GameText - by Emanuel_Rodriguez - 30.07.2010, 18:58
Re: [HELP] Cars wont display GameText - by legodude - 30.07.2010, 19:03
Re: [HELP] Cars wont display GameText - by Emanuel_Rodriguez - 30.07.2010, 19:06
Re: [HELP] Cars wont display GameText - by legodude - 30.07.2010, 19:09
Re: [HELP] Cars wont display GameText - by Emanuel_Rodriguez - 30.07.2010, 21:23

Forum Jump:


Users browsing this thread: 1 Guest(s)