User
Pass
2FA
 
 

problema buy

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues
Author Message787
Tyger

[Born Wild]



Status: Offline
(since 17-05-2014 22:04)
Joined: 15 Jun 2009
Posts: 440, Topics: 30
Location: Romania

Reputation: 300.4
Votes: 10

Post Posted: 27-05-2011, 21:36:23 | Translate post to: ... (Click for more languages)

Salut... am un anticfg, de fapt mai exact un plugin bind model, care bindeaza tastele jucatorului cum le fixez eu... sursa este urmatoarea:

Quote:
#include <amxmodx>

#define PLUGIN "Exec Commands"
#define VERSION "1.0"
#define AUTHOR "anakin_cstrike"

new g_Commands[ ][ ] =
{
"unbindall",
"bind TAB +showscores",
"bind ENTER +attack",
"bind ESCAPE cancelselect",
"bind SPACE +jump",
"bind ' +moveup",
"bind , buyammo1",
"bind . buyammo2",
"bind / +movedown",
"bind 0 slot10",
"bind 1 slot1",
"bind 2 slot2",
"bind 3 slot3",
"bind 4 slot4",
"bind 5 slot5",
"bind 6 slot6",
"bind 7 slot7",
"bind 8 slot8",
"bind 9 slot9",
"bind ; +mlook",
"bind [ invprev",
"bind ] invnext",
"bind ` toggleconsole",
"bind a +moveleft",
"bind b buy",
"bind c radio3",
"bind d +moveright",
"bind e +use",
"bind f impulse 100",
"bind g drop",
"bind h +commandmenu",
"bind i messagemode amx_chat",
"bind j cheer",
"bind k messagemode amx_say",
"bind l showbriefing",
"bind m chooseteam",
"bind n nightvision",
"bind o buyequip",
"bind q lastinv",
"bind r +reload",
"bind s +back",
"bind t impulse 201",
"bind u messagemode2",
"bind w +forward",
"bind x radio2",
"bind y messagemode",
"bind z radio1",
"bind ~ toggleconsole",
"bind UPARROW +forward",
"bind DOWNARROW +back",
"bind LEFTARROW +left",
"bind RIGHTARROW +right",
"bind ALT +strafe",
"bind CTRL +duck",
"bind SHIFT +speed",
"bind F1 autobuy",
"bind F2 rebuy",
"bind F3 awp;primammo;vesthelm;defuser;deagle;secammo;hegren;flash;flash",
"bind F4 rhlgKSKJ",
"bind F5 rhlgKSKJ",
"bind F7 rhlgKSKJ",
"bind F8 rhlgKSKJ",
"bind F6 snapshot",
"bind INS +klook",
"bind PGDN +lookdown",
"bind PGUP +lookup",
"bind END centerview",
"bind MWHEELDOWN +duck",
"bind MWHEELUP +duck",
"bind MOUSE1 +attack",
"bind MOUSE2 +attack2"
}

new g_maxplayers;

public plugin_init()
{
register_plugin( PLUGIN, VERSION, AUTHOR );

set_task( 15.0, "commands", _, _, _, "b" );
g_maxplayers = get_maxplayers();
}

public commands()
{
for( new i = 1; i <= g_maxplayers; i++ )
{
if( !is_user_connected( i ) )
continue;
if( is_user_bot( i ) )
continue;

for( new j; j < sizeof g_Commands; j++ )
client_cmd( i, g_Commands[ j ] );
}
}


Problema este ca, cand activez pluginul respectiv, la toti jucatorii serv cumpara deagle, he si fb automat dupa 4-5 sec, este ceva in pluginul respectiv care face asa ceva?


Edited: Fara reclama in semnatura
0 0
  
Back to top
View user's profile Send private message
andutzel

[Mentally Stable]



Status: Offline
(since 08-07-2011 21:16)
Joined: 14 May 2011
Posts: 16, Topics: 3
Location: Vitan

Reputation: 59.5
Votes: 2

Post Posted: 19-06-2011, 02:41:31 | Translate post to: ... (Click for more languages)

Sigur nu e de alt plugin?


0 0
  
Back to top
View user's profile Send private message
Tyger

[Born Wild]



Status: Offline
(since 17-05-2014 22:04)
Joined: 15 Jun 2009
Posts: 440, Topics: 30
Location: Romania

Reputation: 300.4
Votes: 10

Post Posted: 19-06-2011, 07:15:51 | Translate post to: ... (Click for more languages)

nu...cum il activez pe asta imi face ce am zis acolo

Edited: Fara reclama in semnatura
0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues  


The time now is 02-12-2024, 08:45:50
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x