Delete3DTextLabel
#4

pawn Код:
CMD:destroyevidence(playerid, params[])
{
    if(PlayerInfo[playerid][pJob] != 1 && PlayerInfo[playerid][pJob2] != 1
    {
    SendClientMessageEx(playerid, COLOR_GREY, "You're not a detective.");
    return 1;
    }
    else {
    foreach (Player, i) {

              if(IsPlayerInRangeOfPoint(6.0,playerid,deadx[i], deady[i], deadz[i]))
              {
              Delete3DTextLabel(Evidence[i]); // playerid is the id of the player who uses the command, you must use I to specify the dead player's I'd.
              return 1;
    }
    else {
    SendClientMessageEx(playerid, COLOR_GREY, "You're not near any dead body.");
    }
    return 1;
    }
Reply


Messages In This Thread
Delete3DTextLabel - by mirou123 - 21.08.2013, 15:31
Re: Delete3DTextLabel - by Dragonsaurus - 21.08.2013, 15:39
Re : Delete3DTextLabel - by mirou123 - 21.08.2013, 15:40
Re: Re : Delete3DTextLabel - by Dragonsaurus - 21.08.2013, 20:39
Re : Delete3DTextLabel - by mirou123 - 22.08.2013, 03:58
Re : Delete3DTextLabel - by mirou123 - 23.08.2013, 04:44
Re: Delete3DTextLabel - by Dragonsaurus - 23.08.2013, 07:55
Re : Delete3DTextLabel - by mirou123 - 23.08.2013, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)