Get value from another plugin?
#3
Thanks for reply i don't see that, something?

Plugin "Game":
PHP Code:
function GetWinner() return ServerData.Winner; end

Plugin "Login":
PHP Code:
function GivePoints() local WinnerName = cPluginManager:CallPlugin("Game", "GetWinner"); PlayerData.points[WinnerName] = PlayerData.points[WinnerName] +1; end
Reply
Thanks given by:


Messages In This Thread
Get value from another plugin? - by agusnat16 - 03-24-2014, 12:39 AM
RE: Get value from another plugin? - by tigerw - 03-24-2014, 12:53 AM
RE: Get value from another plugin? - by agusnat16 - 03-24-2014, 01:34 AM
RE: Get value from another plugin? - by xoft - 03-24-2014, 04:35 AM



Users browsing this thread: 1 Guest(s)