Call Function
#4

You didn't define teamid anywhere in that callback or loop.

Try this if you want to get the teamid of killerid:
PHP код:
for(new iMAX_ZONES;i++) 
    { 
    if(
IsPlayerInRangeOfPoint(playerid5.0i) && IsPlayerInRangeOfPoint(killerid5.0i) && gTeam[killerid] != gTeam[playerid]) 
    { 
    
GangZoneShowForAll(i,GetTeamColor(gTeam[killerid])); 
    
SendClientMessage(killeridCOLOR_BLUE"You had taken this base !"); 
    
GivePlayerMoney(killerid1000); 
    return 
1
    } 
    } 
Reply


Messages In This Thread
Call Function - by nezo2001 - 18.01.2015, 09:40
Re: Call Function - by ATGOggy - 18.01.2015, 09:47
Re: Call Function - by nezo2001 - 18.01.2015, 09:51
Re: Call Function - by ATGOggy - 18.01.2015, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)