SA-MP Forums Archive
doesn't send out the message - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: doesn't send out the message (/showthread.php?tid=620883)



doesn't send out the message - Lukasz56 - 04.11.2016

Why it doesnt send out the message if i was invited to a faction? any ideas ?

Код:
CMD:inv(playerid, params[])
{
	if(PlayerInfo[playerid][pFacleader] > 0 || PlayerInfo[playerid][pFacrank] >= 6)
	{
		new tarid, facid;
		if(sscanf(params, "u", tarid)) return SendClientMessage(playerid, -1, "use: /inv [id]");
		facid = PlayerInfo[playerid][pFaction];
		SetPVarInt(tarid, "invitefac", facid);
		SendClientMessage(tarid, COLOR_GREEN, "You have been invited to a faaction type /join to join");
	}
	else 
	{
	    SendClientMessage(playerid, COLOR_RED, "You can't use this command.");
	}
	return 1;
}



Re: doesn't send out the message - Lukasz56 - 05.11.2016

bump , 24 hours passed