Text match (Enum & String)
#6

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
if(!strcmp(string,PlayerInfo[playerid][AText],true) && PlayerInfo[playerid][AText][0] != '\0')
and show how U add text into playerinfo
This worked, thanks man.

to your question, i can't directly add text in playerinfo, so i format a string with similar size and add it.

---

Could you explain me a bit why you added [0] != '\0' there? Will help me learn something.
Reply


Messages In This Thread
Text match (Enum & String) - by iPLEOMAX - 27.06.2011, 13:52
Re: Text match (Enum & String) - by iPLEOMAX - 28.06.2011, 18:15
Re: Text match (Enum & String) - by Shadoww5 - 28.06.2011, 18:36
Re: Text match (Enum & String) - by iPLEOMAX - 28.06.2011, 19:47
Re: Text match (Enum & String) - by Jefff - 28.06.2011, 19:53
Re: Text match (Enum & String) - by iPLEOMAX - 28.06.2011, 20:12

Forum Jump:


Users browsing this thread: 1 Guest(s)