Call Function
#1

I have this function
PHP код:
stock GetTeamColor(teamid)
{
    switch(
teamid)
    {
        case 
GANG_GROVES: return 0x83F52C80;
        case 
GANG_BALLAS: return 0xE0427F80;
        case 
GANG_VAGOS: return 0xFFCC1180;
        case 
GANG_AZTECAS: return 0x98F5FF80;
        case 
GANG_TRIADS: return 0xD0209080;
        case 
GANG_RIFAS: return 0x87CEFF80;
        case 
GANG_DA_NANG_BOYS: return 0xCD5B4580;
        case 
GANG_RUSSIAN_MAFIAS: return 0xEEDC8280;
        case 
GANG_BIKER: return 0x584E5680;
    }
    return -
1;

And i want to call it here
PHP код:
GangZoneShowForAll(i,GetTeamColor(teamid)); 
But it send to me
"Undefined symbol "teamid""
Please Help !
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)