BabykuBBK Posted January 20, 2021 Report Share Posted January 20, 2021 Salutare.Am si eu nevoie de ajutor pentru a crea comanda "/saveveh" ..am luat un Gm pentru editaré si masinile factiunilor le are salvate in baza de date.sa nu stau sa schimb coordonatele fiecărei mașini. Tks Quote Link to comment Share on other sites More sharing options...
usera6hkn9975gb Posted January 20, 2021 Report Share Posted January 20, 2021 Nu se cer scripturi aici ! Quote Cand eram mic, eram mare zdreanta Eu fut*am femei, vara miu umbla prin casa Discord: ㍿ Luca лол㍿ツ#5482 Sunt de moda veche inca mai cred in Respect! Link to comment Share on other sites More sharing options...
Hackeru Suprem Posted November 1, 2023 Report Share Posted November 1, 2023 CMD:saveveh(playerid, params[]) { if (!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid, COLOR_RED, "You are not in a vehicle."); return 1; } new Float:x, Float:y, Float:z; new vehicleid = GetPlayerVehicleID(playerid); if (GetVehiclePos(vehicleid, x, y, z)) { SendClientMessage(playerid, COLOR_GREEN, "Vehicle coordinates saved."); format(string, sizeof(string), "Vehicle ID: %d, X: %.4f, Y: %.4f, Z: %.4f", vehicleid, x, y, z); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { SendClientMessage(playerid, COLOR_RED, "Failed to retrieve vehicle coordinates."); } return 1; } Quote Link to comment Share on other sites More sharing options...
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.