/cnnnn Problem.
#10

Quote:
Originally Posted by bgedition
Посмотреть сообщение
Try this.
Код:
CMD:cnnnn(playerid, params[]) {
	new Text[129];
	if(!PLayerInfo[playerid][pAdmin] >= 3) return SendClientMessage(playerid, -1, "Shoma dastresie kafi baraye anjame inkar ra nadarid !");
	if(sscanf(params, "s[128]", Text)) return SendClientMessage(playerid, -1, "Dastoor: /cnnnn <text> ");
	foreach(Player, x) {
		if(IsPlayerConnected(x)) {
			SendClientMessage(x, -1, Text); //IDK I think your mistake is in 'displayCenterHUDInfo' where the last param is 5.
		}
	}
	return 1;
}
There are the links:
ZCMD by ZeeX.
SSCANF by ******.
Last parameter is about Time. (How many seconds that message should stay on players screens)
Anyway , I'm going to try this ...
Reply


Messages In This Thread
/cnnnn Problem. - by Alpay0098 - 15.06.2015, 10:14
Re: /cnnnn Problem. - by bgedition - 15.06.2015, 11:10
Re: /cnnnn Problem. - by Alpay0098 - 15.06.2015, 11:38
Re: /cnnnn Problem. - by bgedition - 15.06.2015, 11:45
Re: /cnnnn Problem. - by Ritzy2K - 15.06.2015, 11:48
Re: /cnnnn Problem. - by bgedition - 15.06.2015, 11:51
Re : /cnnnn Problem. - by Dutheil - 15.06.2015, 11:52
Re: /cnnnn Problem. - by Alpay0098 - 15.06.2015, 12:47
Re: /cnnnn Problem. - by bgedition - 15.06.2015, 16:04
Re: /cnnnn Problem. - by Alpay0098 - 15.06.2015, 16:27

Forum Jump:


Users browsing this thread: 2 Guest(s)