27.05.2010, 13:01
It's the same process, make a variable, save it, load it.
Simple as that..
Converting to MySQL is simple too..
register:
Simple as that..
Converting to MySQL is simple too..
register:
Код:
query("INSERT INTO 'accounts' (faction) VALUES('first faction ID here'),connectionstring) save:so it would be like this for cmds etc:Код:format(string,sizeof(string),"UPDATE accounts SET faction = '%d' WHERE name = '%s'",Faction[playerid],GetName(playerid)); < faction id
I don't even script MySQL i know this O.oКод:if(Faction[playerid] == 1/2/3/4/5/6/7/etc) // do something..