sKeLeToNNNNN Posted July 30, 2015 Share Posted July 30, 2015 (edited) Salut , dc cand scriu de exemplu /stats nu imi apare comanda doar daca scriu /quitjob ? :| Sau de ex la /members unora le apare comanda altora nu .. care ar fi problema? stats: http://pastebin.com/xK4BvEuW members: http://pastebin.com/L0VyJxJw Edited July 30, 2015 by sKeLeToNNNNN Link to comment Share on other sites More sharing options...
Blaskowski Posted July 30, 2015 Share Posted July 30, 2015 @@sKeLeToNNNNN, Daca vrei server invata pawn, nu mai da mie PM-uri si de ce zic asta? Fiindca ai dabea 2 post-uri ceea ce inseamna ca iti faci cont doar pentru ajutor, lasa pawn-u daca nu stii si apuca-te de bugged. Link to comment Share on other sites More sharing options...
sKeLeToNNNNN Posted July 30, 2015 Author Share Posted July 30, 2015 (edited) Am inceput sa imi fac un gamemode adica sa editez la el , il stii foarte bine am rezolvat din buguri dar astea 2 nu stiu sa le rezolv daca stii te rog ajutama ! si joc si pe Bugged pe blue @[member=Alliance-Blaskowsk] ma ajuti te rog ? Edited July 30, 2015 by sKeLeToNNNNN Link to comment Share on other sites More sharing options...
CodeRed. Posted July 30, 2015 Share Posted July 30, 2015 Te-as fi ajutat eu dar nu meriti pentru ca nu cred ca ai incercat sa rezolvi de unul singur si te-ai facut cont doar ca sa iti rezolvam noi problema si dupa aceea te dai mare pe munca noastra. Dai T/C Arthur. Link to comment Share on other sites More sharing options...
Arthur Posted July 30, 2015 Share Posted July 30, 2015 (edited) 1.Posteaza comanda [/stats], nu functia de ShowStats 2. if(playerVariables[playerid][pGroupRank] >= 6) { Asta verifica daca jucatorul are rank mai mare sau egal cu 6, daca da, atunci poate folosi comanda. Comanda ta poate fi folosita doar de membrii cu rank mai mare sau egal cu 6, aici e problema. Edited July 30, 2015 by Arthur Link to comment Share on other sites More sharing options...
sKeLeToNNNNN Posted July 30, 2015 Author Share Posted July 30, 2015 (edited) 1. nu am comanda la stats, cand playeru scrie /stats ii se returneaza showStats , ( return showStats(playerid,playerid) ;) 2. la members e pusa conditia if(playerVariables[playerid][pGroupRank] >= 6) | Edited July 30, 2015 by sKeLeToNNNNN Link to comment Share on other sites More sharing options...
Arthur Posted July 31, 2015 Share Posted July 31, 2015 E imposibil sa nu ai comanda, comanda aia trebuie sa execute functia ShowStats, pune-o pe toata. La doi poti sa o rezolvi foarte simplu, in loc de 6 pui 1 fara sa te complici. Link to comment Share on other sites More sharing options...
sKeLeToNNNNN Posted July 31, 2015 Author Share Posted July 31, 2015 Problema 2 e rezolvata ! Ms de ajutor era de la dialog ! Problema 1 acum o sa postez Link to comment Share on other sites More sharing options...
sKeLeToNNNNN Posted July 31, 2015 Author Share Posted July 31, 2015 CMD:stats(playerid, params[]) { return showStats(playerid,playerid); } Link to comment Share on other sites More sharing options...
GF Catalin. Posted July 31, 2015 Share Posted July 31, 2015 Lasa-te ba de Pawn / Pawno. Mura-n gura nu dam. Link to comment Share on other sites More sharing options...
Arthur Posted July 31, 2015 Share Posted July 31, 2015 Aici in functia ShowStats format(szMessage, sizeof(szMessage), "%s | Respect Points: %d/%d | Level: %d | Phone number: %s | Job: %s | ",playerVariables[targetid][pNormalName],playerVariables[targetid][pRPoints], expamount, playerVariables[targetid][pLevel],param20,param1, orejucate ); Tu ai 6 specificatori (%s %d) insa trimiti spre string 7, scapa de ultima variabila, orejucate format(szMessage, sizeof(szMessage), "%s | Respect Points: %d/%d | Level: %d | Phone number: %s | Job: %s | ",playerVariables[targetid][pNormalName],playerVariables[targetid][pRPoints], expamount, playerVariables[targetid][pLevel],param20,param1); Link to comment Share on other sites More sharing options...
Recommended Posts