Cerere Skin admin

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
TakiZO
Membru, skill 0
Membru, skill 0
Posts: 22
Joined: 14 May 2020, 21:24
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: GoX.GoDoM.Ro
Fond eXtream: 0
Contact:

20 May 2020, 16:17

stie cineva cum pot sa fac acest skin http://files.gamebanana.com/skins/kosha ... _shrek.rar
sa fie pentru fondatorul de pe server? sau sa imi compilati voi sa mi-l modificati sa fie un model pentru fondatorul serverului va rog frumos
Zonek
User avatar
CyBer[N]eTicK
Membru, skill 0
Membru, skill 0
Posts: 10
Joined: 29 May 2020, 04:35
Detinator Steam: Da
CS Status: Citesc & Ajut
Detinator server CS: BB.BlackGames.Ro
SteamID: STEAM_0:1:427987588
Fond eXtream: 0
Location: România(Iaşi)
Contact:

30 May 2020, 01:02

Incearca acest plugin
| Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>

public plugin_init() {

register_plugin("Stripes Admin Model", "1.0", "??")
RegisterHam(Ham_Spawn, "player", "admin_model", 1)

}

public plugin_precache() {

precache_model("models/player/admin_t/admin_t.mdl")
precache_model("models/player/admin_ct/admin_ct.mdl")


return PLUGIN_CONTINUE
}

public admin_model(id) {
if (get_user_flags(id) & ADMIN_RCON) 
{

new CsTeams:userTeam = cs_get_user_team(id)
if (userTeam == CS_TEAM_T) {
cs_set_user_model(id, "admin_t")
return 1;
}
else if(userTeam == CS_TEAM_CT) {
cs_set_user_model(id, "admin_ct")
return 1;
}
}
else 
{
cs_reset_user_model(id)
}
return 0;
}
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests