Admin Onduty Slap player if shoot!
#3

on the top
PHP код:
new bool:onDuty[MAX_PLAYERS]; 
under duty command
PHP код:
onDuty[playerid] = true
Under OnPlayerGiveDamage
PHP код:
if(onDuty[damageid] == true)
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerPos(playeridxyz);
    
SetPlayerPos(playeridxyz+10);

Reply


Messages In This Thread
Admin Onduty Slap player if shoot! - by jamesmith12 - 21.07.2015, 11:57
Re: Admin Onduty Slap player if shoot! - by thaKing - 21.07.2015, 12:05
Re: Admin Onduty Slap player if shoot! - by nezo2001 - 21.07.2015, 12:06
Re: Admin Onduty Slap player if shoot! - by Roberto80 - 21.07.2015, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)