/fuck if someone in Range
#1

pawn Код:
dcmd_fuck(playerid,params[])
{
    if(AccInfo[playerid][Level] >= 0)
    {
        new Index;
        new tmp[256];  tmp  = strtok(params,Index);
        new string[128];
        new fname [MAX_PLAYER_NAME];
        new PlayerName[MAX_PLAYER_NAME];

        if(!strlen(tmp)) return
        SendClientMessage(playerid, red, "Usage: /fuck [PlayerID]");
        new player1 = strval(tmp);
        GetPlayerName(player1, PlayerName, MAX_PLAYER_NAME);
        GetPlayerName(playerid, fname, sizeof(fname));
        if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
            {
            ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
            format(string,sizeof(string)," **%s (%d) Flips %s (%d) Off.",fname,playerid,PlayerName,player1);
            SendClientMessageToAll(COLOR_WHITE, string);
                return 1;
            }
                //else return SendClientMessage(playerid,red, "%s (%d) is Not Close Enough To Flip him Off",PlayerName,player1);
             //}
        else return SendClientMessage(playerid,red, "Invaild Player ID");
    }
    else return ErrorMessages(playerid, 1);
}
Someone Please fix this. i tired putting isplayerinrange but getting error.
Reply


Messages In This Thread
/fuck if someone in Range - by ThamburaaN - 22.04.2012, 02:19
Re: /fuck if someone in Range - by MP2 - 22.04.2012, 02:22
Re: /fuck if someone in Range - by ThamburaaN - 22.04.2012, 02:27
Re: /fuck if someone in Range - by MP2 - 22.04.2012, 02:32
Re: /fuck if someone in Range - by ThamburaaN - 22.04.2012, 02:36
Re: /fuck if someone in Range - by MP2 - 22.04.2012, 02:38
Re: /fuck if someone in Range - by ThamburaaN - 22.04.2012, 02:45
Re: /fuck if someone in Range - by MP2 - 22.04.2012, 02:57
Re: /fuck if someone in Range - by ThamburaaN - 22.04.2012, 03:01
Re: /fuck if someone in Range - by Sasino97 - 22.04.2012, 07:14

Forum Jump:


Users browsing this thread: 4 Guest(s)