02.04.2014, 20:03
I saw here in the forum mt time and trying to do ...
If I'm aiming for a guy and I shift shake the guy being automatically targeted the ta /handsup
I tried to do so, but I do qnd commands nothing happens:
If I'm aiming for a guy and I shift shake the guy being automatically targeted the ta /handsup
I tried to do so, but I do qnd commands nothing happens:
pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
// render jogador
new targetplayer = GetPlayerTargetPlayer(playerid); // Store the ID
if (PRESSED(KEY_JUMP) && PRESSED(KEY_SECONDARY_ATTACK )) {
if(targetplayer != INVALID_PLAYER_ID){
//SendClientMessage(playerid, COLOR_BLACKRED, "Vocк precisa de dois jogadores da mesma organizaзгo mirando para render uma vitima!");
SendClientMessage(playerid, COLOR_BLACKRED, "<!> Jogador rendido!");
SendClientMessage(targetplayer, COLOR_BLACKRED, "Vocк foi rendido por outro jogador");
SendClientMessage(targetplayer, COLOR_BLACKRED, "Nгo reaja ao assalto/sequestro ou poderб ser punido por CK (50 horas preso) se morrer");
SetPlayerSpecialAction(targetplayer,SPECIAL_ACTION_HANDSUP);
}
}