#1

Why does my money at each relog i have -100$ from my money why??
Reply
#2

Without your code we can't tell. It's not default samp behaviour so it's your GM dependent.
Reply
#3

Search for something like:
pawn Код:
GivePlayerMoney(playerid, -100);
Under OnPlayerConnect then remove it.
Reply
#4

i have this pcash under onplayerconenct..

PHP код:
     PlayerInfo[playerid][pCash] = dollah;
    
GivePlayerCash(playerid,PlayerInfo[playerid][pCash]); 
Reply
#5

"dollah" variable is the cash loaded. Where is it defined? What's inside it?
Reply
#6

PHP код:
new dollah 0// Amount player recieves on spawn. 
if i have 500$ when leaving from server,if i relog and come back i have 400$ why is that??need answers..so probably i fix it..
Reply
#7

Ok, after leaving check in database/ini file value stored. If it's 400, then you loose $100 somewhere on disconnect.
Reply
#8

like where?
Reply
#9

Look your login function, and also stats saving function.
Reply
#10

Well, I can't read files on your computer so I can't tell. You must find every place where PlayerInfo[playerid][pCash] gets modified.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)