Safe Zone
#9

I did this

PHP код:
new zone;
 
public 
OnGameModeInit()
{
        
zoneCreateDynamicRectangle(-727.7371,853.6052,635.6359,324.8097, -1, -1, -1);
        return 
1;
}
public 
OnPlayerEnterDynamicArea(playeridareaid);
{
        if(
areaid == zone)
        {
           
SetPlayerTeam(playerid,20);
        }
        return 
1;
}
 
public 
OnPlayerLeaveDynamicArea(playeridareaid);
{
        if(
areaid == zone)
        {
           
SetPlayerTeam(playerid,0);
        }
        return 
1;

I get bunch of errors tho
Reply


Messages In This Thread
Safe Zone - by rambalili2 - 19.12.2015, 15:35
Re: Safe Zone - by prineside - 19.12.2015, 15:52
Re: Safe Zone - by TwinkiDaBoss - 19.12.2015, 15:54
Re: Safe Zone - by rambalili2 - 19.12.2015, 16:02
Re: Safe Zone - by TwinkiDaBoss - 19.12.2015, 16:05
Re: Safe Zone - by rambalili2 - 19.12.2015, 16:08
Re: Safe Zone - by rambalili2 - 19.12.2015, 16:17
Re: Safe Zone - by TwinkiDaBoss - 19.12.2015, 16:24
Re: Safe Zone - by rambalili2 - 19.12.2015, 16:24
Re: Safe Zone - by vassilis - 19.12.2015, 16:33

Forum Jump:


Users browsing this thread: 4 Guest(s)