Showing where teleporting!
#6

Quote:
Originally Posted by Medal Of Honor team
Посмотреть сообщение
You can do something like this


pawn Код:
if(strcmp("/tele", cmd, true) == 0)
    {
        new str1[128];
        new names[MAX_PLAYER_NAME];
        new Float:AX, Float:AY, Float:AZ;
        GetPlayerName(playerid, names, sizeof(names));
        AX = 123;
        AY = 123;
        AZ = 123;
        SetPlayerPos(playerid, AX, AY, AZ);
        format(str1, sizeof(str1), "%s teleported to %f %f %f", names, Float:AX, Float:AY, Float:AZ);
        SendClientMessageToAll(ADMINFS_MESSAGE_COLOR, str1);
        return true;
    }
This code actually fails.

Don't use that code, ofcourse it will give errors.

Could you show us the code/command when you teleport?
Reply


Messages In This Thread
Showing where teleporting! - by IvancheBG - 23.03.2011, 07:43
Re: Showing where teleporting! - by IvancheBG - 23.03.2011, 07:51
Re: Showing where teleporting! - by Biesmen - 23.03.2011, 07:52
Re: Showing where teleporting! - by Medal Of Honor team - 23.03.2011, 07:53
Re: Showing where teleporting! - by IvancheBG - 23.03.2011, 07:54
Re: Showing where teleporting! - by Biesmen - 23.03.2011, 07:54
Re: Showing where teleporting! - by IvancheBG - 23.03.2011, 07:56
Re: Showing where teleporting! - by xRyder - 23.03.2011, 07:56
Re: Showing where teleporting! - by Medal Of Honor team - 23.03.2011, 07:57
Re: Showing where teleporting! - by xRyder - 23.03.2011, 08:00

Forum Jump:


Users browsing this thread: 2 Guest(s)