Jump to content

Question

Posted

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.

1 answer to this question

Recommended Posts

Posted

Dai /setteam 2 !

EXEMPLU :

/setteam 2 Gigel

Gigel fiind cop-u . ;)

Daca ai inteles si ti-am fost de ajutor +1 :*

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.