22.01.2011, 20:39
Hey guys im making my faction system today, dynamic mysql. Im a bit stuck on my createfaction cmd..:
This is all i have so far, but im not sure how do i make it add a new faction to my database, like first time i do it, it creates fsqlid 1, then next would be 2, then 3, then etc. Thanks in advance
pawn Код:
CMD:createfaction(playerid, params[]) {
new string[180];
if(UserStats[playerid][Admin] > 4) {
format(string, sizeof(string), "INSERT INTO `Factions` (Name) VALUES('%s')", inputtext);