Raised This Month: $ Target: $400
 0% 

(KREEDZ) Make CP on ladder


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-16-2012 , 07:32   Re: (KREEDZ) Make CP on ladder
Reply With Quote #4

sorry; now i see this

Code:
This is an internal entity. When the map is compiled by VBSP it is processed and then removed: it does not exist when the map is running.

Quote:
Originally Posted by Exolent[jNr] View Post
If a player is on a ladder, his move type will be fly.
Code:
// at the top of your plugin #define IsOnLadder(%1) (entity_get_int(%1, EV_INT_movetype) == MOVETYPE_FLY) // in your plugin if( IsOnLadder(index) ) {     // player is on a ladder }
That code requires the engine module.
Quote:
Originally Posted by xPaw View Post
PHP Code:
#define IsOnLadder(%1) (pev(%1, pev_movetype) == MOVETYPE_FLY) 
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 04-16-2012 at 07:35.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
 



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 07:52.


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