Add more warnings options to scons project. Fixes a bunch of warnings produced by gcc. Fixed japp_promode not working on the first session.
More warning fixes
Fix chatbox not opening again after pressing escape. Fixes #75
Upgraded Lua to 5.2.3. Fixes #73
Added Lua function SetVelocity(x, y, z)
SetVelocity takes a table with x, y and z members instead of just taking those as arguments
Merge branch 'master' of https://github.com/Razish/japp
Added some server-side Lua functions:
Added GetScore(), returns the player's score.
Added SetArmor( number ), SetHealth(number) and SetScore(number) which each change the player's armor, health and score respectively.
Made GetScore comment more informative, added bounds for SetHealth and SetArmor. made SetHealth set both ps.stats[STAT_HEALTH] and ent->health
Added rank property for admin accounts, admins with a lower rank can not use admin commands on admins with a higher rank.
if jp_passRankConflicts is 1, equal ranked admins can use commands on each-other, otherwise they can not.
Fixed a crash in ClientDisconnect with Raz0r's help.
JPLua ClientSpawn event now passes a player reference object instead of a client number.
Added JPLua SetEntityFlag/RemoveEntityFlag to server. Lowered optimisation level to -O2
Added JPLUA_EVENT_CLIENTCONNECT to server
Remove superfluous whitespace
Optimisation when building a lua table for infostrings
Log client renames, clean up userinfo validation
Added ClientDisconnect and ClientCommand JPLua events to server
Added JPLUA_EVENT_PLAYERDEATH, passes 3 args: victim (player object), method of death (number), inflictor (player object, nil if non-player).
sorry im intern dont know what doing