this wont work
#1

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;
	}
Reply


Messages In This Thread
this wont work - by [HKS]dlegend - 11.11.2009, 18:57
Re: this wont work - by LarzI - 11.11.2009, 20:12
Re: this wont work - by [HKS]dlegend - 11.11.2009, 20:30
Re: this wont work - by [HKS]dlegend - 11.11.2009, 22:17

Forum Jump:


Users browsing this thread: 1 Guest(s)