Anim Bug + Need help in progress bar
#2

Try this instead
pawn Код:
if(IsPlayerInDynamicCP(playerid,WangCarsRobberyCP))
{
    if(WangCarsHasBeenRobbed >= 1) return SCM(playerid,COLOR_RED,"ERROR: This location has been robbed recently. Come back later");

    ApplyAnimation(playerid, "ROB_BANK", "CAT_Safe_Rob", 4.0, 1, 0, 0, 0, 0, 5000, 1); //---This doesn't work :@---
    SetPlayerAttachedObject(playerid, 3, 1550, 1, 0.1, -0.3, 0, 0, 40, 0, 1, 1, 1);
    RobbingWangCars[playerid] =15;
    SCM(playerid,COLOR_PINK,"ROBBERY: You are now robbing Wang car's, please wait until you've finished robbing.");
    return 1;
}
and about the progressbar
pawn Код:
//----------------Robbing Wang Cars----------------------------------------
if(RobbingWangCars[i] > 1)  //When player is robbing
{
RobbingWang[i] --;
WangRobbedRecently =200;
SetProgressBarValue(barid, 15.0);
ShowProgressBarForPlayer(playerid, barid)
}
Reply


Messages In This Thread
Deleted. - by iFiras - 30.11.2013, 13:45
Re: Anim Bug + Need help in progress bar - by xVIP3Rx - 30.11.2013, 13:49
Re: Anim Bug + Need help in progress bar - by Konstantinos - 30.11.2013, 13:50
Deleted. - by iFiras - 30.11.2013, 14:38
Re: Anim Bug + Need help in progress bar - by xVIP3Rx - 30.11.2013, 14:46
Re: Anim Bug + Need help in progress bar - by Konstantinos - 30.11.2013, 16:29

Forum Jump:


Users browsing this thread: 3 Guest(s)