Noob14_ 7 Odesláno: 16. Březen, 2015 Share Odesláno: 16. Březen, 2015 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 More sharing options...
0 Administrátor Ewwe 434 Odesláno: 16. Březen, 2015 Administrátor Share Odesláno: 16. Březen, 2015 vyvolá jen si toho nevšimneš... nebo nesplnujes podminku Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 16. Březen, 2015 Share Odesláno: 16. Březen, 2015 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 More sharing options...
0 Noob14_ 7 Odesláno: 16. Březen, 2015 Author Share Odesláno: 16. Březen, 2015 nic to neudělá ... Link to comment Share on other sites More sharing options...
0 Coles 11 Odesláno: 16. Březen, 2015 Share Odesláno: 16. Březen, 2015 (upraveno) CMD:recars(playerid,params[]) { if(PlayerInfo[playerid][pAdminLevel] > 2) { for(new v; v < 2000; v++) { if(IsValidVehicle(v)) { SetVehicleToRespawn(v); } } } return 1; } Edited 16. Březen, 2015 by Coles Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 16. Březen, 2015 Administrátor Share Odesláno: 16. Březen, 2015 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 More sharing options...
0 Noob14_ 7 Odesláno: 16. Březen, 2015 Author Share Odesláno: 16. Březen, 2015 Jasně změn celou podmínky ty si chuj raději nikomu nerad kdyz tomu nerozumíš xD nenadávej mu tak Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 16. Březen, 2015 Administrátor Share Odesláno: 16. Březen, 2015 Jinak tu chybu máš v tom Auto[v] dej tam jenom v a zkus to ( zkus kod z tveho prvniho pispevku 1 Link to comment Share on other sites More sharing options...
0 Noob14_ 7 Odesláno: 16. Březen, 2015 Author Share Odesláno: 16. Březen, 2015 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 More sharing options...
0 Administrátor Ewwe 434 Odesláno: 16. Březen, 2015 Administrátor Share Odesláno: 16. Březen, 2015 ale houby nemusíš udělej to tak jak to máš na začátku jen tam místo auto[v] dej jen v a uvidíš Link to comment Share on other sites More sharing options...
0 Noob14_ 7 Odesláno: 16. Březen, 2015 Author Share Odesláno: 16. Březen, 2015 Ale to respawne všechny vozidla na serveru, ale já jen potřebuji ty Auta co jsou na eventu ,,, Link to comment Share on other sites More sharing options...
Dotaz
Noob14_ 7
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
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 accountSign in
Already have an account? Sign in here.
Sign In Now