Deo skripte:
//Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//////110 / 250 XP
daddyDOT
Balkan SA:MP Super moderator

Balkan SA:MP - since 2009
YCMD:dajpoene(playerid, params[], help)
{
#pragma unused help
if(UlogovanProvera == 0) return SCM(playerid,-1,""CRVENA"(( INFO ))"BELA" :Morate se ulogovati da bi ste koristili ovu komandu!");
if(PlayerInfo < 1) return SCM(playerid,-1,""SPLAVA""BELA"["CRVENA"BB"BELA"] "SIVA""SIVA"Samo Vlasnik!");
new target, poen;
if(AdminDuty == 0) return SCM(playerid,-1,""CRVENA"(( INFO ))"BELA" : "SIVA"Morate biti na admin duznosti!");
if(sscanf(params, "ud", target, poen)) return SendClientMessage(playerid,-1, ""BELA"["CRVENA"BB"BELA"]"SIVA" /dajpoene [ID/Ime] [Broj Poena]");
if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, ""SPLAVA" "SIVA"Pogresan ID!");
if(PlayerInfo < 0) return SCM(playerid,-1,""BELA"["CRVENA"BB"BELA"]"SIVA" Igrac je u minusu sa poenima, prvo mu podesi poene na 0!");
new string; PlayerInfo += poen;
format(string, sizeof(string), ""SIVA""BELA"["CRVENA"BB"BELA"] "SIVA"%s ti je dao %d Boss Poena", GetName(playerid), poen);
SendClientMessage(target, -1, string);
format(string, sizeof(string), ""SIVA""BELA"["CRVENA"BB"BELA"] "SIVA"Dali ste %s %d Boss Poena.", GetName(target), poen);
SendClientMessage(playerid, -1, string);
format(string,sizeof(string),""SIVA""BELA"["CRVENA"BB"BELA"] "SIVA"Admin %s je dao %s (%d) Boss Poena !",GetName(playerid),GetName(target), poen);
PoeniUpdate(target);
Adminp(-1, string);
SavePlayer(target);
return 1;
}
printf("pBossPoen - %d",PlayerInfo);
PoeniUpdate(playerid)
{
new strall;
format(strall, sizeof(strall), "%d",PlayerInfo);
PlayerTextDrawSetString(playerid, BossPoeni, strall);
return 1;
}
printf("pBossPoen - %d",PlayerInfo);
110 / 250 XP
daddyDOT
Balkan SA:MP Super moderator

Balkan SA:MP - since 2009
110 / 250 XP
printf("pBossPoen - %d",PlayerInfo);
daddyDOT
Balkan SA:MP Super moderator

Balkan SA:MP - since 2009
110 / 250 XP
daddyDOT
Balkan SA:MP Super moderator

Balkan SA:MP - since 2009
110 / 250 XP
daddyDOT
Balkan SA:MP Super moderator

Balkan SA:MP - since 2009
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava