- 0
Problema Suspect Kill
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
c0sminX
Am o problema:
Atunci cand un suspect are wanted si este omorat de un PD , nu e bagat in jail..
Puteti sa ma ajutati ?..
P.s Sunt incepator nu ma luati tare
)
La Suspect kill am asta :
if(Var[WantedLevel][playerid] >= 1 && PlayerInfo[killerid][pLeader] == 1 || Var[WantedLevel][playerid] >= 1 && PlayerInfo[killerid][pMember] == 1 ) { new price = Var[WantedLevel][playerid] * 500; format(string, sizeof(string), "~w~Running Suspect~r~Killed~n~Bonus~g~$%d", price); GameTextForPlayer(killerid, string, 5000, 1); GivePlayerMoney(killerid, price); PlayerPlaySound(killerid, 1058, 0.0, 0.0, 0.0); TogglePlayerControllable(playerid, 1); Var[PlayerCuffed][playerid] = 0; Var[PlayerCuffedTime][playerid] = 0; PlayerInfo[playerid][pMats] = 0; GivePlayerMoney(playerid, - price); PlayerInfo[playerid][pWantedDeaths] += 1; PlayerInfo[playerid][pJailed] = 1; PlayerInfo[playerid][pJailTime] = (Var[WantedLevel][playerid])*(300); format(string, sizeof(string), "* You are in Jail for %d Seconds and lose $%d because of running away and getting shot by the Officer.", PlayerInfo[playerid][pJailTime], price); SCM(playerid, COLOR_LIGHTRED, string); Var[WantedLevel][playerid] = 0; }Mapping, here is Quid.
2 answers to this question
Recommended Posts