07.02.2015, 13:51
I tried to make this code, but when i added , it got some error
At this line i want if the player have
, he will get
Can someone help me
PHP код:
CMD:datbanhlenxe(playerid, params[])
{
if(PlayerInfo[playerid][pRFLTeam] != 0)
{
SendClientMessageEx(playerid,COLOR_GREY," Ban chua nau banh pizza !");
}
else
{
new closestcar = GetClosestCar(playerid);
if(IsPlayerInRangeOfVehicle(playerid, closestcar, 10.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;
}
Код HTML:
PlayerInfo[playerid][pRFLTeam] = 1;
Код HTML:
PlayerInfo[playerid][pFallIntoFun] = 1;
PHP код:
if
{
PlayerInfo[playerid][pRFLTeam] = 1;
{
PlayerInfo[playerid][pFallIntoFun] = 1;
}
}
}
}
return 1;