• attempt to call field 'Get' (a nil value) when i call weapons.Get()
    2 replies, posted
Hey, I have this code. But ingame its says that "attempt to call field 'Get' (a nil value)" But why? I testet it on Client and Server [CODE]if (weapons.Get(val)) then ply.pwep= val end [/CODE] Greetz
[QUOTE=Rytech;49800350]Hey, I have this code. But ingame its says that "attempt to call field 'Get' (a nil value)" But why? I testet it on Client and Server [CODE]if (weapons.Get(val)) then ply.pwep= val end [/CODE] Greetz[/QUOTE] Weapons is probably locally defined or redefined globally in that file. Check the lines above it to see if it does weapons = ...stuff
Yes... oh shit damn, i call a variable weapons :/ i should go sleep... Thanks dude.
Sorry, you need to Log In to post a reply to this thread.