- 0
Am o problema cu comanda /rac.
-
Similar Content
-
- 2 answers
- 635 views
-
- 1 answer
- 269 views
-
Am o problema cu un battlepass,de ce nu merge comanda /misiuni cand o scriu,tin sa precizez ca script-ul mi l-a facut chatgpt
By cbnmihaita,
- 2 answers
- 376 views
-
- 6 replies
- 467 views
-
- 4 replies
- 405 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
VenoMarius ERROR404
vreau sa fac la comanda /rac sa nu respawneze remorca de la joubul de trucker deoarece se respawneaza si ea chiar daca acel player cand face jobul este in vehicul.
vreau o verificare de genu if(PlayerInfo[playerid][pJob] == 2 && JobWorking[playerid] == 1) sa nu se respawneze trailer adica remorca.
Doar ca nu stiu cum sa fac sa nu mai respawneze remorca daca are jobul 2 adica cel de trucker.
Ajutati-ma va rog :((.
Comanda :
YCMD:rac(playerid, params[], help) {
if(PlayerInfo[playerid][pAdmin] < 3) return SCM(playerid, COLOR_WHITE, AdminOnly);
new string[180];
for(new car = 0; car < 252; car++) {
if(IsValidVehicle(car)) {
if(!VehicleHaveDriver(car)) SetVehicleToRespawn(car);
}
}
format(string, sizeof(string), "({FF0000}Admin Info{FFFFFF}) %s a respawnat toate vehiculele nefolosite.", GetName(playerid));
SendAdminMessage(COLOR_WHITE, string, 3);
return true;
}
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.