MySQL - Question
#1

pawn Код:
public OnPlayerLogin(playerid,password[])
{
    new tmp2[256];
    new string2[64];
    new playername2[MAX_PLAYER_NAME];
    new playernamesplit[3][MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    MySQLFetchAcctSingle(PlayerInfo[playerid][pSQLID], "Password", PlayerInfo[playerid][pKey]);
    if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
    {
        new Data[1024];
        new Field[64];
        new rcnt = 1;
        MySQLFetchAcctRecord(PlayerInfo[playerid][pSQLID], Data);
        samp_mysql_strtok(Field, "|", Data);
        while (samp_mysql_strtok(Field, "|", "")==1)
        {
I don't have moderntopia gamemode, PlayerInfo[playerid][pSQLID] what would need to put in place for the godfather gamemode?
Reply


Messages In This Thread
MySQL - Question - by exDDDD - 04.01.2011, 07:33
Re: MySQL - Question - by Lorenc_ - 04.01.2011, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)