It could be (I’m not 100% sure) that “string” is a reserved keyword in Lua (especially in CFX) so, the script could be getting confused with the string keyword and the string variable.
Try defining the event with a different parameter name. E.g.
Yes I definetly have that, as the resource starts and can do server stuff, but as soon as client stuff gets envolved it does not work. It does not Server to Client either.
Hmm… The only times I’ve had client scripts not work is when there’s been an error in the client script but, since you’ve only got the event call I can’t see that being an issue…
Have you tried putting it into a playerSpanwed event and seeing if that works? If not, try and have a look in the client logs to see if they give a clue as to where the problem lies.