Admigo Posted February 7, 2012 Posted February 7, 2012 Dear scripters, I have nothing changed in nametag and now i got an error with it so i cant play race anymore: Error: nametag.lau:38:bad argument #1 to ipairs (table expected ,got nil) Code: for i,player in ipairs(g_Players) do How can i fix this? Thanks Admigo
JR10 Posted February 7, 2012 Posted February 7, 2012 g_Players is not defined. for i,player in ipairs(getElementsByType("player")) do
Admigo Posted February 7, 2012 Author Posted February 7, 2012 Thats really strange,its just the default nametag file,i will try your code thanks;)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now