11.12.2017, 12:57
Hey wutsup buds!
I am working on gamemode LA RP with fixing Player marker but it is not working even I spent 4 hours on it but nothing works..
Code :
//------------------------------------------------------------------------------------------------------
public OnGameModeInit() // Do not add vehicles Above the next lines. - CuervO
{
ShowPlayerMarkers(2);
LoadCar();
new string2[64];
for(new h = 1; h < sizeof(CarInfo); h++)
{
format(string2, sizeof(string2), "LARP/Vehicles/%d.ini",h);
if(dini_Exists(string2))
{
ownedcar[h] = AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
if(CarInfo[h][cPaintjob] != 999)
{
ChangeVehiclePaintjob(h, CarInfo[h][cPaintjob]);
}
SetVehicleVirtualWorld(h, CarInfo[h][cVirWorld]);
SetVehicleModifications(h);
}
}
//--------------------------------------------------------------------------------------------------------------------
Any help will be appreciated as you can see I added ShowPlayerMarker(2) and even I were tried ShowPlayerMarker(1) but nothing works ..
I am working on gamemode LA RP with fixing Player marker but it is not working even I spent 4 hours on it but nothing works..
Code :
//------------------------------------------------------------------------------------------------------
public OnGameModeInit() // Do not add vehicles Above the next lines. - CuervO
{
ShowPlayerMarkers(2);
LoadCar();
new string2[64];
for(new h = 1; h < sizeof(CarInfo); h++)
{
format(string2, sizeof(string2), "LARP/Vehicles/%d.ini",h);
if(dini_Exists(string2))
{
ownedcar[h] = AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
if(CarInfo[h][cPaintjob] != 999)
{
ChangeVehiclePaintjob(h, CarInfo[h][cPaintjob]);
}
SetVehicleVirtualWorld(h, CarInfo[h][cVirWorld]);
SetVehicleModifications(h);
}
}
//--------------------------------------------------------------------------------------------------------------------
Any help will be appreciated as you can see I added ShowPlayerMarker(2) and even I were tried ShowPlayerMarker(1) but nothing works ..
