What am i doing wrong?
#1

Hey guys what i want this to do is when the person enters a vehicle it tells them the ID of the vehicle and the name of the vehicle (ye si have vehicle names at top of my script in correct order)

Help will be appreciated, Also i dont get any errors.

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            {
                new vehid;
                vehid = GetVehicleModel(GetPlayerVehicleID(playerid));
                new string[100];
                format(string, 100, "Vehicle ID : %d Vehicle Name : %s" ,vehid, VehicleNames);
                SendClientMessage(playerid, COLOR_WHITE,string);
            }
            return 1;
        }
    }
    return 0;
}
Reply


Messages In This Thread
What am i doing wrong? - by International - 05.09.2009, 13:08
Re: What am i doing wrong? - by Clavius - 05.09.2009, 13:21
Re: What am i doing wrong? - by International - 05.09.2009, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)