Cuff animation not displayed
#1

What am I doing wrong ?

Код:
CMD:cuff(playerid, params[]){
	
	new targetid, pName2[MAX_PLAYER_NAME], pName3[MAX_PLAYER_NAME], string[128];
	
	if (sscanf(params, "u", targetid))
		return SendClientMessage(playerid, COLOR_SYNTAX, "Syntax: /cuff [playerid]");
	
	if(!IsPlayerConnected(targetid))
		return SendClientMessage(playerid, RED, "Invalid Player ID!");
	
	
	SetPlayerSpecialAction(targetid,SPECIAL_ACTION_CUFFED);GameTextForPlayer(targetid, "You are cuffed", 3000, 3);
	
	GetPlayerName(playerid, pName2, sizeof(pName2));
	GetPlayerName(targetid, pName3, sizeof(pName3));
	
	format(string, sizeof(string), "%s has cuffed %s ", pName2, pName3);
	NearbyMessage(playerid, LIGHTBLUE, string);
	return 1;
}
Reply


Messages In This Thread
Cuff animation not displayed - by Zloto - 02.05.2015, 20:16
Re: Cuff animation not displayed - by AzaMx - 03.05.2015, 00:02
Re: Cuff animation not displayed - by Zloto - 03.05.2015, 00:16
Re: Cuff animation not displayed - by AzaMx - 03.05.2015, 00:28
Re: Cuff animation not displayed - by LMaxCo - 03.05.2015, 00:37
Re: Cuff animation not displayed - by MP2 - 03.05.2015, 00:52
Re: Cuff animation not displayed - by Zloto - 03.05.2015, 01:16

Forum Jump:


Users browsing this thread: 1 Guest(s)