Get Vehicle Name From Model Id
#11

Quote:
Originally Posted by Tee
View Post
That's what it was. I made the function to make it easier for him. It could just be done like this:

pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    format(String,sizeof(String),"You are entering a(n) %s.",VehicleNames[GetVehicleModel(vehicleid) - 400]);
    SendClientMessage(playerid,-1,String);
    return 1;
}
I know, but it's not really easier is it. A define would have been easier, but the function is just a waste of memory.
Reply


Messages In This Thread
Get Vehicle Name From Model Id - by Rokzlive - 22.12.2011, 01:30
Re: Get Vehicle Name From Model Id - by [ABK]Antonio - 22.12.2011, 01:42
Re: Get Vehicle Name From Model Id - by Rokzlive - 22.12.2011, 01:45
Re: Get Vehicle Name From Model Id - by Tee - 22.12.2011, 01:49
Re: Get Vehicle Name From Model Id - by Calgon - 22.12.2011, 01:49
Re: Get Vehicle Name From Model Id - by Tee - 22.12.2011, 01:52
Re: Get Vehicle Name From Model Id - by Calgon - 22.12.2011, 01:54
Re: Get Vehicle Name From Model Id - by Tee - 22.12.2011, 01:56
Re: Get Vehicle Name From Model Id - by Rokzlive - 22.12.2011, 02:11
Re: Get Vehicle Name From Model Id - by Tee - 22.12.2011, 02:13
Re: Get Vehicle Name From Model Id - by Calgon - 22.12.2011, 02:22
Re: Get Vehicle Name From Model Id - by xRandomGuy - 22.12.2011, 02:35
Re: Get Vehicle Name From Model Id - by Tee - 22.12.2011, 03:10

Forum Jump:


Users browsing this thread: 1 Guest(s)