Spoiler
i've got this:
when i enter the main menu and then the class menu i get the message before choosing a class.
and when i enter the class menu by a serveraction i don't get the msg.
also i don't get any change on the player. doesn't equip items that are returned and doesn't cahnge player's speed,maxhp,armor and etc.
another problem:
i get this error:
LUA ERROR: attempt to call a nil value
but this is ONLY then i attack.
i've got hit,attack and attack2 hooks but i haven't used any of those yet.
EDIT: it's not only on attack,attack 2 also gives this error
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
function menuu(id,tit,sel) 	if (tit == "Main Menu") then 		if (sel == 1) then 			classes_menu(id) 			if (sel == 1) then 				class[id] = 1 				my_msg2(id,"©000255000Your Class Will Be Changed After Next Spawn") 			-- more for classes and rest of script. end
and when i enter the class menu by a serveraction i don't get the msg.
also i don't get any change on the player. doesn't equip items that are returned and doesn't cahnge player's speed,maxhp,armor and etc.
another problem:
i get this error:
LUA ERROR: attempt to call a nil value
but this is ONLY then i attack.
i've got hit,attack and attack2 hooks but i haven't used any of those yet.
EDIT: it's not only on attack,attack 2 also gives this error