11.11.2009, 18:57
for some reason this wont work i updated to samp 3a and it stoped work any ideas thanks
Код:
if(text[0] == '!') { if(playerGang[playerid] > 0) { new gangChat[90]; new senderName[MAX_PLAYER_NAME]; for(new i = 1; i < strlen(text)+1; i++) gangChat[i]=text[i]; strmid(gangChat,text,1,strlen(text)); new string[128]; GetPlayerName(playerid, senderName, sizeof(senderName)); format(string, sizeof(string),"%s: %s", senderName, gangChat); for(new i = 0; i < gangInfo[playerGang[playerid]][1]; i++) { SendClientMessage(gangMembers[playerGang[playerid]][i], COLOR_LIGHTBLUE, string); } } return 1; }