A Engine Bug/SAMP Bug i found and i can't Play!
#3

Quote:
Originally Posted by Abreezy
View Post
you made a mistake in your code. Most likely on your onrequestclass, or onplayerspawn
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    if(logged[playerid] == 0)
    {
        new playerfile[100], pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, sizeof(pname));
        format(playerfile, sizeof(playerfile), "Users/%s.ini",pname);
        if(dini_Exists(playerfile) && logged[playerid] == 0) ShowPlayerDialog(playerid,200,DIALOG_STYLE_INPUT,"{B8860B}Log-In","Log-In Before Spawn!\nType Your Account Password To Join The Server","Log-In","Cancel");
        if(!dini_Exists(playerfile) && logged[playerid] == 0) ShowPlayerDialog(playerid,201,DIALOG_STYLE_INPUT,"{B8860B}Register","Register Before Spawn!\nType Your Account Password To Join The Server","Register","Cancel");
        return 1;
    }
    return 1;
}
There are Problesm Here?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)