Robbing issues!!
#4

PHP код:
case MISSION_TYPE_BANK_ROBBERY_1:
        {
            if (
GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
            {
            
format(stringsizeof(string), "~w~BANK ROBBERY COMPLETE~n~~y~ROBBED $%d",PlayerInfo[playerid][pHoldupAmount]);
            
GameTextForPlayer(playerid,string50003);
             
ShowTextDrawMenu(playeridTD_MENU_INFO,"~g~Bank Robbery"60);
            
format(stringsizeof(string), "~w~You Have Successfully Reached Your ~p~Hideout~n~~w~You Cracked The Safe And Found ~g~$%d~n~~w~You Have Evaded The ~b~Police~n~~w~Your ~r~Wanted Level ~w~Has Been Lowered",PlayerInfo[playerid][pHoldupAmount]);
            
ShowTextDrawMenuItems(playerid0string" "" ",0);
            
PlayerPlaySound(playerid10580.00.00.0);
            
DisablePlayerRaceCheckpoint(playerid);
            
PlayerInfo[playerid][pRaceCheckpoint] = 0;
            
PlayerInfo[playerid][pMission] = 0;
            
PlayerInfo[playerid][pHoldup] = 0;
            if (
PlayerInfo[playerid][pHoldupAmount] > 0)
            {
            
GivePlayerMoney(playerid,PlayerInfo[playerid][pHoldupAmount]);
            
PlayerInfo[playerid][pEarnings] += PlayerInfo[playerid][pHoldupAmount];
            }
            
format(stringsizeof(string), "Attention All Units!  %s Has Been Robbed By %s (%d).",PlayerInfo[playerid][pName],playerid,PlayerInfo[playerid][pHoldupVictim]);
            
SendClientMessageToTeam(TEAM_LAW,COLOR_DISPATCHstring);
            
format(stringsizeof(string), "~b~%s (%d) ~w~Has Robbed ~g~$%d ~w~From ~b~%s~w~.",PlayerInfo[playerid][pName],playerid,PlayerInfo[playerid][pHoldupAmount],PlayerInfo[playerid][pHoldupVictim]);
            
SendClientOnScreenTextToAll(string);
            
PlayerInfo[playerid][pHoldupAmount] = 0;
            
TextDrawHideForPlayer(playeridStatsDisplay[playerid]);
            }
        } 
Reply


Messages In This Thread
Robbing issues!! - by Crazydriver - 16.02.2014, 18:14
Re: Robbing issues!! - by Lajko1 - 16.02.2014, 19:23
Re: Robbing issues!! - by davve95 - 16.02.2014, 19:34
AW: Robbing issues!! - by Crazydriver - 16.02.2014, 19:38
AW: Robbing issues!! - by Crazydriver - 17.02.2014, 14:15
Re: Robbing issues!! - by Crazydriver - 22.02.2014, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)