Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[Problem] Sklep nie działa w CT. Piszę /sklep i dalej nic!Sklep w CT nie działa wpisując /sklep, a w TT działa, co może być przyczyną?


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
6 odpowiedzi w tym temacie

#1 Polak123533

    Banned

  • Zbanowany

Reputacja: 2
Nowy

  • Postów:59
  • Lokalizacja:Płock
Offline

Napisano 31.01.2014 17:56

Witam posiadam serwer jailbreak, jak ktoś idzie do CT i wpiszę /sklep to nie działa, a jak ktoś w TT wpiszę /sklep to od razu się wyświetla menu.. Co może być grane? Wynagradzam!

 

Sklep sma:

 

include <amxmodx> 
#include <amxmisc> 
#include <colorchat> 
#include <hamsandwich> 
#include <cstrike> 
#include <fun> 
#include <fakemeta>
#include <engine>
 
#define PLUGIN "Sklep JailBreak" 
#define VERSION "1.4" 
#define AUTHOR "Gryzon" 
 
new name [32]; 
new speed[33]; 
new ilosc_skokow_gracza[33];
 
public plugin_init() { 
register_plugin(PLUGIN, VERSION, AUTHOR) 
register_clcmd("say /sklep", "jbshop")
RegisterHam(Ham_CS_Player_ResetMaxSpeed, "player", "speed", 1);
RegisterHam(Ham_Spawn, "player", "Fwd_PlayerSpawn_Post", 1) 
public jbshop(id){ 
if(is_user_connected(id) && cs_get_user_team(id) == CS_TEAM_CT)
{
new menu = menu_create("\wSklep JailBreak \rCS4game.pl","menu") 
menu_additem(menu,"\wMiekkie Kapcie \d[6000$]","1",0) 
menu_additem(menu,"\wBrowar \d[14000$]","2",0) 
menu_additem(menu,"\wTabaka \d[10000$]","3",0) 
menu_additem(menu,"\wPodwojny skok \d[15000$]","4",0)  
menu_additem(menu,"\wHE \d[8000$]","6",0) 
menu_additem(menu,"\w20 HP \d[14000$]","5",0)
menu_additem(menu,"\w50 HP\d[16000$]","7",0) 
 
menu_setprop(menu,MPROP_EXIT,MEXIT_ALL) 
menu_display(id,menu,0) 
}
public menu(id, menu, item){ 
if(item==MENU_EXIT) 
menu_destroy(menu) 
return PLUGIN_HANDLED; 
new data[6], iName[64] 
new access, callback 
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback) 
new key = str_to_num(data) 
 
switch(key) 
case 1 :{ 
if (cs_get_user_money(id) < 6000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
if (cs_get_user_money(id) >= 6000 ){ 
get_user_name(id, name, 31)  
set_user_footsteps( id, 1)
ColorChat(0, RED, "Kupiono Miekkie Kapcie, Dzięki ktorym nie slychac twoich krokow.", name)
cs_set_user_money(id , cs_get_user_money(id) - 6000, 0) 
case 2 :{ 
if (cs_get_user_money(id) < 14000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
if (cs_get_user_money(id) >= 14000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono Browar, Dzięki ktoremu mozesz szybciej biegac.", name) 
speed[id] = 1; 
set_user_maxspeed(id, 270.0) 
cs_set_user_money(id , cs_get_user_money(id) - 14000, 0) 
case 3 : { 
if (cs_get_user_money(id) < 10000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
if (cs_get_user_money(id) >= 10000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono Tabake, Dzięki ktorej mozesz wyzej skakac.", name) 
set_user_gravity(id, 0.5) 
cs_set_user_money(id , cs_get_user_money(id) - 10000, 0) 
 
case 4 : { 
if (cs_get_user_money(id) < 15000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
if (cs_get_user_money(id) >= 15000 ){ 
get_user_name(id, name, 31)
ilosc_skokow_gracza[id] = 2;
ColorChat(0, RED, "Kupiono Podwojny skok, Dzięki czemu mozesz skoczyc 2 razy", name)
cs_set_user_money(id , cs_get_user_money(id) - 15000, 0) 
 
case 5 :{ 
if (cs_get_user_money(id) < 14000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
if (cs_get_user_money(id) >= 14000 ){ 
get_user_name(id, name, 31) 
new health = get_user_health(id);
ColorChat(0, RED, "Kupiono 20 HP", name) 
set_user_health(id, health+20)
cs_set_user_money(id , cs_get_user_money(id) - 14000, 0) 
 
case 6 :{ 
if (cs_get_user_money(id) < 8000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
if (cs_get_user_money(id) >= 8000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono HE", name) 
give_item(id, "weapon_hegrenade"); 
cs_set_user_money(id , cs_get_user_money(id) - 8000, 0) 
 
case 7 :{ 
if (cs_get_user_money(id) < 16000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
if (cs_get_user_money(id) >= 16000 ){ 
get_user_name(id, name, 31) 
new health = get_user_health(id);
ColorChat(0, RED, "Kupiono 50 HP", name) 
set_user_health(id, health+50)
cs_set_user_money(id , cs_get_user_money(id) - 16000, 0) 
 
 
return PLUGIN_HANDLED; 
public Event_Change_Weapon(id){ 
if(speed[id] == 1){ 
set_user_maxspeed(id, 270.0) 
public Fwd_PlayerSpawn_Post(id){ 
if (is_user_alive(id)){ 
if(!speed[id]){ 
speed[id] = 0; 
set_user_footsteps(id, 0) 
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/

b_350_20_084669_071838_FFFFFF_000000.png

Szukasz zabawy na dużo godzin? Wbijaj na tego jail'a ip: 80.72.36.58:27055


#2 xWangan

    Zaawansowany

  • Użytkownik

Reputacja: 54
Pomocny

  • Postów:149
  • Lokalizacja:Polska
Offline

Napisano 31.01.2014 18:33

Mógłbym prosić o dodanie kodu pluginu jako Kod? Mam na myśli poprzez opcje:
 
[code=auto:0]TUTAJ WKLEJ KOD SKOPIOWANY Z PLUGINU[/code]
Zdaje sobie sprawę iż to nic nie zmienia, ale przynajmniej dla mnie kod ma wtedy większą czytelność.
  • +
  • -
  • 0

#3 Polak123533

    Banned

  • Autor tematu
  • Zbanowany

Reputacja: 2
Nowy

  • Postów:59
  • Lokalizacja:Płock
Offline

Napisano 31.01.2014 18:54

Nie mogę edytować to masz:

Tinclude <amxmodx> 
#include <amxmisc> 
#include <colorchat> 
#include <hamsandwich> 
#include <cstrike> 
#include <fun> 
#include <fakemeta>
#include <engine>
 
#define PLUGIN "Sklep JailBreak" 
#define VERSION "1.4" 
#define AUTHOR "Gryzon" 
 
new name [32]; 
new speed[33]; 
new ilosc_skokow_gracza[33];
 
public plugin_init() { 
register_plugin(PLUGIN, VERSION, AUTHOR) 
register_clcmd("say /sklep", "jbshop")
RegisterHam(Ham_CS_Player_ResetMaxSpeed, "player", "speed", 1);
RegisterHam(Ham_Spawn, "player", "Fwd_PlayerSpawn_Post", 1) 
} 
public jbshop(id){ 
if(is_user_connected(id) && cs_get_user_team(id) == CS_TEAM_CT)
{
new menu = menu_create("\wSklep JailBreak \rCS4game.pl","menu") 
menu_additem(menu,"\wMiekkie Kapcie \d[6000$]","1",0) 
menu_additem(menu,"\wBrowar \d[14000$]","2",0) 
menu_additem(menu,"\wTabaka \d[10000$]","3",0) 
menu_additem(menu,"\wPodwojny skok \d[15000$]","4",0)  
menu_additem(menu,"\wHE \d[8000$]","6",0) 
menu_additem(menu,"\w20 HP \d[14000$]","5",0)
menu_additem(menu,"\w50 HP\d[16000$]","7",0) 
 
menu_setprop(menu,MPROP_EXIT,MEXIT_ALL) 
menu_display(id,menu,0) 
} 
}
public menu(id, menu, item){ 
if(item==MENU_EXIT) 
{ 
menu_destroy(menu) 
return PLUGIN_HANDLED; 
} 
new data[6], iName[64] 
new access, callback 
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback) 
new key = str_to_num(data) 
 
switch(key) 
{ 
case 1 :{ 
if (cs_get_user_money(id) < 6000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 6000 ){ 
get_user_name(id, name, 31)  
set_user_footsteps( id, 1)
ColorChat(0, RED, "Kupiono Miekkie Kapcie, Dzięki ktorym nie slychac twoich krokow.", name)
cs_set_user_money(id , cs_get_user_money(id) - 6000, 0) 
} 
} 
case 2 :{ 
if (cs_get_user_money(id) < 14000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 14000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono Browar, Dzięki ktoremu mozesz szybciej biegac.", name) 
speed[id] = 1; 
set_user_maxspeed(id, 270.0) 
cs_set_user_money(id , cs_get_user_money(id) - 14000, 0) 
} 
} 
case 3 : { 
if (cs_get_user_money(id) < 10000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 10000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono Tabake, Dzięki ktorej mozesz wyzej skakac.", name) 
set_user_gravity(id, 0.5) 
cs_set_user_money(id , cs_get_user_money(id) - 10000, 0) 
} 
 
} 
case 4 : { 
if (cs_get_user_money(id) < 15000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 15000 ){ 
get_user_name(id, name, 31)
ilosc_skokow_gracza[id] = 2;
ColorChat(0, RED, "Kupiono Podwojny skok, Dzięki czemu mozesz skoczyc 2 razy", name)
cs_set_user_money(id , cs_get_user_money(id) - 15000, 0) 
} 
 
} 
case 5 :{ 
if (cs_get_user_money(id) < 14000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 14000 ){ 
get_user_name(id, name, 31) 
new health = get_user_health(id);
ColorChat(0, RED, "Kupiono 20 HP", name) 
set_user_health(id, health+20)
cs_set_user_money(id , cs_get_user_money(id) - 14000, 0) 
} 
 
} 
case 6 :{ 
if (cs_get_user_money(id) < 8000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 8000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono HE", name) 
give_item(id, "weapon_hegrenade"); 
cs_set_user_money(id , cs_get_user_money(id) - 8000, 0) 
} 
 
} 
case 7 :{ 
if (cs_get_user_money(id) < 16000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 16000 ){ 
get_user_name(id, name, 31) 
new health = get_user_health(id);
ColorChat(0, RED, "Kupiono 50 HP", name) 
set_user_health(id, health+50)
cs_set_user_money(id , cs_get_user_money(id) - 16000, 0) 
} 
 
} 
 
} 
return PLUGIN_HANDLED; 
} 
public Event_Change_Weapon(id){ 
if(speed[id] == 1){ 
set_user_maxspeed(id, 270.0) 
} 
} 
public Fwd_PlayerSpawn_Post(id){ 
if (is_user_alive(id)){ 
if(!speed[id]){ 
speed[id] = 0; 
} 
set_user_footsteps(id, 0) 
} 
} 
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/

b_350_20_084669_071838_FFFFFF_000000.png

Szukasz zabawy na dużo godzin? Wbijaj na tego jail'a ip: 80.72.36.58:27055


#4 xWangan

    Zaawansowany

  • Użytkownik

Reputacja: 54
Pomocny

  • Postów:149
  • Lokalizacja:Polska
Offline

Napisano 31.01.2014 19:21

#include <amxmodx> 
#include <amxmisc> 
#include <colorchat> 
#include <hamsandwich> 
#include <cstrike> 
#include <fun> 
#include <fakemeta>
#include <engine>
 
#define PLUGIN "Sklep JailBreak" 
#define VERSION "1.4" 
#define AUTHOR "Gryzon" 
 
new name [32]; 
new speed[33]; 
new ilosc_skokow_gracza[33];
 
public plugin_init() { 
register_plugin(PLUGIN, VERSION, AUTHOR) 
register_clcmd("say /sklep", "jbshop")
RegisterHam(Ham_CS_Player_ResetMaxSpeed, "player", "speed", 1);
RegisterHam(Ham_Spawn, "player", "Fwd_PlayerSpawn_Post", 1) 
} 
public jbshop(id){ 

new menu = menu_create("\wSklep JailBreak \rCS4game.pl","menu") 
menu_additem(menu,"\wMiekkie Kapcie \d[6000$]","1",0) 
menu_additem(menu,"\wBrowar \d[14000$]","2",0) 
menu_additem(menu,"\wTabaka \d[10000$]","3",0) 
menu_additem(menu,"\wPodwojny skok \d[15000$]","4",0)  
menu_additem(menu,"\wHE \d[8000$]","6",0) 
menu_additem(menu,"\w20 HP \d[14000$]","5",0)
menu_additem(menu,"\w50 HP\d[16000$]","7",0) 
 
menu_setprop(menu,MPROP_EXIT,MEXIT_ALL) 
menu_display(id,menu,0) 
} 
public menu(id, menu, item){ 
if(item==MENU_EXIT) 
{ 
menu_destroy(menu) 
return PLUGIN_HANDLED; 
} 
new data[6], iName[64] 
new access, callback 
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback) 
new key = str_to_num(data) 
 
switch(key) 
{ 
case 1 :{ 
if (cs_get_user_money(id) < 6000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 6000 ){ 
get_user_name(id, name, 31)  
set_user_footsteps( id, 1)
ColorChat(0, RED, "Kupiono Miekkie Kapcie, Dzięki ktorym nie slychac twoich krokow.", name)
cs_set_user_money(id , cs_get_user_money(id) - 6000, 0) 
} 
} 
case 2 :{ 
if (cs_get_user_money(id) < 14000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 14000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono Browar, Dzięki ktoremu mozesz szybciej biegac.", name) 
speed[id] = 1; 
set_user_maxspeed(id, 270.0) 
cs_set_user_money(id , cs_get_user_money(id) - 14000, 0) 
} 
} 
case 3 : { 
if (cs_get_user_money(id) < 10000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 10000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono Tabake, Dzięki ktorej mozesz wyzej skakac.", name) 
set_user_gravity(id, 0.5) 
cs_set_user_money(id , cs_get_user_money(id) - 10000, 0) 
} 
 
} 
case 4 : { 
if (cs_get_user_money(id) < 15000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 15000 ){ 
get_user_name(id, name, 31)
ilosc_skokow_gracza[id] = 2;
ColorChat(0, RED, "Kupiono Podwojny skok, Dzięki czemu mozesz skoczyc 2 razy", name)
cs_set_user_money(id , cs_get_user_money(id) - 15000, 0) 
} 
 
} 
case 5 :{ 
if (cs_get_user_money(id) < 14000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 14000 ){ 
get_user_name(id, name, 31) 
new health = get_user_health(id);
ColorChat(0, RED, "Kupiono 20 HP", name) 
set_user_health(id, health+20)
cs_set_user_money(id , cs_get_user_money(id) - 14000, 0) 
} 
 
} 
case 6 :{ 
if (cs_get_user_money(id) < 8000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 8000 ){ 
get_user_name(id, name, 31) 
ColorChat(0, RED, "Kupiono HE", name) 
give_item(id, "weapon_hegrenade"); 
cs_set_user_money(id , cs_get_user_money(id) - 8000, 0) 
} 
 
} 
case 7 :{ 
if (cs_get_user_money(id) < 16000){ 
get_user_name(id, name, 31) 
ColorChat(id, GREEN, "%s ^x03Nie masz wystarczajaca hajsu!", name) 
return PLUGIN_HANDLED; 
} 
if (!is_user_alive(id)){ 
get_user_name(id, name, 31) 
ColorChat(id, BLUE, "%s ^x03Tylko zywi moga kupowac!", name) 
return PLUGIN_HANDLED; 
} 
if (cs_get_user_money(id) >= 16000 ){ 
get_user_name(id, name, 31) 
new health = get_user_health(id);
ColorChat(0, RED, "Kupiono 50 HP", name) 
set_user_health(id, health+50)
cs_set_user_money(id , cs_get_user_money(id) - 16000, 0) 
} 
 
} 
 
} 
return PLUGIN_HANDLED; 
} 
public Event_Change_Weapon(id){ 
if(speed[id] == 1){ 
set_user_maxspeed(id, 270.0) 
} 
} 
public Fwd_PlayerSpawn_Post(id){ 
if (is_user_alive(id)){ 
if(!speed[id]){ 
speed[id] = 0; 
} 
set_user_footsteps(id, 0) 
} 
} 
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1045\\ f0\\ fs16 \n\\ par }
*/ 

Sprawdz to, powinno działać:


  • +
  • -
  • 0

#5 Polak123533

    Banned

  • Autor tematu
  • Zbanowany

Reputacja: 2
Nowy

  • Postów:59
  • Lokalizacja:Płock
Offline

Napisano 31.01.2014 19:33

Nie działa ;/


b_350_20_084669_071838_FFFFFF_000000.png

Szukasz zabawy na dużo godzin? Wbijaj na tego jail'a ip: 80.72.36.58:27055


#6 xWangan

    Zaawansowany

  • Użytkownik

Reputacja: 54
Pomocny

  • Postów:149
  • Lokalizacja:Polska
Offline

Napisano 31.01.2014 19:36

Co dokładniej nie działa? Cały plugin?


  • +
  • -
  • 0

#7 Polak123533

    Banned

  • Autor tematu
  • Zbanowany

Reputacja: 2
Nowy

  • Postów:59
  • Lokalizacja:Płock
Offline

Napisano 31.01.2014 19:50

W tt działa, ale w CT dalej nie ;/


b_350_20_084669_071838_FFFFFF_000000.png

Szukasz zabawy na dużo godzin? Wbijaj na tego jail'a ip: 80.72.36.58:27055





Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych