Raised This Month: $ Target: $400
 0% 

Creating Buyzones


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 01-25-2007 , 20:12   Re: Creating Buyzones
Reply With Quote #6

Code:
public plugin_precache() {     new gBuy = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "func_buyzone"))     if (gBuy)     {         set_pev(gBuy, pev_team, 1)         dllfunc(DLLFunc_Spawn, gBuy)         engfunc(EngFunc_SetOrigin, gBuy, Float:{1420.0, 705.0, 16.0})         engfunc(EngFunc_SetSize, gBuy, Float:{-128.0, -128.0, -64.0}, Float:{128.0, 128.0, 64.0})     }   }
Creates a buyzone at the ramp (de_dust2) overlooking bombsite A
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd

Last edited by Orangutanz; 01-29-2007 at 19:55.
Orangutanz 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:19.


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