yMassai Posted March 26, 2012 Author Share 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 Link to comment
drk Posted March 26, 2012 Share Posted March 26, 2012 I've not seen this Copy code again. Link to comment
yMassai Posted March 26, 2012 Author Share Posted March 26, 2012 I tried and I cannot Link to comment
Castillo Posted March 26, 2012 Share 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. Link to comment
yMassai Posted March 26, 2012 Author Share Posted March 26, 2012 i tried to fix and do the same problem, castillo could show the error? Link to comment
Castillo Posted March 26, 2012 Share 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. Link to comment
yMassai Posted March 26, 2012 Author Share Posted March 26, 2012 I'm trying to learn from these examples. but it is not working does not help much. Link to comment
yMassai Posted March 27, 2012 Author Share Posted March 27, 2012 where I could learn my own syntax? Link to comment
Castillo Posted March 27, 2012 Share Posted March 27, 2012 Click on these functions, it'll redirect you to the MTA wiki of that function. Link to comment
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