DIJALOZI

Započeo Milan_Jeftic, Jul 01, 2010, 19:21:20 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Moj problem je sledeci:naso sam na ovom forumu kako da napravim one dijaloge sta sak reno da i ucinim...sve sam uradio prema uputama i na kraju 26 erora  :-[ :-[ :-[ :'( :'( :'( neznam stacu sve sam uradio kako je pisalo u tutorijalu...evo i erora
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(2167) : warning 217: loose indentation
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(8139) : warning 217: loose indentation
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(8150) : warning 217: loose indentation
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(8164) : warning 217: loose indentation
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(8167) : warning 217: loose indentation
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26272) : warning 217: loose indentation
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26307) : warning 217: loose indentation
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26344) : warning 209: function "OnDialogResponse" should return a value
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26345) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26347) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26349) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26351) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26357) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26363) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26368) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26371) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26373) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26375) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26377) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26383) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26389) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26395) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26401) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26407) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26413) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26419) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26425) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26431) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26437) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26443) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26449) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26455) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26461) : error 010: invalid function or declaration
C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26467) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.


molim vas sto pre da mi odgovorite to mi puno znaci...ima m gf mod
Uskoro otvaranje servera.Svi ljudi sa Balkan Samp foruma su pozvani

_________________________________________________________
Molim vas da mi potvrdite link ispod jer on mi je od jedne online igre koju igram i trebaju mi da kazem goldi a vi mi mozete pomoci.Nemorate se bojati nije nikakav virus ili takvo nesto.Hvala unapred
*****http://s3.ba.gladiatus.org/game/c.php?uid=91319

Stavi ovde sta je pod ti linijama gde izbacuje erorre

cim imas 26 errora onda si sigurno pogrijesio sa nekom zagradom...
krivo si ju zatvorio...

evo gjde se sve greske pojavljuju:
1.ima neki warning na zadnjoj liniji>>>
if(dialogid == 2)
{
    if(strlen(inputtext))
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s.ini", sendername);
new File: hFile = fopen(string, io_read);
if (hFile)
{
SendClientMessage(playerid, COLOR_YELLOW, "Ime je vec preuzeto, molimo izaberite neko drugo.");
fclose(hFile);
return 1;
}
new tmppass[64];
strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
Encrypt(tmppass);
OnPlayerRegister(playerid,tmppass);
}
else
{
new regstring[128];
new regname[64];
GetPlayerName(playerid,regname,sizeof(regname));
format(regstring,sizeof(regstring),"Dobrodosli, %s\nVi nemate korisnicki Account/Racun.\nUnesite lozinku za register:",regname);
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Register",regstring,"Register","Izlaz");
}
}
}
tj.C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26344) : warning 209: function "OnDialogResponse" should return a value

2. evo erora:C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26345) : error 010: invalid function or declaration
if(dialogid == 3) // Spol
3.evo erora:C:\Documents and Settings\Milan Jeftic\Desktop\samp03asvr_R7_win32\gamemodes\dijalogg.pwn(26347) : error 010: invalid function or declaration  <<<ovaj eror je zapravo isti kao i ovi preostali erori a kod je:
26347.if(RegistrationStep[playerid] == 1)
26349.  if(response)
26351 if(listitem == 0) // Musko
26357.  if(listitem == 1) // Zensko
26363.    if(listitem == 2) // Kick

