09.07.2011, 18:15
Well, if you spawned you dont have the spawned[playerid] = 1;. In your register command you need to have "spawned[playerid] == 1", so if you didnt change spawned[playerid] in the callback OnPlayerSpawn, youre not alowed to use the command register.
Add under OnPlayerSpawn: spawned[playerid] = 1;, and your problem might be solved.
Edit: You just edited your post, didnt saw that.
Post the WHOLE OnPlayerSpawn, OnPlayerConnect and the register command.
Also, use the [ pawn ] [ /pawn ] tags, so we can read it proprely. (Without the spaces ofcourse)
Add under OnPlayerSpawn: spawned[playerid] = 1;, and your problem might be solved.
Edit: You just edited your post, didnt saw that.
Post the WHOLE OnPlayerSpawn, OnPlayerConnect and the register command.
Also, use the [ pawn ] [ /pawn ] tags, so we can read it proprely. (Without the spaces ofcourse)