Personalized health of the vehicles
#10

You mean do something like this?

PHP код:
enum Example_Enum
{
    
Model,
    
Float:PX,
    
Float:PY,
    
Float:PZ,
    
Float:ANGLE,
    
COLOR1,
    
COLOR2
};
new 
Example[][Example_Enum] =
{
    {
4201783.2333, -1932.496513.05180.0000, -1, -1},
    {
4381775.7085, -1916.046313.27720.0000, -1, -1},
    {
4201805.3810, -1917.465813.11950.0000, -1, -1}
}; 
PHP код:
//OnGameModeInit
for(new 0!= sizeof Example++)
{
    new 
vehicleid INVALID_VEHICLE_ID_
    vehicleid 
CreateVehicle(Example[i][Model], Example[i][PX], Example[i][PY], Example[i][PZ], Example[i][ANGLE], Example[i][COLOR1], Example[i][COLOR2], 200false);
    if(
vehicleid  == INVALID_VEHICLE_ID) continue;

Reply


Messages In This Thread
Personalized health of the vehicles - by Volumen - 17.01.2019, 14:44
Re: Personalized health of the vehicles - by Damian - 17.01.2019, 15:21
Re: Personalized health of the vehicles - by Volumen - 17.01.2019, 15:33
Re: Personalized health of the vehicles - by Volumen - 17.01.2019, 15:37
Re: Personalized health of the vehicles - by Damian - 17.01.2019, 15:39
Re: Personalized health of the vehicles - by Volumen - 17.01.2019, 15:45
Re: Personalized health of the vehicles - by Damian - 17.01.2019, 16:07
Re: Personalized health of the vehicles - by Volumen - 18.01.2019, 02:18
Re: Personalized health of the vehicles - by Volumen - 18.01.2019, 12:51
Re: Personalized health of the vehicles - by Volumen - 18.01.2019, 14:45
Re: Personalized health of the vehicles - by Volumen - 18.01.2019, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)