Pissing on another player
#15

Quote:
Originally Posted by Cypress
Посмотреть сообщение
This looks like an old topic but my problem is not solved yet.

So when i type /piss it says 'You pisses on you', so as i see i'm pissing on my self. I need so if someone will type /piss and no one will be near it wont say nothing, it will only show me the animation.
Here's how to do a check if someone is near:

pawn Код:
new TempVar = INVALID_PLAYER_ID;
for(new i; i < MAX_PLAYERS; i++)
{
    if(IsPlayerInRange(i))
    {
          TempVar = i;
          break;
    }
}
if(TempVar == INVALID_PLAYER_ID){ return SendClientMessage(playerid, COLOR, "You pissed on %s");} // This text should be formated btw.
else
{
    // Player Found, Do the pissing.
}
Reply


Messages In This Thread
Pissing on another player - by Cypress - 22.09.2010, 20:46
Re: Pissing on another player - by Cameltoe - 22.09.2010, 20:51
Re: Pissing on another player - by Cypress - 22.09.2010, 20:56
Re: Pissing on another player - by Cameltoe - 22.09.2010, 21:04
Re: Pissing on another player - by Cypress - 23.09.2010, 10:30
Re: Pissing on another player - by Retardedwolf - 23.09.2010, 10:34
Re: Pissing on another player - by Desert - 23.09.2010, 11:41
Re: Pissing on another player - by Cameltoe - 23.09.2010, 12:58
Re: Pissing on another player - by Scenario - 23.09.2010, 13:06
Re: Pissing on another player - by Claude - 23.09.2010, 14:30
Re: Pissing on another player - by Cameltoe - 23.09.2010, 15:45
Re: Pissing on another player - by Mike_Peterson - 23.09.2010, 17:09
Re: Pissing on another player - by Cameltoe - 23.09.2010, 17:15
Re: Pissing on another player - by Cypress - 04.11.2010, 12:37
Re: Pissing on another player - by Cameltoe - 05.11.2010, 06:17

Forum Jump:


Users browsing this thread: 1 Guest(s)