Crashes my server...
#3

Quote:
Originally Posted by McBan
Посмотреть сообщение
Код:
CMD:fac(playerid) return cmd_faction(playerid);
CMD:faction(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a faction.");
	if(sscanf(params, "string[128]", params)) return SendClientMessage(playerid, USAGE, "[Usage]: (/fac)tionchat [text]");
        format(string, sizeof(string), "** [FAC] %s %s: %s", RPFRN(playerid), RPN(playerid), params);
	SendPlayerFactionMessage(playerid, 0, COLOR_GREY, string);
	return 1;
}
Nope still crashing!
Reply


Messages In This Thread
Crashes my server... - by Alex_T - 03.08.2014, 11:15
Re: Crashes my server... - by McBan - 03.08.2014, 11:20
Re: Crashes my server... - by Alex_T - 03.08.2014, 11:25
Re: Crashes my server... - by Threshold - 03.08.2014, 11:30
Re: Crashes my server... - by Alex_T - 03.08.2014, 12:05

Forum Jump:


Users browsing this thread: 1 Guest(s)