23.02.2013, 10:10
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
}
}