05.11.2010, 06:17
Quote:
|
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. |
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.
}


