Accent System.
#1

Well, I have my account system working but for some reason my accent is being a pain in the ass.

pawn Код:
enum pInfo
{
    pName[20],
    pPass[16],
    pLevel,
    pCash,
    pAdmin,
    Float:pHealth,
    Float:pArmour,
    Float:pPosX,
    Float:pPosY,
    Float:pPosZ,
    pAccent, // Accent.
    pTut,
    pSkin,
    bool:pLogged
};
new PlayerInfo[MAX_PLAYERS][pInfo];
OnPlayerText:
pawn Код:
public OnPlayerText(playerid, text[])
{
    new str[128];
    format(str, sizeof(str), "%s says [%s accent]: %s", PlayerName(playerid), PlayerInfo[playerid][pAccent], text);
    ProxDetector(10.0, playerid, str, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
    print(str);
    return 0;
}
I have no idea what could be causing it, it is loading fine from the mysql database.
Reply


Messages In This Thread
Accent System. - by Luis- - 22.05.2011, 20:50
Re: Accent System. - by BizzyD - 22.05.2011, 21:01
Re: Accent System. - by Luis- - 22.05.2011, 21:06
Re: Accent System. - by [L3th4l] - 22.05.2011, 21:08
Re: Accent System. - by Luis- - 22.05.2011, 21:12
Re: Accent System. - by ddnbb - 22.05.2011, 21:26
Re: Accent System. - by Luis- - 22.05.2011, 21:30
Re: Accent System. - by Steven82 - 22.05.2011, 21:31
Re: Accent System. - by Luis- - 22.05.2011, 21:33
Re: Accent System. - by Steven82 - 22.05.2011, 21:35

Forum Jump:


Users browsing this thread: 3 Guest(s)