i svi erori dalje su skoro isti tj. if(listitem==


molim vas ako znate da mi pomognete...hvala
Uskoro otvaranje servera.Svi ljudi sa Balkan Samp foruma su pozvani

_________________________________________________________
Molim vas da mi potvrdite link ispod jer on mi je od jedne online igre koju igram i trebaju mi da kazem goldi a vi mi mozete pomoci.Nemorate se bojati nije nikakav virus ili takvo nesto.Hvala unapred
*****http://s3.ba.gladiatus.org/game/c.php?uid=91319

Posto smo ja i ti radili po istom tutu ev ti sve.. Meni sve radi
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
new sendername[MAX_PLAYER_NAME];
new string[128];
if(response)
{
if(dialogid == 1 || dialogid == 2)
{
    if(strlen(inputtext))
    {
new tmppass[64];
strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
Encrypt(tmppass);
OnPlayerLogin(playerid,tmppass);
}
else
{
new loginstring[128];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"POGRESNA SIFRA\nUnesena lozinka se ne poklapa sa accountom!",loginname);
ShowPlayerDialog(playerid,12347,DIALOG_STYLE_INPUT,"Login",loginstring,"Prijava","Izlaz");
gPlayerLogTries[playerid] += 1;
}
}
if(dialogid == 2)
{
    if(strlen(inputtext))
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s.ini", sendername);
new File: hFile = fopen(string, io_read);
if (hFile)
{
SendClientMessage(playerid, COLOR_YELLOW, "Ime je vec preuzeto, molimo izaberite neko drugo.");
fclose(hFile);
return 1;
}
new tmppass[64];
strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
Encrypt(tmppass);
OnPlayerRegister(playerid,tmppass);
}
else
{
new regstring[128];
new regname[64];
GetPlayerName(playerid,regname,sizeof(regname));
format(regstring,sizeof(regstring),"Dobrodosli, %s\nVi nemate korisnicki Account/Racun.\nUnesite lozinku za register:",regname);
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Register",regstring,"Register","Izlaz");
}
}
}
  if(dialogid == 3) // Spol
{
    if(RegistrationStep[playerid] == 1)
    {
    if(response)
    {
if(listitem == 0) // Musko
    {
        PlayerInfo[playerid][pSex] = 1;
        ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Koliko imate godina?", "10 \n11 \n12 \n13 \n14 \n15 \n16 \n17 \n18 \n11 \n19 \n20 \n21 \n22 \n23 \n24 \n25 \n26 \n27 \n28 \n29 \n30 \n31 \n32 \n33 \n34 \n35 \nVise od 35", "U redu", "Odustani");
        RegistrationStep[playerid] = 2;
    }
    if(listitem == 1) // Zensko
    {
        PlayerInfo[playerid][pSex] = 2;
        ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Koliko imate godina?", "10 \n11 \n12 \n13 \n14 \n15 \n16 \n17 \n18 \n11 \n19 \n20 \n21 \n22 \n23 \n24 \n25 \n26 \n27 \n28 \n29 \n30 \n31 \n32 \n33 \n34 \n35", "U redu", "Odustani");
        RegistrationStep[playerid] = 2;
    }
    if(listitem == 2) // Kick
    {
                    Kick(playerid);
    }
    }
        }
return 1;
}
if(dialogid == 4) // Dob
{
               if(RegistrationStep[playerid] == 2)
       {
                   if(response)
       {
            if(listitem == 0)
    {
        PlayerInfo[playerid][pAge] = 9;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 1)
    {
        PlayerInfo[playerid][pAge] = 10;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 2)
    {
        PlayerInfo[playerid][pAge] = 11;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 3)
    {
        PlayerInfo[playerid][pAge] = 12;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 4)
    {
        PlayerInfo[playerid][pAge] = 13;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 5)
    {
        PlayerInfo[playerid][pAge] = 14;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 6)
    {
        PlayerInfo[playerid][pAge] = 15;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
                    }
    if(listitem == 7)
    {
        PlayerInfo[playerid][pAge] = 16;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 8)
    {
        PlayerInfo[playerid][pAge] = 17;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 9)
    {
        PlayerInfo[playerid][pAge] = 18;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 10)
    {
        PlayerInfo[playerid][pAge] = 19;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 11)
    {
        PlayerInfo[playerid][pAge] = 20;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
                    if(listitem == 12)
    {
        PlayerInfo[playerid][pAge] = 21;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 13)
    {
        PlayerInfo[playerid][pAge] = 22;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 14)
    {
        PlayerInfo[playerid][pAge] = 23;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 15)
    {
        PlayerInfo[playerid][pAge] = 24;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 16)
    {
        PlayerInfo[playerid][pAge] = 25;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 17)
    {
        PlayerInfo[playerid][pAge] = 26;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 18)
    {
        PlayerInfo[playerid][pAge] = 27;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 19)
    {
        PlayerInfo[playerid][pAge] = 28;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 20)
    {
        PlayerInfo[playerid][pAge] = 29;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 21)
    {
        PlayerInfo[playerid][pAge] = 30;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 22)
    {
        PlayerInfo[playerid][pAge] = 31;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 23)
    {
        PlayerInfo[playerid][pAge] = 32;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 24)
    {
        PlayerInfo[playerid][pAge] = 33;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
    }
    if(listitem == 25)
    {
        PlayerInfo[playerid][pAge] = 34;
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Odakle ste?", "Hrvatska \nSrbija \nKosovo \nCrna Gora \nSlovenija \nBosna i Hercegovina", "U redu", "Odustani");
        RegistrationStep[playerid] = 3;
                }
                if(listitem == 26) // Kick
    {
                    Kick(playerid);
    }
}
}
return 1;
}
if(dialogid == 5) // Drzava
{
    if(RegistrationStep[playerid] == 3)
    {
    if(response)
    {
    if(listitem == 0) // HR
    {
        PlayerInfo[playerid][pOrigin] = 1;
        RegistrationStep[playerid] = 0;
        TutTime[playerid] = 1;
        return 0;
    }
    if(listitem == 1) // SRB
    {
        PlayerInfo[playerid][pOrigin] = 2;
        RegistrationStep[playerid] = 0;
        TutTime[playerid] = 1;
        return 0;
    }
    if(listitem == 2) // Kosovo
    {
        PlayerInfo[playerid][pOrigin] = 3;
        RegistrationStep[playerid] = 0;
        TutTime[playerid] = 1;
        return 0;
    }
    if(listitem == 3) // CG
    {
        PlayerInfo[playerid][pOrigin] = 4;
        RegistrationStep[playerid] = 0;
        TutTime[playerid] = 1;
        return 0;
    }
    if(listitem == 4) // Slovenija
    {
        PlayerInfo[playerid][pOrigin] = 5;
        RegistrationStep[playerid] = 0;
        TutTime[playerid] = 1;
        return 0;
    }
    if(listitem == 5) // BiH
    {
        PlayerInfo[playerid][pOrigin] = 6;
        RegistrationStep[playerid] = 0;
        TutTime[playerid] = 1;
        return 0;
    }
    if(listitem == 6) // Kick
    {
                    Kick(playerid);
    }
    }
}
}
return 1;
}

To stavljas poslje format(string, sizeof(string), "~y~> ~g~Civil ~y~<"); tamo posalje return 1; pa } ili iznad public SetupPlayerForClassSelection(playerid)