AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Change a plugin from outside (https://forums.alliedmods.net/showthread.php?t=75318)

theangleofdoom 08-03-2008 04:30

Change a plugin from outside
 
Ok this is what im trying to do:
i have a plugin with
Code:

new wallet3[33]
but i wanna add to it from another script (a seperate .sma or .amxx)
Code:

wallet3[id] += amount
new wallet3 is in plugin1.sma
wallet3[id] += amount is in plugin2.sma

is it possiable?

jim_yang 08-03-2008 04:38

Re: Change a plugin from outside
 
see Hawk552's tut about plugin api

theangleofdoom 08-03-2008 04:57

Re: Change a plugin from outside
 
ta for this.


All times are GMT -4. The time now is 05:37.

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