[AJUDA] GangZystem
#2

PHP код:
forward ChecarGZ(playerid);
public 
OnGameModeInit()
{
    
SetTimer("ChecarGZ",750,true);
    return 
1;
}
public 
ChecarGZ(playerid)
{
    new 
Float:Pos[3];
    
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
    if(
Pos[0] >= -2153.541015 && Pos[1] >= 98.249694 && Pos[0] <= -1993.541015 && Pos[1] <= 330.249694)
    {
        return 
1;
    }
    else if(
Pos[0] >= -2245.090820 && Pos[1] >= 545.718322 && Pos[0] <= -2133.090820 && Pos[1] <= 745.718322)
    {
        return 
1;
    }
    else return 
0;

Entгo vocк sу precisa adicionar as outras GZ e a funзгo correspondente ao codigo.
Reply


Messages In This Thread
[AJUDA] GangZystem - by Oddie - 21.05.2011, 01:52
Re: [AJUDA] GangZystem - by Shadoww5 - 21.05.2011, 02:28
Re: [AJUDA] GangZystem - by zbt_Daimyo - 21.05.2011, 02:30

Forum Jump:


Users browsing this thread: 2 Guest(s)