Help please
#3

SetVehicleNumberPlate(vehicleid,"NAME");
Try this or below to make the plate ther persons name:
Pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);
new plname[24];
GetPlayerName(playerid, plname, sizeof(plname));
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SetVehicleNumberPlate(vehicleid,plname);
return 1;
}
return 0;
}
Reply


Messages In This Thread
Help please - by darkknight123 - 15.01.2011, 03:56
Re: Help please - by darkknight123 - 15.01.2011, 05:12
Re: Help please - by ifly4life - 15.01.2011, 06:36
Re: Help please - by darkknight123 - 15.01.2011, 16:08

Forum Jump:


Users browsing this thread: 2 Guest(s)