Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: notyfikacja.
1. Niedziała notyfikacja.
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:

function noti(dataplayer)
    
triggerClientEvent(player"notka"playerdata)
end



Dodam tak?e ,?e np. w pracy Notyfikacja dzia?a ,a ju? w takim kodzie nie:


addCommandHandler
("sf", function(el,md)
if 
not getAdmin(elthen return end     local gracz el
    
if isPedInVehicle(elthen gracz getPedOccupiedVehicle(elend
    setElementPosition
(gracz, -1584.76,808.61,6.82)
    
setElementDimension(gracz,0)
    
exports["LS-Notyfikacje"]:noti("Teleportowano do: San Fierro")
end)