Help with this code
#1

I tried to make this code, but when i added , it got some error
PHP код:
CMD:datbanhlenxe(playeridparams[])
{
    if(
PlayerInfo[playerid][pRFLTeam] != 0)
    {
        
SendClientMessageEx(playerid,COLOR_GREY," Ban chua nau banh pizza !");
    }
    else
    {
        new 
closestcar GetClosestCar(playerid);
        if(
IsPlayerInRangeOfVehicle(playeridclosestcar10.0))
        {
            if(!
IsABike(closestcar))
            {
                
SendClientMessageEx(playerid,COLOR_GREY," Ban khong gan mot chiec xe nao do !");
            }
            if
            {
                
PlayerInfo[playerid][pRFLTeam] = 1;
                {
                
PlayerInfo[playerid][pFallIntoFun] = 1;
                }
            }
        }
    }
    return 
1;

At this line i want if the player have
Код HTML:
PlayerInfo[playerid][pRFLTeam] = 1;
, he will get
Код HTML:
PlayerInfo[playerid][pFallIntoFun] = 1;
PHP код:
    if
            {
                
PlayerInfo[playerid][pRFLTeam] = 1;
                {
                
PlayerInfo[playerid][pFallIntoFun] = 1;
                }
            }
        }
    }
    return 
1
Can someone help me
Reply


Messages In This Thread
Help with this code - by LuisPark - 07.02.2015, 13:51
Re: Help with this code - by HazardouS - 07.02.2015, 13:55
Re: Help with this code - by LuisPark - 07.02.2015, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)