Cuff animation not displayed
#5

Try this.

PHP код:
CMD:cuff(playeridparams[]){
    
    new 
otherPlayerpName2[MAX_PLAYER_NAME], pName3[MAX_PLAYER_NAME], string[128];
    
    if (
sscanf(params"u"otherPlayer))
        return 
SendClientMessage(playeridCOLOR_SYNTAX"Syntax: /cuff [playerid]");
    
    if(!
IsPlayerConnected(targetid))
        return 
SendClientMessage(playeridRED"Invalid Player ID!");
    
    
    
SetPlayerSpecialAction(otherPlayerSPECIAL_ACTION_CUFFED);
        
GameTextForPlayer(targetid"You are cuffed"30003);
    
    
GetPlayerName(playeridpName2sizeof(pName2));
    
GetPlayerName(otherPlayerpName3sizeof(pName3));
    
    
format(stringsizeof(string), "%s has cuffed %s "pName2pName3);
    
NearbyMessage(playeridLIGHTBLUEstring);
    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)