Need /drag command.
#5

Код:
YCMD:drag(playerid, params[], help) {
	if(help) {
		SendClientMessage(playerid, X11_WHITE, "Drags someone.");
		return 1;
	}
	if(isPlayerFrozen(playerid)) {
		SendClientMessage(playerid, X11_TOMATO_2, "You can't use this while frozen!");
		return 1;
	}

	new faction = GetPVarInt(playerid, "Faction");
	new rank = GetPVarInt(playerid, "Rank");
	if(!IsValidFaction(faction) || faction == 0) {
		SendClientMessage(playerid, X11_TOMATO_2, "You aren't in a faction!");
		return 1;
	}
Alright,This is my server faction..etc all i need now is drag things..(It's Police command)
Reply


Messages In This Thread
Need /drag command. - by UnKnownEgyptain - 13.03.2015, 22:42
Re: Need /drag command. - by awoo - 13.03.2015, 23:10
Re: Need /drag command. - by UnKnownEgyptain - 13.03.2015, 23:13
Re: Need /drag command. - by awoo - 13.03.2015, 23:17
Re: Need /drag command. - by UnKnownEgyptain - 13.03.2015, 23:25

Forum Jump:


Users browsing this thread: 3 Guest(s)