01.10.2017, 16:41
you need to create new like this
new Org1Cars[ORG1_CARS]; //name this as you want
under ongamemodeinit() where you have vehicles put like this
Org1Cars[0] = AddStaticVehicleEx(vehicle information)
Org1Cars[1] = AddStaticVehicleEx(cehicle information)
for(new j = 0; j < sizeof(Org1Cars); j ++)
{
if(vehicleid == Org1Cars[j] && PlayerInfo[enum info][enum of organization id] == -1)
{
ClearAnimations(playerid);
GameTextForPlayer(playerid,"~r~ YOUR ORGANIZATION NAM",1250,4);
}
}
return 1;
}
i think this shouild be it
NOTE: PUT THINGS I SAID 1 UNDER OTNHER SO U WONT GET ERRORS
new Org1Cars[ORG1_CARS]; //name this as you want
under ongamemodeinit() where you have vehicles put like this
Org1Cars[0] = AddStaticVehicleEx(vehicle information)
Org1Cars[1] = AddStaticVehicleEx(cehicle information)
for(new j = 0; j < sizeof(Org1Cars); j ++)
{
if(vehicleid == Org1Cars[j] && PlayerInfo[enum info][enum of organization id] == -1)
{
ClearAnimations(playerid);
GameTextForPlayer(playerid,"~r~ YOUR ORGANIZATION NAM",1250,4);
}
}
return 1;
}
i think this shouild be it
NOTE: PUT THINGS I SAID 1 UNDER OTNHER SO U WONT GET ERRORS