Hey FacePunch community !
I get a problem with my net.SendToServer…
I’m testing a swep, so here the code :
if not LocalPlayer():canAfford(amount_floor) then net.Start("fwlt") net.WriteString("Testing") net.SendToServer() return "" end
-- Adding the netstring util.AddNetworkString("fwlt") -- When receive the net net.Receive("fwlt", print("success"))
I think my code is correct but nothing apear…
I’m sure the if is working, I’ve tested the code with only a print(“success”) in the condition and it was working
I reallllly hope someone can help me !
Thanks a lot in advance,