21.02.2018, 20:50
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; }