Interiors help
#5

Quote:
Originally Posted by MicroD
Посмотреть сообщение
How can i change the checkpoint to an arrow? Code:


Code:

pawn Код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <streamer>


#define COLOR_LIGHTBLUE 0x00E1FF

new Checkpoint[20];

public OnFilterScriptInit()
{
    Checkpoint[3] = CreateDynamicCP(1481.0745,-1772.3140,18.7958,2,-1,-1,-1,30);//City Hall Enter
    Checkpoint[4] = CreateDynamicCP(390.7699,173.8530,1008.3828,2,-1,3,-1,100);//City Hall Exit
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
        if(checkpointid == Checkpoint[3])
    {
       SendClientMessage(playerid, COLOR_LIGHTBLUE, "Welcome to Los Santos City Hall");
       SetPlayerInterior(playerid,3);
       SetPlayerPos(playerid,387.5708,173.8486,1008.3828);
       SetPlayerFacingAngle(playerid,89.2370);
    }
        if(checkpointid == Checkpoint[4])
    {
       SetPlayerInterior(playerid,0);
       SetPlayerPos(playerid,1481.4359,-1768.5748,18.7958);
       SetPlayerFacingAngle(playerid,2.7449);
    }
        return 1;
    }
Reply


Messages In This Thread
Interiors help - by 123bob123 - 17.08.2014, 09:05
Re: Interiors help - by gtasarules14 - 17.08.2014, 09:55
Re: Interiors help - by 123bob123 - 17.08.2014, 10:20
Re: Interiors help - by MicroD - 17.08.2014, 10:25
Re: Interiors help - by 123bob123 - 17.08.2014, 10:27
Re: Interiors help - by MicroD - 17.08.2014, 10:37
Re: Interiors help - by 123bob123 - 17.08.2014, 11:37
Re: Interiors help - by MicroD - 17.08.2014, 11:40

Forum Jump:


Users browsing this thread: 1 Guest(s)