SA-MP Forums Archive
[HELP]need accept shake! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]need accept shake! (/showthread.php?tid=132393)



[HELP]need accept shake! - Nexotronix - 07.03.2010

I have /shake id command
Код:
dcmd_shake(playerid, params[])
    {
        if(!strlen(params))
        {
            SendClientMessage(playerid, COLOR_ERROR, "Использование: /shake [ID]");
        }
        else
        {
            ID = strval(params);
            if(robtime[playerid] == 0)
            {
                if(ID != playerid)
                {
                    if(IsPlayerConnected(ID))
                    {
                        new oname[MAX_PLAYER_NAME];
                        GetPlayerName(ID, oname, sizeof(oname));
                        if(GetDistanceBetweenPlayers(playerid, ID) <= DISTANCE_BETWEEN_PLAYERS)
                        {
                        ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.0,0,0,0,0,0);
                        ApplyAnimation(ID,"GANGS","hndshkfa_swt",4.0,0,0,0,0,0);
                    		}
										}
								}
						}

        }
				return 1;
}
I need /acceptshake command< please help me as you can...


Re: [HELP]need accept shake! - Fredy_Cole - 03.05.2010

i need this command too