lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi all,

I would like to ask a question.... for a MMO RPG wrote by C++ and 
using LUA as a script tools..... when a player access the script like 
the following..

if (gold >= 5000)
   Dec(gold, 5000)

How do the server know which player will be decreased $5000 since in 
LUA there is no player UIN...... 

Please advice me ^^... thxthx and sorry for any inconvenience..

Teran