Something wrong in my login/register system
#3

Quote:
Originally Posted by div
Посмотреть сообщение
OnPlayerDisconnect,

Use this

new FloatX, FloatY, FloatZ
GetPlayerPos(playerid, pX, pY, pZ)

Then save them individually in the ENUM pX, pY, pZ

dini_intset(Accounts, "pX", pX)
dini_intset(Accounts, "pY", pY)


^ like this

and when a PLAYER CONNECTS



SetPlayerPos(playerid, pX, pY, pZ);


Just giving you example, because i don't know much about Y_INI or DINI, could've handled MySQL.
Can You show me how it looks in pawno?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)