PlayerWantedLevel, need help.
#1

I am doing an arrest CMD for cops.

Basiclly, when a player has 1 star, he loses 1500 bucks. 2 stars, 3000 bucks, 3 stars 4500 bucks and so on and on. Is there any way, that with each start the fine rises 1500$ or I have to define every star in my gamemode? It would save me a lot of room. Awaiting reply!

Thanks,
Dan.
Reply
#2

Код:
new JAILED [MAX_PLAYERS];


if(GetPlayerWantedLevel(ID) == 4)//// change to whaterever you want
        {
            format(string5,sizeof(string5),"You has been arrested!! Time: 1:30 seconds",Name(playerid));
            SendClientMessage(ID,RED,string5);
            JAILED[ID] = 1;
            SetPlayerPos(ID,215.9045,111.1902,999.0156);
			SendMessagetoCOPS(AZUL,"SERVER COPS:._______________________________________");
			format(string5,sizeof(string5),"Victim: %s [%d] Cop: %s [%d]",Nombre(ID),ID,Nombre(playerid),playerid);

			SetTimerEx("Carcel",90000,0,"i",ID);
			SetPlayerWantedLevel(ID,0);
			GivePlayerMoney(playerid,-800);
		}
Pwn dont work for me [/pwn]
Reply
#3

Quote:
Originally Posted by axxelac
Посмотреть сообщение
Pwn dont work for me [/pwn]
its [ pawn] [/pawn]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)