DeYn. Posted February 8, 2017 Posted February 8, 2017 Comanda CMD:testtw( playerid, params[ ] ) { if( PlayerInfo[ playerid ][ pAdmin ] < 1 ) return SendClientMessage( playerid, -1, AdminOnly ); new id; if( sscanf( params, "u", id ) ) return SendClientMessage( playerid, -1, "Use: /testtw [ playerid/playername ]" ); SetPVarInt( id, "AdminTWIDIOT", playerid ); new string[ 512 ]; format( string, sizeof( string ), "Salut, adminul %s doreste sa-ti faca un test TeamViewer\n In cazul in care acepti vei fi teleportat la administrator\n In cazul in care refuzi vei primi ban automat 7 zile.", GetName( playerid ) ); ShowPlayerDialog( id, DIALOG_TW, DIALOG_STYLE_MSGBOX, "Test TeamViewer", string, "Accepta", "Refuza" ); return 1; } Dialog unde modificati voi cat timp sa ia ban,la mine se da kick,in beta if( dialogid == DIALOG_TW ) { if( !response ) { //ban this idiot!! new year,month,day; getdate(year, month, day); day += 7; if (IsMonth31(month)) { if (day > 31) { month += 1; if (month > 12) { year += 1; while(day > 31) day -= 31; } else while(day > 31) day -= 31; } } else if (!IsMonth31(month)) { if (day > 30) { month += 1; if (month > 12) { year += 1; while(day > 30) day -= 30; } else while(day > 30) day -= 30; } } else if (!IsMonth31(month) && IsMonth29(year) && month == 2) { if (day > 29) { month += 1; if (month > 12) { year += 1; while(day > 29) day -= 29; } else while(day > 29) day -= 29; } } else if (!IsMonth31(month) && !IsMonth29(year) && month == 2) { if (day > 28) { month += 1; if (month > 12) { year += 1; while(day > 28) day -= 28; } else while(day > 28) day -= 28; } } PlayerInfo[playerid][pBTemp] = 1; PlayerInfo[playerid][pBYear] = year; PlayerInfo[playerid][pBMonth] = month; PlayerInfo[playerid][pBDay] = day; format( PlayerInfo[playerid][pBBy], 255, "AdminBot" ); format( PlayerInfo[playerid][pBReason], 255, "Refuz test TW" ); Update(playerid,pBTempx); Update(playerid,pBYearx); Update(playerid,pBMonthx); Update(playerid,pBDayx); Update(playerid,pBByx); Update(playerid,pBReasonx); format(string, sizeof(string), "AdmCmd: %s a primit kick deoarece a refuzat testul TW.", GetName( playerid ) ); SendClientMessageToAll(COLOR_LIGHTRED, string); KickEx( playerid ); } else { new idadmin = GetPVarInt( playerid, "AdminTWIDIOT" ); new Float:POS[ 3 ]; GetPlayerPos( idadmin, POS[ 0 ], POS[ 1 ], POS[ 2 ] ); SetPlayerPos( playerid, POS[ 0 ], POS[ 1 ], POS[ 2 ] ); SCM( playerid, -1, "{FF0000}Info: {FFFFFF}Ai acceptat testul TW si ai fost teleportat cu succes!" ); } return 1; } Quote
M1hai Posted February 8, 2017 Posted February 8, 2017 Frumos ce ai facut, dar cine ar fi prost sa refuze :)) Quote
DeYn. Posted February 8, 2017 Author Posted February 8, 2017 Frumos ce ai facut, dar cine ar fi prost sa refuze :)) Poti scoate functia de a refuza si ii dai o singura varianta :)) Quote
skyzifun Posted February 8, 2017 Posted February 8, 2017 1. nu e facut de tine 2. pentru refuz tw se da ban, de ce zici ca la tine se da kick ca e in beta? =)))) e din gm ala s4urik parca, ai dat doar copy paste. Quote
DeYn. Posted February 8, 2017 Author Posted February 8, 2017 1. nu e facut de tine 2. pentru refuz tw se da ban, de ce zici ca la tine se da kick ca e in beta? =)))) e din gm ala s4urik parca, ai dat doar copy paste. Dovada ca nu o gasesti in gm s4urik - > http://imgur.com/a/41wfi 2.Pe server-ul unde testez gm-ul , e setata sa de-a kick ;) Quote
skyzifun Posted February 8, 2017 Posted February 8, 2017 e testtw comanda fireal dq de copil nu cmd:tw =))))))))))))) Quote
MosEdi Posted February 8, 2017 Posted February 8, 2017 e in gamemode s4urik, iti arat si eu dovada daca vreei!!! 1 Quote
DeYn. Posted February 8, 2017 Author Posted February 8, 2017 e in gamemode s4urik, iti arat si eu dovada daca vreei!!! Acum am vz,dar n-am folosit niciodata gm-ul ala , eu gasisem comanda in alta parte si i-am dat putin edit Quote
Roby Posted February 9, 2017 Posted February 9, 2017 1. nu e facut de tine 2. pentru refuz tw se da ban, de ce zici ca la tine se da kick ca e in beta? =)))) e din gm ala s4urik parca, ai dat doar copy paste. Quote
Ionu Nica Posted February 9, 2017 Posted February 9, 2017 1. nu e facut de tine 2. pentru refuz tw se da ban, de ce zici ca la tine se da kick ca e in beta? =)))) e din gm ala s4urik parca, ai dat doar copy paste. Se vede ca esti prost pe romaneste,uitate la comanda e kickex ,dar mna Quote
MosEdi Posted February 9, 2017 Posted February 9, 2017 Se vede ca esti prost pe romaneste,uitate la comanda e kickex ,dar mna tu esti prost sau te faci? zice acolo ca: In cazul in care refuzi vei primi ban automat 7 zile si el zice dupa ca se da kick, ca e in beta ;) dar ce sa stii Quote
Ionu Nica Posted February 9, 2017 Posted February 9, 2017 tu esti prost sau te faci? zice acolo ca: In cazul in care refuzi vei primi ban automat 7 zile si el zice dupa ca se da kick, ca e in beta ;) dar ce sa stii Am testat comada,si iti da kick,cand spun ca vorbesc numai cu prosti,simtiti-va Quote
skyzifun Posted February 9, 2017 Posted February 9, 2017 (edited) Am testat comada,si iti da kick,cand spun ca vorbesc numai cu prosti,simtiti-va Se vede ca esti prost pe romaneste,uitate la comanda e kickex ,dar mna bai terminatule pe tine cine mortii mati te-a adus pe aici? ti-ai gasit la cine sa comentezi fireal dq, hai cius 3 pasi in spate si sa nu te mai prind pe aici kk? te-ai gasit tu fireal dq mare scripter =)))))))))))) Edited February 9, 2017 by the godfather Quote
Ionu Nica Posted February 9, 2017 Posted February 9, 2017 bai terminatule pe tine cine mortii mati te-a adus pe aici? ti-ai gasit la cine sa comentezi fireal dq, hai cius 3 pasi in spate si sa nu te mai prind pe aici kk? te-ai gasit tu fireal dq mare scripter =)))))))))))) Oups Quote
L0K3D. Posted February 9, 2017 Posted February 9, 2017 (edited) Se vede ca esti prost pe romaneste,uitate la comanda e kickex ,dar mna Are un sistem de ban diferit, e pe variabile iar cand se conecteaza si detecteaza variabila pBan > 0 atunci nu il lasa sa se logheze, simplu dar stai... tu nu esti in stare sa iti dai seama de acest lucru si ii faci pe altii prosti. Edited February 9, 2017 by L0K3D. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.