Anti-Cheat problem
#1

hi i got problem i buy a car then the green money goes down and the money from stats doesent go down..
Reply
#2

Just set Player Stats Money to players Green Money, when player disconnects.

This forum requires that you wait 120 seconds between posts. Please try again in 46 seconds.
Reply
#3

REMOVED!
Reply
#4

Quote:
Originally Posted by Akcent_Voltaj
Посмотреть сообщение
hi i got problem i buy a car then the green money goes down and the money from stats doesent go down..
Find the variable where you store money and change it. GivePlayerMoney() isn't enough.
Tip to find it: CTRL+F, I am sure that the variable in it's name has 'money' or 'cash'
Reply
#5

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
Find the variable where you store money and change it. GivePlayerMoney() isn't enough.
Tip to find it: CTRL+F, I am sure that the variable in it's name has 'money' or 'cash'
what do i have to put i only have giveplayermoney..
Reply
#6

Show me your /stats command or wherever you see your stats
Reply
#7

i cant show people will steal....and i cant pm its longer then 5000...
Reply
#8

Okay, I need only one line. The line where program shows it's client the stats. It should look like this:
Код:
format(string,128,"Money:%d,blablabla,",gPlayerMoney[playerid],blablabla);
Reply
#9

PHP код:
formatstatdialogstringsizeofstatdialogstring ),"{FFFF00}\nLevel: %d Sex: %s Age: %d Origin: %s Viata: %.1f Cash: $%d Bank: $%d Ph: %d",level,atext,age,otext,healthcashaccountpnumber); strcat(coordsstring,statdialogstring);
new 
cash =  GetPlayerCash(targetid); 
Reply
#10

Just put
pawn Код:
cash=GetPlayerMoney(playerid);
before the format line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)