Help please
#1

Im trying to script a License plate system with 3D text labels hwo would i make each one different and changeable?
please explain alot ima noob heres what i got so far

Quote:

new Text3D:vTexts[MAX_VEHICLES];//all my OnGameModeInt stuff
for(new vehid;vehid<MAX_VEHICLES;vehid++)
{
if(GetVehicleModel(vehid))
{
vTexts[vehid]=Create3DTextLabel("MW-DM", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 0);
Attach3DTextLabelToVehicle(vTexts[vehid],vehid,0.0,0.0,2.0);
}
}
return 1;
}
// after all that stuff

all help is appreciated thanks
Reply
#2

someone? anyone? please help!
Reply
#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
#4

Yes, I dont want the 0.3c plates im wanting 3D lables on them
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)