SA-MP Forums Archive
How to expand teleports? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to expand teleports? (/showthread.php?tid=308197)



How to expand teleports? - Artie_Scorpion - 02.01.2012

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(PRESSED(16))
    {
    if(IsPlayerInRangeOfPoint(playerid,5,2595.5564,2790.8088,10.8203))
    {
        if(GetPlayerSkin(playerid) == 27)
        {
            SetPlayerPos(playerid,-959.5364,1955.3010,9.0000);
            SetPlayerInterior(playerid,17);
        }
        else SendClientMessage(playerid,0xFF000000,"My text");
    }
    if(IsPlayerInRangeOfPoint(playerid,5,-959.5364,1955.3010,9.0000))
    {
        if(GetPlayerSkin(playerid) == 27)
        {
            SetPlayerPos(playerid,2595.5564,2790.8088,10.8203);
            SetPlayerInterior(playerid,0);
        }
        else SendClientMessage(playerid,0xFF000000,"My text");
    }
}
	return 1;
}
How to make more teleports? I want to know or possible to make this teles without interior?


Re: How to expand teleports? - Artie_Scorpion - 02.01.2012

help me!!!