switch (classid) {
case 0:
{
format(string, sizeof(string), "~y~President",playerid);
GameTextForPlayer(playerid, string, 2000,6);
if(TEAMPRES == 1)
{
format(string, sizeof(string1), "~n~ ~r~Not Avalible",playerid);
GameTextForPlayer(playerid, string1, 2000,6);
}
}
if(TEAMPRES == 1)
{
format(string, sizeof(string1), "~n~ ~r~Not Avalible",playerid);
GameTextForPlayer(playerid, string1, 2000,6);
}
switch (classid) {
case 0:
{
format(string, sizeof(string), "~y~President",playerid);
GameTextForPlayer(playerid, string, 2000,6);
if(TEAMPRES == 1)
{
format(string, sizeof(string1), "~n~ ~r~Not Avalible",playerid);
GameTextForPlayer(playerid, string, 2000,6);
}
}
switch (classid) {
case 0:
{
format(string, sizeof(string), "~y~President",playerid);
GameTextForPlayer(playerid, string, 2000,6);
}
case 1:
{
format(string, sizeof(string1), "~n~ ~r~Not Avalible",playerid);
GameTextForPlayer(playerid, string, 2000,6);
}
}
return 1
}
|
Originally Posted by .::: [E
Ecko :::. ]
It's not needed "if(TEAMPRES == 1)" You just need to know the 'row' for witch teams are the 1st the 2rd the 3rd ..etc Code:
switch (classid) {
case 0:
{
format(string, sizeof(string), "~y~President",playerid);
GameTextForPlayer(playerid, string, 2000,6);
}
case 1:
{
format(string, sizeof(string1), "~n~ ~r~Not Avalible",playerid);
GameTextForPlayer(playerid, string, 2000,6);
}
}
return 1
}
|
|
Originally Posted by saiberfun
Quote:
|