Mam taki oto b??d:
[2017-07-02 18] WARNING: [serwer]/[Skrypty]/LS-Notyfikacje/server.lua:2: Bad argument @ 'triggerClientEvent' [Expected string at argument 1, got nil]
strona serwera w LS-Notyfikacje:
addCommandHandler("sf", function(el,md)
if not getAdmin(el) then return end local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -1584.76,808.61,6.82)
setElementDimension(gracz,0)
exports["LS-Notyfikacje"]:noti("Teleportowano do: San Fierro",el)
end)
addCommandHandler("sf", function(el,md)
if not getAdmin(el) then return end local gracz = el
if isPedInVehicle(el) then gracz = getPedOccupiedVehicle(el) end
setElementPosition(gracz, -1584.76,808.61,6.82)
setElementDimension(gracz,0)
exports["LS-Notyfikacje"]:noti("Teleportowano do: San Fierro",el)
end)
<< Dzi?ki pomog?o ,ale by? jeden error. doda?em do poprawnego kodu ",el" i ?miga.
Kod podaje gdyby kto? potrzebowa?
@Close
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach