Using zones at death..
#3

I will give you basic info how to get it.
  • Download Gang Zone Creator : https://sampforum.blast.hk/showthread.php?tid=372
    Using this get area code for all the 3 cities
  • Download Streamer : https://sampforum.blast.hk/showthread.php?tid=102865
    Using this
    pawn Код:
    new area[3];
    //area[0] == LS
    //and so on.
    public OnGameModeInit()
    {
        area[0] = CreateDynamicRectangle((Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1);
    //Similarly for area[1] and area[2]
    }

    public OnPlayerDeath(...)
    {
        if(IsPlayerInDynamicArea(playerid, area[0])
        {
            //spawn player at hospital of LS
        }
    }
Reply


Messages In This Thread
Using zones at death.. - by Phil_Cutcliffe - 23.02.2013, 09:56
Re : Using zones at death.. - by yusei - 23.02.2013, 10:00
Re: Using zones at death.. - by [MM]RoXoR[FS] - 23.02.2013, 10:10
Re: Using zones at death.. - by Phil_Cutcliffe - 23.02.2013, 10:45

Forum Jump:


Users browsing this thread: 2 Guest(s)