Wl problem
#3

This is for wl+++
Код:
 
stock PostaviWanted(playerid, zlocin[], prijavio[], wl)
{
	if(IsPlayerConnected(playerid))
	{
        PlayerInfo[playerid][pTrazeniLevel] += wl;
		if(GetPlayerWantedLevel(playerid) > 1000) { PlayerInfo[playerid][pTrazeniLevel] = 1000; }
		new string[256];
		format(string, sizeof(string), ""BELA"- Pocinili ste zlocin: "CRVENA"%s "BELA"| Prijava od: "CRVENA"%s!", zlocin, prijavio);
		SCM(playerid, -1, string);
		format(string, sizeof(string), ""BELA"- Trenutni Wanted Level: "CRVENA"%d!", PlayerInfo[playerid][pTrazeniLevel]);
		SCM(playerid, -1, string);
		format(string, sizeof(string), ""BELA"- Imamo novi prijavljen zlocin od: "CRVENA"%s!", prijavio);
		CFBIPD(-1, string);
		format(string, sizeof(string), ""BELA"- Pocinio: "CRVENA"%s | Zlocin: "CRVENA"%s | Wanted Level Pocinioca: "CRVENA"%d!", GetName(playerid),zlocin,PlayerInfo[playerid][pTrazeniLevel]);
		CFBIPD(-1, string);
		strmid(ZlocinInfo[playerid][zPrijavio], prijavio, 0, strlen(prijavio), 255);
		strmid(ZlocinInfo[playerid][zPocinio], GetName(playerid), 0, strlen(GetName(playerid)), 255);
		strmid(ZlocinInfo[playerid][zZlocin], zlocin, 0, strlen(zlocin), 255);
	}
	return 1;
}
Reply


Messages In This Thread
Wl problem - by defaultsrb - 21.02.2018, 19:05
Re: Wl problem - by David (Sabljak) - 21.02.2018, 20:44
Re: Wl problem - by defaultsrb - 21.02.2018, 20:50
Re: Wl problem - by defaultsrb - 21.02.2018, 20:58
Re: Wl problem - by David (Sabljak) - 22.02.2018, 16:09
Re: Wl problem - by defaultsrb - 22.02.2018, 17:41
Re: Wl problem - by David (Sabljak) - 22.02.2018, 18:42

Forum Jump:


Users browsing this thread: 1 Guest(s)