User
Pass
2FA
 
 

Modificare plugin skin

 
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) -> Plugins - Help / Support
Author Message494
TheBoy

[Mentally Stable]



Status: Offline
(since 02-04-2018 14:02)
Joined: 29 Dec 2015
Posts: 77, Topics: 17
Location: Romania

Reputation: 23.6

Post Posted: 31-01-2016, 16:00:50 | Translate post to: ... (Click for more languages)

Salut , deci am o problema cu acest plugin pentru model , cand intru pe server mi se incarca modelele , dar cand is pe server se pun alea de classic . Mie mi-a spus un baiat ca e ceva sxpriesia gresita sau asa ceva , v-as ruga sa mi-l faceti ca urmare ca multi sa stie de acest plugin ca sunt multi care nu stiu cum sa bage . Multumesc anticipat , scuza-ti deranjul!
Spoiler:

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

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 02-02-2016, 20:04:49 | Translate post to: ... (Click for more languages)

Pluginul ala e prost facut, ai aici alt plugin care face acelasu lucru dar in alt mod. Modifica tu modelele si testeaza.

Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>

new const g_Model1[]="models/player/santa/santa.mdl"
new const g_Model2[]="models/player/santa2/santa2.mdl"

new g_pAdminOnly;

public plugin_init() {
        register_plugin("Player-Model Change", "1.2", "RoaR")
        RegisterHam(Ham_Spawn,"player","spawn",1)
        g_pAdminOnly = register_cvar("amx_padminonly","1")
}

public plugin_precache() {
   precache_model(g_Model1)
   precache_model(g_Model2)
}

public spawn(id) {
       if(get_user_flags(id) && ADMIN_LEVEL_H || is_user_alive(id) & get_pcvar_num(g_pAdminOnly)) {
      switch(cs_get_user_team(id)) {
         case CS_TEAM_CT: cs_set_user_model(id, g_Model1)

         case CS_TEAM_T:cs_set_user_model(id, g_Model2)
      }
      if (!get_pcvar_num(g_pAdminOnly) && is_user_alive(id)) {
         switch(cs_get_user_team(id)) {
            case CS_TEAM_CT: cs_set_user_model(id, g_Model1)
            case CS_TEAM_T: cs_set_user_model(id, g_Model2)
         }
      }
   }
   
}




Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

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

[Mentally Stable]



Status: Offline
(since 02-04-2018 14:02)
Joined: 29 Dec 2015
Posts: 77, Topics: 17
Location: Romania

Reputation: 23.6

Post Posted: 02-02-2016, 21:47:32 | Translate post to: ... (Click for more languages)

Mersi mult!
0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by -P!C@-, 02 February 2016 20:18



 
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) -> Plugins - Help / Support  


The time now is 17-01-2025, 01:49:56
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