[Ajuda] warning 209: function "IA_GameTextForPlayer" should return a value
#3

Como faзo?

Код:
stock IA_GameTextForPlayer(playerid,string[],time,style)
{
	if(playerid != INVALID_PLAYER_ID)
	{
		for(new i = 0; i < strlen(string); ++i)
		{
		    for(new j = 0; j < sizeof(arrCharacters); ++j)
		    {
		        if(string[i] == arrCharacters[j][0])
		        {
		            string[i] = arrCharacters[j][1];
		        }
		    }
		}
	}
	GameTextForPlayer(playerid,string,time,style);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)