07.02.2015, 12:20
I tried to make this code, but i noob at about " }, return, ; , v.v so i got a lot error. I hope someone can help me
I was check the function, it's okay, nothing happend but when i add this code, i get this
I was check the function, it's okay, nothing happend but when i add this code, i get this
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(vehicleid)
{
SendClientMessageEx(playerid,COLOR_GREY," Ban khong gan mot chiec xe nao do !");
}
else return SendClientMessageEx(playerid, COLOR_WHITE, "Ban khong phai la Mechanic!" );
return 1 ;
}