Teleport command message. [+rep]
#1

Hello everyone, i need some help from you, again!

All teleports in my server, when player teleport for example to drift1, send message to all players, that he teleport to drift1.

The code is :

pawn Код:
CMD:drift1(playerid, params[])
{
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid, 0);
    ResetPlayerWeapons(playerid);
    if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
        LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
        SetVehiclePos(GetPlayerVehicleID(playerid),-308.3555,1527.1465,75.3594);
    }
    else {
        SetPlayerPos(playerid,-350.2008,1533.3462,75.3594);
        SetPlayerFacingAngle(playerid, 208.6879);
        SetCameraBehindPlayer(playerid);
    }
    new string3[70];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string3, sizeof(string3), "{FFFF00}%s(%d) {FFFFFF}teleported to /drift1", name,playerid);
    SendClientMessageToAll(-1, string3);
    return 1;
}
So, i want to create a command, that will disable this for player who dont like to see it.

Any help please?

Thank you!
Reply


Messages In This Thread
Teleport command message. [+rep] - by ]Rafaellos[ - 12.04.2012, 05:55
Re: Teleport command message. [+rep] - by antonio112 - 12.04.2012, 06:10
Re: Teleport command message. [+rep] - by ]Rafaellos[ - 12.04.2012, 07:34
Re: Teleport command message. [+rep] - by Rachael - 12.04.2012, 07:43
Re: Teleport command message. [+rep] - by antonio112 - 12.04.2012, 07:58
Re: Teleport command message. [+rep] - by ]Rafaellos[ - 12.04.2012, 08:27
Re: Teleport command message. [+rep] - by antonio112 - 12.04.2012, 08:43
Re: Teleport command message. [+rep] - by ]Rafaellos[ - 12.04.2012, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)