Jump to content
GIGN Forum

Kiwix

Mirstīgais
  • Posts

    2205
  • Joined

  • Last visited

Everything posted by Kiwix

  1. Ja negribas tad pakaries... Cik reizes teikt - Tev jau atbildēja uz jautājumu un ja nespēj uztvert domu, tad tā ir Tava vaina nevis kāda cita :@ Verat ciet taču šito mēslu
  2. /* AMX Mod script. * * (c) 2003, AssKicR * This file is provided as is (no warranties). * Thanx to Vud911 for the idea * * Example: /iedot "persononyourteam" "amount" and it'll deducte the amount from your cash pool and add it to the targets. * * Result Of Example * SuperNewbie: "Can someone send me some $$$ for awp???" * SuperElitePlayerWhoHasTooMuch$$$: "I'm Bill Gates!!! 4000$ coming your way!!! * SuperElitePlayerWhohasTooMuch$$$: "/transfer newbie 4000" * [AMX] SuperElitePlayerWhohasTooMuch$$$ has transferred 4000$ to SuperNewbie. Give him a thanks * SuperNewbie: "Thank You SuperElitePlayerWhohasTooMuch$$$" * * Changelog * v.1.0.0 - Released * v 1.0.1 - Added a little more restriction... Dead People can't handle money anymore * v 1.0.2 - Added Restrict for cash stealing * v 1.0.3 - Added Cvars - mt_cashsteal, mt_cashdead, mt_cashteam * v 1.0.4 - Checked Code - Found one error.. Fixed * v 1.0.5 - Removed 7 instances of "return PLUGIN_CONTINUE" that was not supposed to be there * v 1.0.6 - New Bug that i had to fix :@ * v 1.0.7 - Found the bug that *** up plugin * v 1.0.8 - Another Update... */ #include <amxmod> #include <amxmisc> #include <fun> public plugin_init() { register_plugin("Cash Transfer","1.0.8","AssKicR") register_concmd("say","handle_say",ADMIN_USER) register_concmd("say_team","handle_say",ADMIN_USER) register_cvar("mt_cashsteal","1",0) register_cvar("mt_cashdead","1",0) register_cvar("mt_cashteam","1",0) return PLUGIN_CONTINUE } public handle_say(id) { //Show me the money new said[31] new cmd[10] new target[9] new amount[7] new rest[5] read_args(said, 30) replace(said, 30, "^"", "") parse(said, cmd,9, target,8, amount,6, rest,4) new player = cmd_target(id,target,8) new name[33] new name2[33] get_user_name(id,name,32) get_user_name(player,name2,32) new team[32] new team2[32] get_user_team(id,team,32) get_user_team(player,team2,32) if (equal(cmd, "/iedot", 9)) { new money = get_user_money(id) new money2 = get_user_money(player) new cash = str_to_num(amount) new bool:NoCantDo NoCantDo=false if (!is_user_alive(id)) { if (get_cvar_num("mt_cashdead")==0) { client_print(id,print_center,"You can't give away money while dead") NoCantDo=true } } if (!is_user_alive(player)) { if (get_cvar_num("mt_cashdead")==0) { client_print(id,print_center,"You can't give money to dead people") NoCantDo=true } } if (equal(name, name2)) { client_print(id,print_center,"You can't give money to yourself") NoCantDo=true } if (!equal(team, team2)) { if (get_cvar_num("mt_cashteam")==0) { client_print(id,print_center,"You can't give money to the enemy team") NoCantDo=true } } if ((money2 + cash) > 16000) { client_print(id,print_center,"%s can't carry that much money") NoCantDo=true } if (money < cash) { client_print(id,print_center,"You don't have that much money") NoCantDo=true } if (cash < 0) { if (get_cvar_num("mt_cashsteal")==0) { client_print(id,print_center,"You can't steal %s's money",name2) NoCantDo=true } } if (!NoCantDo) { set_user_money(id, money - cash,1) set_user_money(player, money2 + cash,1) client_print(0,print_chat,"[KWX-CS] %s iedeva %i $ %s. Pasaki paldies :)",name,cash,name2) engclient_cmd(id,"say Thank you %s",name) } } return PLUGIN_CONTINUE }
  3. Tātad man ir plugins "/iedot niks summa"... Viss jau būtu ļoti labi... Bet problēma ir tā ka daži ņem naudu nost... Tāpēc es lūdzu kādu pluginu veidotāju pateikt kas jāmaina, lai varētu rakstīt tikai pozitīvos skaitļus... Jeb otra doma, ka automātiski noņemot mīnusā uzliekas gag`s uz visu mapi...
  4. Tik krāsains... Bet bik pacenties esi.. + editot jau nevarēsi
  5. Silti iesaku noņemt ikonas no desktop`a... Tad bik mazāk lagos un iegādāties jaunu, lielāku operatīvo atmiņu....
  6. Viss jau būtu labi... Tikai 1 nieka jautājums... Kāda no tā jēga??? Nevienā normālā serveri (izņēmumi protams ir) nedot pieeju amxmodmenu =)
  7. Es vienkārši iesaku tā nedarīt.!
  8. Kiwix

    Ieteikums

    Lap tad paliekam pie tā kas ir... Paldies par manu domu uzklausīšanu =) lock..
  9. Kiwix

    Ieteikums

    Tātad... Šodien pētot forumu man acīs sāka krist visādi debīli jautājumi par war3... u.c. modiem... Tāpēc mans priekšlikums: Zem sadaļas Counter-Strike & server mods/plugins izveidot subforumu dažādiem citiem modiem, lai forumu "nepiemēslotu"... Izsakat viedokli...
  10. Windows Movie Maker vai kaut vai tas pats videomach
  11. Kiwix

    Drafta Medības! :)

    Pēc viņa vārdiem es esmu kuce ;( ehhh....
  12. Triple posts nelīdz, ja taisi jau kuro topiku + es u.c. jau pateica atbildi!!!
  13. 1) Ej uz citu forumu! 2) Pats neesi labāks... 3) Sūds esi tikai Tu... 4) Iedot ārsta numuru??? 5) mazvērtības kompleksi??? 6) Zirga sūdā nevar piedzimt... 7) Tu arī esi lo*s... 8) Admini nav vainīgi, ka dzimst tādi urod! kā Tu...
  14. Porti ir forwardēti???
  15. Kiwix

    Merkis

    ČĪTERIS http://yy.lv/upload/index.php?ACT=4&f=114855&ext=RAR
  16. Nav iespējams... Jo 100% turi uz Windows!!!!!
  17. Izvēlies grupu>Online List Format [Prefix] <span style='font-weight:bold;color:green;'>
  18. Ja nemaldos Tu esi stulbs... aaaa un vēl ej nošaujies =) Man un cerams citiem paliks labāk... Un tās krūtis avatarā... vsp... mozg - 0 :@ Atkal lasot vieglu tekstu izbojā garīgo... Un atkal es kādu netīšām nodiršu un mosk dabūšu warning... eh... Iemācies lasīto to, kas jau ir atbildēts!!!!
  19. Mosk ieej Video sadaļā... Un ja kas ir tāda lieta kā File>Render As, ja nemaldos...
  20. Ned!rs.. Visa diena Tev skaitās 30 sekundes, lai uzrakstītu šo debīlo postu...
  21. Piem. mainīts settings cl_sidespeed 300 (HLG liek atpakaļ uz 400 un čīts tas nav...)
×
×
  • Create New...