Need little help in this code
#1

Is there anyway for me to add freezetime in this code for 10sec, when finish, it will unfreeze the player and clear player's animation ? Help me please :d
PHP код:
CMD:datbanhlenxe(playeridparams[])
{
    if(
IsPlayerInAnyVehicle(playerid)) return SendClientMessageEx(playeridCOLOR_GREY"Ban khong the lam dieu do vao luc nay.");
    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;
            
SendClientMessageEx(playerid,COLOR_YELLOW," Ban dang dua banh len xe , vui long cho");
            
ApplyAnimation(playerid"BOMBER""BOM_Plant"4.0000001);
            }
          }
        }
        return 
1;

Reply


Messages In This Thread
Need little help in this code - by LuisPark - 07.02.2015, 15:40
Re: Need little help in this code - by CalvinC - 07.02.2015, 16:09
Re: Need little help in this code - by LuisPark - 07.02.2015, 16:14
Re: Need little help in this code - by CalvinC - 07.02.2015, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)