User
Pass
2FA
 
 

[rezolvat]Problema plugin

 
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) -> Counter-Strike: Help zone
Author Message1027
DaNy-
[Banned user]


Banned


Status: Offline
(since 15-03-2015 15:23)
Joined: 16 Nov 2014
Posts: 917, Topics: 124
Location: Pãmânt

Reputation: 35.1
Votes: 25

   
Post Posted: 02-03-2015, 21:48:42 | Translate post to: ... (Click for more languages)

Intalnesc problema pe Furien.Freakz.Ro.
Deci, am pus un meniu VIP cu 3 arme si pe server mai am un meniu weapons clasice pentru playeri... si daca esti vip poti lua din amun2 meniuri.
Ce ar trebui sa fac? Ma puteti ajuta? Daca da spuneti-mi ce sma sa vi-l dau.



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

[The Godfather]



Status: Offline
(since 24-06-2019 12:42)
Joined: 19 Apr 2008
Posts: 919, Topics: 119
Location: Suceava

Reputation: -18.8
Votes: 24

   
Post Posted: 02-03-2015, 22:14:34 | Translate post to: ... (Click for more languages)

Pai, ar trebui ca meniul pentru VIP sa il afisezi doar celor care au flagurile setate de tine pentru VIP.
Deci, inainte sa afisezi meniul verifici daca jucatorul este admin si are flagurile corespunzatoare.
Un exemplu:
Code:
if(get_user_flags(id) & ADMIN_LEVEL_H)


 
Staff message (TwisTer):
 
În problemele apãrute, doar moderatorii au accesul de a rãspunde în aceasta secþiune, dacã doriþi sa ajutaþi, trimiteþi mesaj privat.




0 0
  
Back to top
View user's profile Send private message
DaNy-
[Banned user]


Banned


Status: Offline
(since 15-03-2015 15:23)
Joined: 16 Nov 2014
Posts: 917, Topics: 124
Location: Pãmânt

Reputation: 35.1
Votes: 25

   
Post Posted: 02-03-2015, 22:31:29 | Translate post to: ... (Click for more languages)

Harbar n-am ce zici, si nu cred ca-i bine.
Astept raspunsul unui moderator pentru sectiunea asta sau la cineva care stie.



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

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 03-03-2015, 15:03:41 | Translate post to: ... (Click for more languages)

intri in meniul de arme normale si scrii if(get_user_flags(id) & ADMIN_LEVEL_H//sau ce flag ai tu)
return PLUGIN_HANDLED
asta pentru a nu ii afisa meniul de arme normale vip-ului altfel daca vrei sa nu aiba 2 arme primare pui asa
strip_user_weapons(id)
give_item(id,"weapon_knife")
asta pui la fiecare arma din meniul de vip si in meniul de arme clasice pentru a-i sterge arma de dinainte dar pui la inceputul codului.
Sper ca ai intele @Nelu numai moderatori din aceasta sectiune au voie sa raspunda .Multumesc.



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message
DaNy-
[Banned user]


Banned


Status: Offline
(since 15-03-2015 15:23)
Joined: 16 Nov 2014
Posts: 917, Topics: 124
Location: Pãmânt

Reputation: 35.1
Votes: 25

   
Post Posted: 08-03-2015, 13:01:58 | Translate post to: ... (Click for more languages)

Nu ma pricep... daca vrea cineva sa ma ajute la pluginu vip sa puna daca ai deja o arma sa scrie pe chat. "Ai deja o arma.", iar daca arunci arma actuala sa mearga sa-ti iei arma vip.


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

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 08-03-2015, 13:46:33 | Translate post to: ... (Click for more languages)

Te ajut eu pe skp .
T/C
EDIT :Rezolvat pe skype.



Retired from Amxmodx

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 TwisTer, 08 March 2015 11:48



 
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) -> Counter-Strike: Help zone  


The time now is 02-12-2024, 15:21:43
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