24.06.2011, 16:49
Hi everyone i have 3 problems that i need help fixing
1- addvehiclecomponent = it works but if a car is destroyed the components are not there on respawn
2- setplayermapicon = Doesnt show up on map at all for some reason
3-just a question when someone enters a building there icon comes up in some completely random town/city is there a way to fix that?
Examples= At end of ongamemodeinit
AddVehicleComponent(adminElegy2,1147); // elegy spoiler
AddVehicleComponent(adminElegy2,1085); // elegy rims
AddVehicleComponent(adminElegy2,114; // elegy rear bumper
AddVehicleComponent(adminElegy2,1172); // elegy front bumper
AddVehicleComponent(adminElegy2,1034); // elegy pipes
AddVehicleComponent(adminElegy2,1010); // elegy nawz
AddVehicleComponent(adminElegy2,1040); // elegy skirt
AddVehicleComponent(adminElegy2,1036); // elegy skirt
return 1;
}
Icon example=
SetPlayerMapIcon(playerid, 2, 2347.7432,1561.8536,36.9063, 52, 0); // bank
SetPlayerMapIcon(playerid, 3, 1137.7289,2088.1465,11.0625, 52, 0); // atm 1
SetPlayerMapIcon(playerid, 4, 2540.4976,2266.2742,10.8203, 52, 0); // atm 2
SetPlayerMapIcon(playerid, 5, 2192.8577,1975.1671,12.2894, 52, 0); // atm 3
SetPlayerMapIcon(playerid, 6, 2231.5820,958.6937,10.8203, 52, 0); // atm 4
return 1;
}
1- addvehiclecomponent = it works but if a car is destroyed the components are not there on respawn
2- setplayermapicon = Doesnt show up on map at all for some reason
3-just a question when someone enters a building there icon comes up in some completely random town/city is there a way to fix that?
Examples= At end of ongamemodeinit
AddVehicleComponent(adminElegy2,1147); // elegy spoiler
AddVehicleComponent(adminElegy2,1085); // elegy rims
AddVehicleComponent(adminElegy2,114; // elegy rear bumper
AddVehicleComponent(adminElegy2,1172); // elegy front bumper
AddVehicleComponent(adminElegy2,1034); // elegy pipes
AddVehicleComponent(adminElegy2,1010); // elegy nawz
AddVehicleComponent(adminElegy2,1040); // elegy skirt
AddVehicleComponent(adminElegy2,1036); // elegy skirt
return 1;
}
Icon example=
SetPlayerMapIcon(playerid, 2, 2347.7432,1561.8536,36.9063, 52, 0); // bank
SetPlayerMapIcon(playerid, 3, 1137.7289,2088.1465,11.0625, 52, 0); // atm 1
SetPlayerMapIcon(playerid, 4, 2540.4976,2266.2742,10.8203, 52, 0); // atm 2
SetPlayerMapIcon(playerid, 5, 2192.8577,1975.1671,12.2894, 52, 0); // atm 3
SetPlayerMapIcon(playerid, 6, 2231.5820,958.6937,10.8203, 52, 0); // atm 4
return 1;
}