Raised This Month: $ Target: $400
 0% 

Q:How to run commands from one plugin out of another plugin?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
RedBaron
Junior Member
Join Date: Apr 2004
Old 04-17-2004 , 19:47   Q:How to run commands from one plugin out of another plugin?
Reply With Quote #1

I'm runing the BlattMonster- and the Anticamping-Plugin and instead of slaping the user/player, like in "case 1", I'd like to spawn a monster on the camper, like bbmonster_spawn <monster> <player>, from the BlattMonster-Plugin!!!

How to do??? Any suggestions???

Code:
// a part out of anticamping.sma        ....         } else if (campmeter[id]>100) {             switch(get_cvar_num("anticamping")) {                 case 1: {                     user_slap(id,get_cvar_num("anticamping_healthpunish"))              }                 case 2: {                     set_user_health(id, get_user_health(id) - get_cvar_num("anticamping_healthpunish"))                 }                 case 3: {                     emit_sound(id,CHAN_VOICE,"player/heartbeat1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)        ....
RedBaron is offline
 


Thread Tools
Display Modes

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:03.


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