Miroslav 0 Odesláno: 2. Říjen, 2014 Share Odesláno: 2. Říjen, 2014 Zdravim.... mam v mode tento anti cheat http://forum.sa-mp.com/showthread.php?t=335007 a ako spravim aby mi v Tabulke ukazovali $$$ lebo ked mam takto: for ( new i;i<MAX_PLAYERS_EX;i++){ SetPlayerScore(i,GetPlayerMoney(i)); } tak sa mi $$ neukazuju prečo...? Link to comment Share on other sites More sharing options...
0 Om3n 78 Odesláno: 2. Říjen, 2014 Share Odesláno: 2. Říjen, 2014 a kde to mas umisteny? to je sice hezky ze to mas v mode, ale pokud to mas treba v OnGamemodeInit tak se nedivim ze ti to nejde Link to comment Share on other sites More sharing options...
0 Miroslav 0 Odesláno: 2. Říjen, 2014 Author Share Odesláno: 2. Říjen, 2014 Mám to takto public settime(playerid){ if(IsPlayerConnected(playerid)){ new string[256],year,month,day,hours,minutes,seconds; getdate(year, month, day), gettime(hours, minutes, seconds); format(string, sizeof string, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year); TextDrawSetString(Datum, string); format(string, sizeof string, "%s%d:%s%d:%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds); TextDrawSetString(Hodiny, string); for ( new i;i<MAX_PLAYERS_EX;i++){ SetPlayerScore(i,GetPlayerMoney(i)); } if(Mute[playerid] == true){ if(ToMuteTime[playerid]<= gettime()){ Mute[playerid] = false; ToMuteTime[playerid] = 0; SendClientMessage(playerid, COLOR_GREEN, "Už môžeš znovu písať !"); } } } return 1; } Link to comment Share on other sites More sharing options...
0 Noob14_ 7 Odesláno: 2. Říjen, 2014 Share Odesláno: 2. Říjen, 2014 Kámo vím co je tam za chybu, ten AntiCheat má svůj vlastní příkaz na zjištění peněz BS_GetPlayerMoney aj SetPlayerMoney. GivePlayerMoney zkus se podívat podle mně je v tom chyba zkus public OnPlayerUpdate(playerid) } SetPlayerScore(playerid, GetPlayerMoney(playerid)); // samozřejmně GetPlayerMoney nahradíš tu funkci anticheatu. return 1; } Link to comment Share on other sites More sharing options...
0 Miroslav 0 Odesláno: 2. Říjen, 2014 Author Share Odesláno: 2. Říjen, 2014 lenže taka funklia tam nie je Link to comment Share on other sites More sharing options...
0 Noob14_ 7 Odesláno: 2. Říjen, 2014 Share Odesláno: 2. Říjen, 2014 public OnPlayerUpdate(playerid) } SetPlayerScore(playerid, GetPlayerMoney(playerid)); return 1; } tk zkus jen toto Link to comment Share on other sites More sharing options...
Dotaz
Miroslav 0
Zdravim.... mam v mode tento anti cheat http://forum.sa-mp.com/showthread.php?t=335007 a ako spravim aby mi v Tabulke ukazovali $$$
lebo ked mam takto:
tak sa mi $$ neukazuju prečo...?
Link to comment
Share on other sites
5 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now