[SUGGESION] Licence plate
#3

Example: CreateLicensePlateVehicle(411, 2057.54, 1064.60, 18.3, 90, 183, 183, 60, "VEH INF"); or AddStaticLicencePlateVehicle(522, 2057.54, 1064.60, 18.3, 90, 183, 183, "VEH NRG");
pawn Код:
stock CreateLicencePlateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, licenseplate[])
{
    new vehicle;
    vehicle = CreateVehicle(modelid, x, y, z, angle, color1, color2, respawn_delay);
    SetVehicleNumberPlate(vehicle, licenceplate);
    SetVehicleToRespawn(vehicle);
}

stock AddStaticLicencePlateVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, licenceplate[])
{
    new vehicle;
    vehicle = AddStaticVehicle(modelid, spawn_x, spawn_y, spawn_z, angle, color1, color2);
    SetVehicleNumberPlate(vehicle, licenceplate);
    SetVehicleToRespawn(vehicle);
}
Reply


Messages In This Thread
[SUGGESION] Licence plate - by hpeter94 - 04.12.2010, 19:44
Re: [SUGGESION] Licence plate - by Betamaster - 04.12.2010, 20:10
Re: [SUGGESION] Licence plate - by [NWA]Hannes - 04.12.2010, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)