←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

[Problem] Sklep nie działa w CT. Piszę /sk...

Polak123533's Photo Polak123533 31.01.2014

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 }
*/
Quote

  • +
  • -
xWangan's Photo xWangan 31.01.2014

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ść.
Quote

Polak123533's Photo Polak123533 31.01.2014

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 }
*/
Quote

  • +
  • -
xWangan's Photo xWangan 31.01.2014

#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ć:

Quote

Polak123533's Photo Polak123533 31.01.2014

Nie działa ;/

Quote

  • +
  • -
xWangan's Photo xWangan 31.01.2014

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

Quote

Polak123533's Photo Polak123533 31.01.2014

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

Quote