User
Pass
2FA
 
 

[Problema plugin ] Give Item !
Go to page Previous  1, 2    
 
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 Message4681
ZPLegendary

[Mentally Stable]



Status: Offline
(since 03-10-2019 20:59)
Joined: 13 Jan 2017
Posts: 142, Topics: 7
Location: Polovragi, GJ

Reputation: 15.4
Votes: 17

     
Post Posted: 17-05-2017, 18:55:58 | Translate post to: ... (Click for more languages)

DANNY* wrote:
apare asta in consola \"I-ai setat HP-ul lui DANNY* in 2DANNY*\" Cum fac sa apara \"Ai primit x Hp . Unde x = valuare ! . In loc de \"new tinta\" pot folosi \"new arg? . In loc de viata pot folosi \"health\" ? De ce viata[5] ? Si nu 6, 7, 8 , etc ? Caracterele \"\\\" sunt necesare ?


Poti explica putin noile funtii adaugate ?


M-am trezit cu contul dezactivat, acum l-am activat.
PM de la Shoker: "inceteaza cu prostiile"
Mi-a dat - rep la ultimul post in care ti-am dat pluginul si totodata el l-a si editat, de aceea sunt acele "\" in codul meu, nu eu le-am pus.

Poftim, din nou, pluginul, fixat si facut cum ai cerut.
Da, poti sa pui in loc de tinta - arg si in loc de viata - health, daca doresti poti sa pui si in loc de cantitate - amount, nu conteaza.
viata[5], acel 5 vine de la numarul de caractere. Adica cantitatea maxima de HP pe care i-o poti trimite unui jucator trebuie sa aibe maxim 5 cifre, ex: 99.999 hp, daca gresesc, sa ma corecteze cineva.
Probabil Shocker o sa ma sanctioneze din nou, dar nu vad ce este in neregula in acest plugin.

Spoiler:


Be the one, not anyone.
Currently working on Zombie Legendary 8.1


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

[Mentally Stable]



Status: Offline
(since 26-04-2018 11:28)
Joined: 08 Feb 2017
Posts: 161, Topics: 28
Location: Romania

Reputation: 26.7
Votes: 1

Post Posted: 18-05-2017, 22:58:10 | Translate post to: ... (Click for more languages)

Si inca ceva , spune-mi te rog , dc la primul public este "if(!cmd_access(id, level, cid ,2))" si la al 2-lea este "if(!cmd_access(id, level, cid ,3))"
0 0
  
Back to top
View user's profile Send private message
ZPLegendary

[Mentally Stable]



Status: Offline
(since 03-10-2019 20:59)
Joined: 13 Jan 2017
Posts: 142, Topics: 7
Location: Polovragi, GJ

Reputation: 15.4
Votes: 17

     
Post Posted: 19-05-2017, 10:01:01 | Translate post to: ... (Click for more languages)

Acel 2 înseamnă că ai 2 valori în consolă, una e amx_health cealaltă este numele
Când ai 3 înseamnă că sunt 3 valori în consolă, amx_health numele cantitatea


Be the one, not anyone.
Currently working on Zombie Legendary 8.1


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

[Mentally Stable]



Status: Offline
(since 26-04-2018 11:28)
Joined: 08 Feb 2017
Posts: 161, Topics: 28
Location: Romania

Reputation: 26.7
Votes: 1

Post Posted: 19-05-2017, 22:06:07 | Translate post to: ... (Click for more languages)

cand trebui pus "return PLUGIN_HANDLED " si cand trebui pus "return PLUGIN_CONTINUE" ?
0 0
  
Back to top
View user's profile Send private message
ZPLegendary

[Mentally Stable]



Status: Offline
(since 03-10-2019 20:59)
Joined: 13 Jan 2017
Posts: 142, Topics: 7
Location: Polovragi, GJ

Reputation: 15.4
Votes: 17

     
Post Posted: 21-05-2017, 12:14:49 | Translate post to: ... (Click for more languages)

return e de fapt o comanda care returneaza o valoare la functia curenta si pe langa asta, termina tot ceea ce e dupa el

return PLUGIN_CONTINUE - cu acest return, continuati cu aceeasi operatie - este tot una cu return 0.
return PLUGIN_HANDLED - opreste celalalte pluginuri (blocheaza operatia) - este tot una cu return 1.


Be the one, not anyone.
Currently working on Zombie Legendary 8.1


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

[Mentally Stable]



Status: Offline
(since 26-04-2018 11:28)
Joined: 08 Feb 2017
Posts: 161, Topics: 28
Location: Romania

Reputation: 26.7
Votes: 1

Post Posted: 23-05-2017, 14:51:04 | Translate post to: ... (Click for more languages)

Si inca ceva, Care este diferenta dintre "clcmd" si "concmd" ?
0 0
  
Back to top
View user's profile Send private message
ZPLegendary

[Mentally Stable]



Status: Offline
(since 03-10-2019 20:59)
Joined: 13 Jan 2017
Posts: 142, Topics: 7
Location: Polovragi, GJ

Reputation: 15.4
Votes: 17

     
Post Posted: 25-05-2017, 09:18:53 | Translate post to: ... (Click for more languages)

clcmd poate fii folosita doar din consola din joc
concmd poate fii folosita si din consola din joc si din consola server-ului


Be the one, not anyone.
Currently working on Zombie Legendary 8.1


0 0
  
Back to top
View user's profile Send private message
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  
Go to page Previous  1, 2    


The time now is 28-03-2024, 17:28:04
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