Jump to content
  • 0

problema neinteleasa.


Reset

Question

Imi apare aceasta problema de ce?
Uitati in /stats imi apare banii pot intra oriunde bizz astea, dar cand vreau sa bag in crash zice nu am destui banii.

Ma refer la /stats si la banii aia verzi din dreapta colt, in stats apare ca am iar acolo zice ca am 00000000$

https://imgur.com/a/ZUdjifu

mai tare e bigzone

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
Acum 16 minute, RebornAdv a spus:

Imi apare aceasta problema de ce?
Uitati in /stats imi apare banii pot intra oriunde bizz astea, dar cand vreau sa bag in crash zice nu am destui banii.

Ma refer la /stats si la banii aia verzi din dreapta colt, in stats apare ca am iar acolo zice ca am 00000000$

https://imgur.com/a/ZUdjifu

Nu ii dai bani cand se logheaza poate.

 

Link to comment
Share on other sites

  • 0

La login , publicul / stockul "OnPlayerLogin" sau cum ai tu , trebuie sa faci sa ii dea banii , de ex:

Ex::GivePlayerMoney(playerid,Ex::AccInfo[playerid][pMoney]); 

Sau poti direct sa scoti functia " Ex::AccInfo[playerid][pMoney] " si sa faci cand da load din baza de date sa ii dea banii direct.

Ex:

xCash = cache_get_field_content_int(0,"Money");

 

sau cum ai tu in baza de date 

dupa la /stats folosesti

Ex::GetPlayerMoney(playerid);

PS: Am dat exemplu , nu este exact asa in GM tau :) eu am toate functiile refacute deaceea am scris Ex:: etc...  si sa nu uiti , este exemplu tot ce am dat aici , deci sa nu dai doar copy/paste ca nu o sa functioneze.

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.