Vespa97 Posted January 16, 2016 Posted January 16, 2016 (edited) Salut revin cu 2 intrebari: 1.Cum fac in functie de cati bani am in "portofel" sa am si unde este sageata...acolo unde este incadrat. 2.De ce in comanda /stats imi apare la oras si la sex acele semne? if (strcmp("/stats", cmdtext, true, 10) == 0) { new admin1=P_Data[playerid][admin]; new varsta1=P_Data[playerid][varsta]; new sex1=P_Data[playerid][sex]; new oras1=P_Data[playerid][oras]; new bani1=P_Data[playerid][bani]; new string2[200]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(string2, sizeof(string2),"Player-ul %s ,locuieste in %s , are varsta de %d ,avand sex %s si are in portofel %d$\nAdmin:%d",name,oras1,varsta1,sex1,bani1,admin1); ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "Status:", string2, "Close",""); return 1; } Edited January 16, 2016 by Vespa97 Am gresit ceva la cod
Gireada Posted January 16, 2016 Posted January 16, 2016 format(string2, sizeof(string2),"Player-ul %s ,locuieste in %s , are varsta de %d ,avand sex %d si are in portofel %d$\nAdmin:%d",name,oras1,varsta1,sex1,bani1,admin1);
Vespa97 Posted January 16, 2016 Author Posted January 16, 2016 (edited) format(string2, sizeof(string2),"Player-ul %s este nascut in Los Santos , are varsta de %d ani si are in portofel %d$\nAdmin:%d",name,varsta1,bani1,admin1); am lasat-o asa... oricum multumesc. Daca sti cum pot sa rezolv si prima intrebare... Edited January 16, 2016 by Vespa97
Gireada Posted January 17, 2016 Posted January 17, 2016 Cu ffunctia GivePlayerMoney(playerid, P_Data[playerid][bani]);
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