Bowzin
1
Client
RegisterNetEvent('up')
AddEventHandler('up',function()
print("sucessfully passed")
end)
Server
if message:sub(2) == 'up' then
print("^6Going up!")
TriggerClientEvent('up', source)
The server print goes through by the way, however the client side print is not.
AddEventHandler('up', function()
Bowzin
3
I copied that and replaced what I have and still nothing changed
RegisterNetEvent('up')
AddEventHandler('up', function()
TriggerEvent('chatMessage', "", {204, 204, 0}, "sucessfully passed")
end)
Try send a notification or a chatmessage instead of a print
Bowzin
5
still no luck…cant figure it out
Strange, you are probably messing in something else…
Try doing -1 instead of source. This is just to see if its an issue with source
or the actual code.
1 Like
Bowzin
8
and…thats the problem! it was set to pid not source