Jump to content
  • 0

pomoc [ HELP ] return


Noob14_

Dotaz

Zdravím,

když napíšu příkaz /recars vyvolá se, ale napíše že neexistuje prosím help díky moc.

 

 

 

CMD:recars(playerid,params[])
    {
    if(PlayerInfo[playerid][pAdminLevel] < 2) return 0;
     for(new v; v < 2000; v++)
    {
    SetVehicleToRespawn(Auto[v]);
    }
    return 1;
    }

 

 

Link to comment
Share on other sites

10 odpovědí na tuto otázku

Recommended Posts

  • 0
CMD:recars(playerid,params[])
{
if(PlayerInfo[playerid][pAdminLevel] < 2)
{
for(new v; v < 2000; v++)
{
SetVehicleToRespawn(Auto[v]);
}
}
return 1;
}

TOTO si skušal...? :)

Link to comment
Share on other sites

  • 0


CMD:recars(playerid,params[])
{
if(PlayerInfo[playerid][pAdminLevel] > 2)
{
for(new v; v < 2000; v++)
{
if(IsValidVehicle(v))
{
SetVehicleToRespawn(v);
}
}
}
return 1;
}

 

Edited by Coles
Link to comment
Share on other sites

  • 0
  • Administrátor
CMD:recars(playerid,params[])
{
if(PlayerInfo[playerid][pAdminLevel] < 2)
{
for(new v; v < 2000; v++)
{
SetVehicleToRespawn(Auto[v]);
}
}
return 1;
}

TOTO si skušal...? :)

 

Jasně změn celou podmínky ty si chuj raději nikomu nerad kdyz tomu nerozumíš

Link to comment
Share on other sites

  • 0

píše "IsValidVehicle" že nezná jaká je funkce místo toho ?


to auto tam musíš být jelikož mám v modu:

Auto[0] = CreateVehicle(574, 469.7819, -1708.1604, 127.1797, 0.0000, -1, -1, 100);
Auto[1] = CreateVehicle(574, 477.7802, -1721.2054, 127.1857, 0.0000, -1, -1, 100);
Auto[2] = CreateVehicle(574, 484.2734, -1721.5912, 127.1882, 0.0000, -1, -1, 100);
Auto[3] = CreateVehicle(574, 480.9038, -1728.3893, 127.1904, 0.0000, -1, -1, 100);

....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...