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) -> Plugins - Help / Support
Author Message983
CraZzy - 7Up

[CrazzyRO]



Status: Offline
(since 20-12-2018 20:01)
Joined: 26 Jun 2013
Posts: 605, Topics: 36
Location: Severin .

Reputation: 150
Votes: 23

     
Post Posted: 02-02-2015, 14:48:47 | Translate post to: ... (Click for more languages)

Nume*: dr_fixround
Descriere problema*: Am pus 2 boti la spec , si pluginul daca vreun tero iese de pe server , ii muta la Tero si raman blocati , player reusind astfel sa faca xp de pe urma lor .
Spoiler:

Poze : -



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: 02-02-2015, 15:06:38 | Translate post to: ... (Click for more languages)

Este din dr.manager nu din acest plugin ,cred.
EDIT:Incearca asa daca nu trimite-mi dr.manager sau posteaza-l aici:
Spoiler:



Retired from Amxmodx

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-2015, 20:09:58 | Translate post to: ... (Click for more languages)

destroi112 wrote:
Este din dr.manager nu din acest plugin ,cred.
EDIT:Incearca asa daca nu trimite-mi dr.manager sau posteaza-l aici:
Spoiler:


1. nu ai facut verificarea corecta (poate fi unassigned sau poate fi spec)
2. foloseste stockul, nicidecum cs_get_team .. daca te uiti stockul il scoate direct din pdata
3. nu ai pus corect verificarea, mult prea jos si defectuoasa. Daca sunt 20 de insi si el din greseala gaseste botul random, nu-l mai spawneaza si ramana asa, el ar trebui sa intre in loop pana gaseste pe unul.
Am scris cu rosu, era destul de simplu, mai mare atentia data viitoare.




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
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: 02-02-2015, 20:12:09 | Translate post to: ... (Click for more languages)

EDUTz wrote:
destroi112 wrote:
Este din dr.manager nu din acest plugin ,cred.
EDIT:Incearca asa daca nu trimite-mi dr.manager sau posteaza-l aici:
Spoiler:


1. nu ai facut verificarea corecta (poate fi unassigned sau poate fi spec)
2. foloseste stockul, nicidecum cs_get_team .. daca te uiti stockul il scoate direct din pdata
3. nu ai pus corect verificarea, mult prea jos si defectuoasa. Daca sunt 20 de insi si el din greseala gaseste botul random, nu-l mai spawneaza si ramana asa, el ar trebui sa intre in loop pana gaseste pe unul.
Am scris cu rosu, era destul de simplu, mai mare atentia data viitoare.

ok ms ,au uitat sa verific si stock-urile si am uitat ca poate fi si unassigned ,de aceea am folosit numai spectator.-.O sa tin minte.
PS:Acum am vazut unde e stock-ul pentru team...
"stock CsTeams:fm_cs_get_user_team( id )" ->Mersi pentru corectura .-
EDIT:Vezi ca ai si tu o greseala :
Code:
if( fm_cs_get_user_team == 0 || fm_cs_get_user_team(id) == 3)
{
check_round( leaving_player )
return

nu era cumva :
Code:
if( fm_cs_get_user_team(id) == CS_TEAM_SPECTATOR || fm_cs_get_user_team(id) == CS_TEAM_UNASSIGNED)
{
check_round( leaving_player )
return

Pentru ca daca e sa folosim stock-ul cum ai zis tu el verifica urmatoarele :
Daca folosesti 0,1,2,3 apare tag mistmatch.
enum CsTeams
{
CS_TEAM_UNASSIGNED = 0,
CS_TEAM_T = 1,
CS_TEAM_CT = 2,
CS_TEAM_SPECTATOR = 3
}



Retired from Amxmodx

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-2015, 20:36:52 | Translate post to: ... (Click for more languages)

Da,ma rog, am scris-o in graba fara sa verfic daca se compileaza macar - e ok cu CS_TEAM ... cu toate ca trebuia sa mearga si cu cifre dar ma rog ..



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
anoniM.xD
[Banned user]


Banned


Status: Offline
(since 15-03-2015 21:43)
Joined: 04 Feb 2015
Posts: 92, Topics: 19
Location: Pitesti

Reputation: -103.8
Votes: 21

   
Post Posted: 05-02-2015, 16:05:45 | Translate post to: ... (Click for more languages)

Spoiler:


Cand serverul este plin, ii da afara.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
CraZzy - 7Up

[CrazzyRO]



Status: Offline
(since 20-12-2018 20:01)
Joined: 26 Jun 2013
Posts: 605, Topics: 36
Location: Severin .

Reputation: 150
Votes: 23

     
Post Posted: 05-02-2015, 21:10:07 | Translate post to: ... (Click for more languages)

S-a rezolvat, se poate da T.C !


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

  Topic locked


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

Locked by -P!C@-, 05 February 2015 19:15



 
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 14-04-2025, 22:06:28
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password