Making a simple teleport command?
#10

Heres the one i tested compiles fine
pawn Код:
#include <a_samp>
#include <streamer>

#define NICE_BLUE 0xa0d3ffAA
#define GREEN 0x21DD00FF
#define RED 0xE60000FF
#define ADMIN_RED 0xFB0000FF
#define YELLOW 0xFFFF00FF
#define ORANGE 0xF97804FF
#define LIGHTRED 0xFF8080FF
#define LIGHTBLUE 0x00C2ECFF
#define PURPLE 0xB360FDFF
#define PLAYER_COLOR 0xFFFFFFFF
#define BLUE 0x1229FAFF
#define LIGHTGREEN 0x38FF06FF
#define DARKPINK 0xE100E1FF
#define DARKGREEN 0x008040FF
#define ANNOUNCEMENT 0x00CACAFB
#define AFK 0x6AF7E1FF
#define COLOR_SYSTEM 0xEFEFF7AA
#define PLAYER_VIEW 0xC0C0C0FF
#define COLOR_GRAD1 0xB4B5B7FF
#define NICESKY 0x99FFFFAA
#define GRAY 0xCECECEFF
#define purple 0xC2A2DAAA

///////////////////////////////////////////////////


public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

    if (strcmp("/highway", cmdtext, true, 9) == 0)
    {
        SetPlayerPos(playerid, 1217.3299560547,1244.5386962891,7.453125);
        SendClientMessage(playerid,YELLOW,"Welcome to Las Vegas Highway !");
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Making a simple teleport command? - by Kitten_Blind - 26.11.2010, 17:17
Re: Making a simple teleport command? - by Kitten - 26.11.2010, 17:20
Re: Making a simple teleport command? - by Kitten_Blind - 26.11.2010, 17:23
Re: Making a simple teleport command? - by IstuntmanI - 26.11.2010, 17:24
Re: Making a simple teleport command? - by FreshDoubleX - 26.11.2010, 17:27
Re: Making a simple teleport command? - by Kitten_Blind - 26.11.2010, 17:28
Re: Making a simple teleport command? - by Kitten - 26.11.2010, 17:29
Re: Making a simple teleport command? - by RenisiL - 26.11.2010, 17:31
Re: Making a simple teleport command? - by Kitten_Blind - 26.11.2010, 17:36
Re: Making a simple teleport command? - by Kitten - 26.11.2010, 17:37

Forum Jump:


Users browsing this thread: 1 Guest(s)