Teleport Cmd Question
#5

pawn Код:
if (strcmp(cmdtext, "/battle" , true) == 0)
{
    SendClientMessage(playerid, blue, "You were teleported to the battle field!");
    SetTimerEx("Teleport", 6000, false, "i", playerid);
    new string[52], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof string, "%s was teleported to the battlefield!", name);
    SendClientMessageToAll(ltblue, string);
    return 1;
}

forward Teleport(playerid);
public Teleport(playerid)
{
    SetPlayerPos(playerid, 1760.2731,201.5875,25.8611);
    return 1;
}

Sure this'll work.
Reply


Messages In This Thread
Teleport Cmd Question - by RCS - 13.12.2012, 21:15
Re: Teleport Cmd Question - by RCS - 13.12.2012, 21:24
Re: Teleport Cmd Question - by Riddy - 13.12.2012, 21:51
Re: Teleport Cmd Question - by RCS - 14.12.2012, 07:20
Re: Teleport Cmd Question - by Riddy - 14.12.2012, 10:28
Re: Teleport Cmd Question - by RCS - 14.12.2012, 15:13
Re: Teleport Cmd Question - by Riddy - 14.12.2012, 15:58
Re: Teleport Cmd Question - by RCS - 14.12.2012, 18:23
Re: Teleport Cmd Question - by RCS - 14.12.2012, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)