User
Pass
2FA
 
 

TFTS Transfer (ajutor modificare)

 
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) -> Resources
Author Message1059
Z3ddy

[Mentally Stable]



Status: Offline
(since 15-01-2014 20:51)
Joined: 13 Feb 2009
Posts: 87, Topics: 29
Location: Bucuresti

Reputation: 379.7
Votes: 5

 
Post Posted: 11-02-2013, 23:59:44 | Translate post to: ... (Click for more languages)

Salut baieti, am si eu o rugaminte la voi, la cine se pricepe mai bine.
Am acest plugin sma http://www63.zippyshare.com/v/55877770/file.html la care as dori sa apara in log cine foloseste comanda (admin) si pe cine (player).
Va multumesc!

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Z3ddy

[Mentally Stable]



Status: Offline
(since 15-01-2014 20:51)
Joined: 13 Feb 2009
Posts: 87, Topics: 29
Location: Bucuresti

Reputation: 379.7
Votes: 5

 
Post Posted: 12-02-2013, 01:47:33 | Translate post to: ... (Click for more languages)

Am rezolvat, postez asta pentru cine mai are nevoie:
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>

public admin_chteam(id, level, cid) {
   if (!cmd_access(id, level, cid, 2))
      return PLUGIN_HANDLED
   
   new cmd[10]
   new arg[32]
   new name[32], name2[32]
   
   read_argv(0,cmd,9)
   read_argv(1,arg,31)
   new player = cmd_target(id,arg,1)
   if (!player) return PLUGIN_HANDLED
   
   user_kill(player, 1)
   get_user_name(id, name, 31)
   get_user_name(player, name2, 31)
   
   if(cmd[4]=='t')
   {
      cs_set_user_team(player,1)
      log_amx("ADMIN %s: task amx_t %s", name, name2)
   }
   if(cmd[4]=='c')
   {
      cs_set_user_team(player,2)
      log_amx("ADMIN %s: task amx_ct %s", name, name2)
   }
   if(cmd[4]=='s')
   {
      cs_set_user_team(player,3)
      log_amx("ADMIN %s: task amx_spec %s", name, name2)
   }
   return PLUGIN_HANDLED
}

public plugin_init() {
   register_plugin("TFTS Transfer", "1.0", "TFTomSun")
   register_concmd("amx_t", "admin_chteam", ADMIN_LEVEL_A, "<authid, nick or #userid>")
   register_concmd("amx_ct", "admin_chteam", ADMIN_LEVEL_A, "<authid, nick or #userid>")
   register_concmd("amx_spec", "admin_chteam", ADMIN_LEVEL_A, "<authid, nick or #userid>")
   return PLUGIN_CONTINUE
}

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
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) -> Resources  


The time now is 04-12-2024, 18:26:08
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