13.12.2009, 18:16
First question is I have put modded cars in my server .The way I have done this is like this below my question is when the car blows up or re spawns it spawns back stock how to fix ....?
pimpcar8 = AddStaticVehicle(562,2119.8315,1408.7375,10.4711,1 80.9577,17,17); // pimp elegy
AddVehicleComponent(pimpcar8, 1010); // Nitro
AddVehicleComponent(pimpcar8, 1034); // Eghaust
AddVehicleComponent(pimpcar8, 1035); // roof vent
AddVehicleComponent(pimpcar8, 1036); // right side skirt
AddVehicleComponent(pimpcar8, 1040); // left side skirt
AddVehicleComponent(pimpcar8, 1171); // frontbumber
AddVehicleComponent(pimpcar8, 114; // rarebumber
AddVehicleComponent(pimpcar8, 1080); // wheels
ChangeVehiclePaintjob(pimpcar8, 2);
Second Question I have a lock and unlock command in my server as well and if a player locks the car if a player logs on after he can open it ...?
Last Question .I was wondering I have had cars in my server with text over the cars with the players names but as i got up to 30 it started to cause lag so i took them out .Now iwant to have text above my admins heads but i not quite sure how to do this i tried and gots lots of errors.
{
if(level[playerid] >= 1) {
Admin = Create3DTextLabel("Server Admin",0x008080FF,0.0,0.0,0.0,40.0,0);
Attach3DTextLabelToPlayer(Admin, playerid, 0.0, 0.0, 0.0);
return 1;
}
Dont call me a newb everyone had to learn sometime nows my time .
pimpcar8 = AddStaticVehicle(562,2119.8315,1408.7375,10.4711,1 80.9577,17,17); // pimp elegy
AddVehicleComponent(pimpcar8, 1010); // Nitro
AddVehicleComponent(pimpcar8, 1034); // Eghaust
AddVehicleComponent(pimpcar8, 1035); // roof vent
AddVehicleComponent(pimpcar8, 1036); // right side skirt
AddVehicleComponent(pimpcar8, 1040); // left side skirt
AddVehicleComponent(pimpcar8, 1171); // frontbumber
AddVehicleComponent(pimpcar8, 114; // rarebumber
AddVehicleComponent(pimpcar8, 1080); // wheels
ChangeVehiclePaintjob(pimpcar8, 2);
Second Question I have a lock and unlock command in my server as well and if a player locks the car if a player logs on after he can open it ...?
Last Question .I was wondering I have had cars in my server with text over the cars with the players names but as i got up to 30 it started to cause lag so i took them out .Now iwant to have text above my admins heads but i not quite sure how to do this i tried and gots lots of errors.
{
if(level[playerid] >= 1) {
Admin = Create3DTextLabel("Server Admin",0x008080FF,0.0,0.0,0.0,40.0,0);
Attach3DTextLabelToPlayer(Admin, playerid, 0.0, 0.0, 0.0);
return 1;
}
Dont call me a newb everyone had to learn sometime nows my time .