yMassai Posted March 26, 2012 Author Posted March 26, 2012 WARNING: test\test_s.lua:10: Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil] WARNING: test\test_s.lua:11: Bad argument @ 'addEventHandler' [Expected function at argument 3, got nil] show in console
Castillo Posted March 26, 2012 Posted March 26, 2012 I know, it's only a example. Examples are meant to help the person to understand how it works, if you do a mistake, then he'll also do it. @Kenix: "print" function is not disabled, if you use it, it'll output to the server console.
yMassai Posted March 26, 2012 Author Posted March 26, 2012 i tried to fix and do the same problem, castillo could show the error?
Castillo Posted March 26, 2012 Posted March 26, 2012 As far as I know, they're posting examples of how to use getPlayerTeam/getTeamName functions, you must learn their syntax.
yMassai Posted March 26, 2012 Author Posted March 26, 2012 I'm trying to learn from these examples. but it is not working does not help much.
Castillo Posted March 27, 2012 Posted March 27, 2012 Click on these functions, it'll redirect you to the MTA wiki of that function.
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