30.07.2013, 11:30
(
Последний раз редактировалось Darnell; 30.07.2013 в 12:10.
)
I'll edit with results.
EDIT:
I only see the first letter I write.
I'll give you everything related to the variable.
Saving:
Loading:
CMD:
EDIT:
I only see the first letter I write.
I'll give you everything related to the variable.
Saving:
pawn Код:
format(query, sizeof(query), "UPDATE `users` SET `forum` = %s WHERE `name` = '%s'",
PlayerInfo[playerid][pForum],
GetName(playerid));
mysql_function_query(dbHandle, query, false, "", "");
pawn Код:
cache_get_row(0, 97, PlayerInfo[playerid][pForum], dbHandle, 24);
pawn Код:
CMD:forumname(playerid, params[])
{
new forumname[24], fstring[126],s_forumname[24];
if(sscanf(params, "s[24]", forumname)) return SendClientMessage(playerid,COLOR_GREY,"USAGE: /forumname [name]");
format(s_forumname, 24, "%s", forumname);
format(PlayerInfo[playerid][pForum], 24, "%s", s_forumname);
format(fstring, sizeof(fstring), "You have set your forum name to: %s", s_forumname);
SCM(playerid, COLOR_YELLOW, fstring);
return 1;
}

