Jump to content

Cata12X

Membru
  • Posts

    27
  • Joined

  • Last visited

Everything posted by Cata12X

  1. PS. Nu toate masinile le dubleaza doar cele care le-am adaugat ultima data pe baza de date CMD:vmuta(playerid, params[]) { if(playerVariables[playerid][pAdminLevel] >= 4) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside the vehicle that you wish to move."); new string[42]; for(new x = 0; x < MAX_VEHICLES; x++) { if(vehicleVariables[x][vVehicleScriptID] == GetPlayerVehicleID(playerid)) { GetVehiclePos(x, vehicleVariables[x][vVehiclePosition][0], vehicleVariables[x][vVehiclePosition][1], vehicleVariables[x][vVehiclePosition][2]); GetVehicleZAngle(x, vehicleVariables[x][vVehicleRotation]); DestroyVehicle(vehicleVariables[x][vVehicleScriptID]); vehicleVariables[x][vVehicleScriptID] = CreateVehicle(vehicleVariables[x][vVehicleModelID], vehicleVariables[x][vVehiclePosition][0], vehicleVariables[x][vVehiclePosition][1], vehicleVariables[x][vVehiclePosition][2], vehicleVariables[x][vVehicleRotation], vehicleVariables[x][vVehicleColour][0], vehicleVariables[x][vVehicleColour][1], -1); PutPlayerInVehicle(playerid, vehicleVariables[x][vVehicleScriptID], 0); LinkVehicleToInterior(x, GetPlayerInterior(x)); SetVehicleVirtualWorld(x, 0); saveVehicle(x); Fuel[x] = 100; format(string, sizeof(string), "You have successfully moved vehicle %d.", x); SendClientMessage(playerid, COLOR_WHITE, string); return 1; } } } return 1; }
  2. Salut sunt nou pe aici si vin si eu cu o problema Daca mut o masina de pe server cu comanda /vmove dupa dau restart masina se dubleaza si nu stiu de ce , ce as putea face Multumesc
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.