26.04.2016, 22:32
Код:
new vehiclelist = mS_INVALID_LISTID; new GetVehID[MAX_PLAYERS]; vehiclelist = LoadModelSelectionMenu("vehicles.txt"); if(listid == vehiclelist) { if(response) { SendClientMessage(playerid, ~1, "Veiculo criado com Sucesso!"); new Float:up[3]; GetPlayerPos(playerid, up[0], up[1], up[2]); GetVehID[playerid] = CreateVehicle(modelid, up[0]+2, up[1]+2, up[2], 0, -1, -1, 0); PutPlayerInVehicle(playerid, GetVehID[playerid], 0);