28.06.2014, 02:05
I am making it for players cant sand duplicate messages but I have an issue. could someone please help me fix this to where it woks?
Thank you
here it is:
Thank you
here it is:
Код:
if(strcmp(PlayerInfo[playerid][LastTextSaid],str,true)==0) { SendClientMessage(playerid, COLOR_RED, "YOU CANNOT SEND DUPLICATE MESSAGES"); } else { SetPlayerChatBubble(playerid,str,COLOR_WHITE,30,10000); PlayerInfo[playerid][LastTextSaid] = str; SendClientMessage(playerid, COLOR_YELLOW, PlayerInfo[playerid][LastTextSaid]); }