Get everyone except playerid
#1

I want to get everyone except the player who using the command, how can i do this?

pawn Код:
if (newkeys & KEY_CTRL_BACK){
    if(YellowFish[playerid]){
    for(new i=0;i<MAX_PLAYERS;i++){
    GetPlayerPos(playerid,pX,pY,pZ);
    if(IsPlayerInRangeOfPoint(i,7,pX,pY,pZ)){GivePlayerHealth(i,-5);}}}
    return 1;}
Reply


Messages In This Thread
Get everyone except playerid - by Lirbo - 26.04.2015, 15:58
Re : Get everyone except playerid - by StreetRP - 26.04.2015, 16:02
Re: Re : Get everyone except playerid - by Lirbo - 26.04.2015, 16:08
Re: Get everyone except playerid - by TakeiT - 26.04.2015, 16:13
Re: Get everyone except playerid - by Evocator - 26.04.2015, 18:14
Re: Get everyone except playerid - by Konstantinos - 26.04.2015, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)