Raised This Month: $ Target: $400
 0% 

[AYUDA] Explica damage de un Arma


  
 
 
Thread Tools Display Modes
Ayudante
Member
Join Date: Jul 2013
Location: Mi Casa!
Old 07-28-2013 , 10:44   Re: [AYUDA] Explica damage de un Arma
#11

Quote:
Originally Posted by StorM20 View Post
Ok todo va bien, pero al compilarlo el FLAGG me tira error D:
PHP Code:
if(!(get_user_flags(attacker) & FLAGG)) return; 
El FLAGG seria un define:

PHP Code:
#define FLAGG   ADMIN_BAN o lo el permiso que kieras 
Borra esta linea como dice el baneado para que funcione para todos sino con el FLAGG solo funcionaria para el admin que tenga el permiso que pongas.

Last edited by Ayudante; 07-28-2013 at 10:45.
Ayudante is offline
chetah
Senior Member
Join Date: Jan 2013
Location: BangBros
Old 07-28-2013 , 15:30   Re: [AYUDA] Explica damage de un Arma
#12

& ---> &&
__________________
Minecraft Mod: | %15
"Tomorrowland <3"
chetah is offline
Old 07-28-2013, 15:32
DiegoCS
This message has been deleted by DiegoCS. Reason: equivocacion.
DiegoCS
Senior Member
Join Date: Mar 2013
Old 07-28-2013 , 15:36   Re: [AYUDA] Explica damage de un Arma
#13

Quote:
Originally Posted by chetah View Post
& ---> &&
sabes lo que escribis?

agrego para que entiendas...:
PHP Code:
new button get_user_button(id)

if (
button IN_USE) {
//code

sobre IN_....
PHP Code:
#define IN_ATTACK        (1 << 0)
#define IN_JUMP            (1 << 1)
#define IN_DUCK            (1 << 2)
#define IN_FORWARD        (1 << 3)
#define IN_BACK            (1 << 4)
#define IN_USE            (1 << 5)
#define IN_CANCEL        (1 << 6)
#define IN_LEFT            (1 << 7)
#define IN_RIGHT        (1 << 8)
#define IN_MOVELEFT        (1 << 9)
#define IN_MOVERIGHT        (1 << 10)
#define IN_ATTACK2        (1 << 11)
#define IN_RUN            (1 << 12)
#define IN_RELOAD        (1 << 13)
#define IN_ALT1            (1 << 14)
#define IN_ALT2            (1 << 15)
#define IN_SCORE        (1 << 16)       // Used by client.dll for when scoreboard is held down
#define IN_SPEED        (1 << 17)    // Player is holding the speed key
#define IN_WALK            (1 << 18)    // Player holding walk key
#define IN_ZOOM            (1 << 19)    // Zoom key for HUD zoom
#define IN_WEAPON1        (1 << 20)    // weapon defines these bits
#define IN_WEAPON2        (1 << 21)    // weapon defines these bits
#define IN_BULLRUSH        (1 << 22)
#define IN_GRENADE1        (1 << 23)    // grenade 1
#define IN_GRENADE2        (1 << 24)    // grenade 2 

Last edited by DiegoCS; 07-28-2013 at 16:10. Reason: decis -- escribir.
DiegoCS is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 07-28-2013 , 16:02   Re: [AYUDA] Explica damage de un Arma
#14

Quote:
Originally Posted by chetah View Post
& ---> &&
no
baneado is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode