Raised This Month: $ Target: $400
 0% 

Does not work properly hidden on JB


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
naXe
BANNED
Join Date: May 2009
Location: Poland/Kwidzyn
Old 07-16-2011 , 05:27   Does not work properly hidden on JB
Reply With Quote #1

Hi.
I have a problem all night to get tired that was immortal, CT, and TT could not walk after 60 seconds.
I did that dims the map after 60 seconds, and that TT could not move and that they had no weapons, but now it crashes my mistake
The error is that how it all did not get a CT flashlights, weapon, is not immortal and TT can walk.

Here code-seek:
PHP Code:
public cmd_hns_start() {     server_cmd("jb_unblock_weapons")     new Players[32]      new playerCounti      get_players(PlayersplayerCount"ac")      for (i=0i<playerCounti++)      set_lights("a");     {         if (cs_get_user_team(Players[i]) == CS_TEAM_T)         {             set_user_maxspeed(Players[i], 0.01)             set_user_health(Players[i], 100)         }         else         {             give_item(Players[i], "weapon_knife")             current_weapon(Players[i])             set_bit(g_FonarikPlayers[i])             client_cmd(Players[i], "impulse 100")                                       new random_num(0sizeof(_WeaponsFree) - 1)                          give_item(Players[i], _WeaponsFree[j])             cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[j], _WeaponsFreeAmmo[j])             /// give two random guns                          new n = random_num(0, sizeof(_WeaponsFree) - 1)             while (n == j) {                  n = random_num(0, sizeof(_WeaponsFree) - 1)              }                          give_item(Players[i], _WeaponsFree[n])             cs_set_user_bpammo(Players[i], _WeaponsFreeCSW[n], _WeaponsFreeAmmo[n])         }     }     emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)          new sz_msg[256];     formatex(sz_msg, charsmax(sz_msg), "^x03%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS_START")     client_print(0, print_center , sz_msg)          return PLUGIN_CONTINUE }    public  cmd_game_hns() {          g_nogamerounds = 0     g_BoxStarted = 0     jail_open()     g_GameMode = 3     g_SimonAllowed = 0     g_Simon = 0     set_lights("z");               emit_sound(0, CHAN_AUTO, "jbextreme/brass_bell_C.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)     player_hudmessage(0, 2, HUD_DELAY + 1.0, {0, 255, 0}, "%L", LANG_SERVER, "UJBM_MENU_GAME_TEXT_HNS")               set_lights("z");     server_cmd("jb_block_weapons")               new Players[32]      new playerCount, i      get_players(Players, playerCount, "ac")     for (i=0; i<playerCount; i++)      {         strip_user_weapons(Players[i])     }     set_task(60.0,"cmd_hns_start",TASK_GIVEITEMS)          return PLUGIN_CONTINUE } 
Please help
Sorry for my English, but I do not know too much

Last edited by naXe; 07-17-2011 at 07:42.
naXe is offline
Send a message via AIM to naXe
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode