Find System GangZone or Tutorial - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Find System GangZone or Tutorial (
/showthread.php?tid=250679)
Find System GangZone or Tutorial -
Red_Devils - 24.04.2011
Find System GangZone or Tutorial!!!
Help me!
System by Lethal bad((
Re: Find System GangZone or Tutorial -
Nexotronix - 24.04.2011
what do you exactly need?
Re: Find System GangZone or Tutorial -
Red_Devils - 24.04.2011
Nexotronix ты русский знаешь, так вот, систему гангзон, тока не ту что в любом месте убиваешь и захватывается, чтобы одна системка была. Для всех банд
Re: Find System GangZone or Tutorial -
Nexotronix - 24.04.2011
Добавь в скайп меня! ник - nexotronix
Re: Find System GangZone or Tutorial -
Kwarde - 24.04.2011
What do you need exactly indeed?
When you enter a zone, you can check it and do something? Example:
pawn Код:
#include <a_samp>
#include <k_playerarea>
new grovestreet, lspdarea;
main()
{
return 1;
}
public OnGameModeInit()
{
grovestreet = CreateArea3(2524.237, 2216.207, -1614.75, -1745.026);
lspdarea = CreateArea3(1588.739, 1444.231, -1591.064, -1737.13);
return 1;
}
public OnPlayerEnterArea(playerid, areaid)
{
if(areaid == grovestreet)
SendClientMessage(playerid, 0xFFFFFFFF, "You did just enter Ganton aka Grove Street");
if(areaid == lspdarea)
SendClientMessage(playerid, 0xFFFFFFFF, "You did just enter Persing Square");
return 1;
}
public OnPlayerExitArea(playerid, areaid)
{
if(areaid == grovestreet)
SendClientMessage(playerid, 0xFFFFFFFF, "You did just exit Ganton aka Grove Street");
if(areaid == lspdarea)
SendClientMessage(playerid, 0xFFFFFFFF, "You did just exit Persing Square");
return 1;
}
If yes, this is what you need:
https://sampforum.blast.hk/showthread.php?tid=229423