piss in other player
#6

Is this somewhere close of what you mean?
pawn Код:
CMD:piss(playerid,params[])
    {

        new Float:X,Float:Y,Float:Z;
        GetPlayerPos(playerid,X,Y,Z);
        for(new i = 0; i < MAX_PLAYERS; I++)
        {
            new name[MAX_PLAYER_NAME],string[128];
            new slapper[MAX_PLAYER_NAME];
            GetPlayerName(i,name,sizeof(name));
            GetPlayerName(playerid,slapper,sizeof(slapper));
            if(IsPlayerInRangeOfPoint(i,1.5,X,Y,Z)
            {
                format(string,sizeof(string),"%s is pissing on %s.",slapper,name);
                SendClientMessageToAll(0xFF4000,string);
                // Do your animation here.
            }
        }
        return 1;

    }
EDIT: Late!
Reply


Messages In This Thread
piss in other player - by ScRipTeRi - 30.06.2013, 19:39
Re: piss in other player - by Pottus - 30.06.2013, 20:42
Re: piss in other player - by ScRipTeRi - 30.06.2013, 20:43
Re: piss in other player - by park4bmx - 30.06.2013, 20:55
Re: piss in other player - by MP2 - 30.06.2013, 21:02
Re: piss in other player - by Goldilox - 30.06.2013, 21:04
Re: piss in other player - by park4bmx - 30.06.2013, 21:05
Re: piss in other player - by Scenario - 30.06.2013, 21:28
Re: piss in other player - by ScRipTeRi - 30.06.2013, 22:31
Re: piss in other player - by park4bmx - 01.07.2013, 07:38

Forum Jump:


Users browsing this thread: 2 Guest(s)