- Kontakt
- Ressourcen
- Usefull functions
- Hilfe
Kontakt
Ressourcen
Car To-Go System: [Release] Car To-Go
Beta-System(MySql): https://www.mta-sa.org/index.php?page…2693&highlight=
Lobby-System(redirect): [Release] Lobby-System
Register-Login(MySql): [Release] Register/Login (Mysql)
Mini Lobby-System: [Other] [Mini] Lobby System [+ Play & Reallife] - Download
Vio_Lite/Extended AD-GUI System: [Release] Vio_Lite/Extended AD GUI System V.2.0
Vio_Lite/Extended Drogentruck: Download Drogentruck für Vio_Lite/Extended
Vio_Lite/Extended New Login/Register: Biete [[Verschenke] Vio_Lite/Extended Register Login]
Usefull functions
createVehicle-Function:
local create = {}
function create.Veh (client,id,x,y,z,rx,ry,rz,spawn)
local id = tonumber(id);
local x = tonumber(x);
local y = tonumber(y);
local z = tonumber(z);
local rx = tonumber(rx);
local ry = tonumber(ry);
local rz = tonumber(rz);
if spawn == true then
local vehicle = createVehicle(id,x,y,z,rx,ry,rz);
warpPedIntoVehicle(client,vehicle,0);
elseif spawn == false then
local vehicle = createVehicle(id,x,y,z,rx,ry,rz);
else
local vehicle = createVehicle(id,x,y,z,rx,ry,rz);
end
return vehicle;
end
Alles anzeigen
Beispiel für "create.Veh":
function vehCreate (client,cmd)
local pos = {getElementPosition(client)};
create.Veh(client,411,pos[1],pos[2],pos[3],0,0,0,true);
end
addCommandHandler("veh",vehCreate);
createPed-Function:
local create = {}function create.Ped (id,x,y,z,anim) if id and x and y and z and anim then local ped = createPed(id,x,y,z); setPedAnimation(ped,"ped",tostring(anim)); elseif id and x and y and z then local ped = createPed(id,x,y,z); else local ped = createPed(id,x,y,z); end return ped;end
Beispiel für "create.Ped":
function pedCreate ()local pos = {getElementPosition(getLocalPlayer())};create.Ped(29,pos[1],pos[2],pos[3],"WALK_civi");endaddCommandHandler("ped",pedCreate);
getUser-Function:
local get = {};function get.User ()local user = 0;for i,v in pairs(getElementsByType("player")) douser = user+1return user;end
Beispiel für "get.User":
function getUserI (client,cmd)local user = get.User();outputChatBox(user);endaddCommandHandler("user",getUserI);
Hilfe
Natürlich biete ich auch kostenlose Hilfe an.
Dazu könnt ihr mich in Skype hinzufügen.
Skype Name: (s. oben)
M.f.G
Reason