Freezing then gmx :(
#1

This is bugged can you fix please?
pawn Code:
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);
            }
            }
This is the problem
pawn Code:
if(TEAMPRES == 1)
            {
      format(string, sizeof(string1), "~n~ ~r~Not Avalible",playerid);
      GameTextForPlayer(playerid, string1, 2000,6);
            }
when the teampres == 0 its fine but wen its 1 it freezes
Reply
#2

pawn Code:
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);
            }
            }
u called on the GameText the string string1 instead of string^^
Reply
#3

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
}
Ecko
Reply
#4

Quote:
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
}
Ecko
he want's it so if sum1 got that skin already it's not avaible anymore^^
Reply
#5

Quote:
Originally Posted by saiberfun
Quote:
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
}
Ecko
he want's it so if sum1 got that skin already it's not avaible anymore^^
Oh,didn't think about it ><
But nvm,the problem is solved. Wink

Ecko
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)