02.01.2010, 18:07
heey all
I have a filterscript and a gamemode, now i want that i can use the same variables as in filterscript as in gamemode.
So a example:
I got a license system in a filterscript:
i i do /buylic the new License[MAX_PLAYERS]; variable will be set to 1
And when i do the following in my GameMode:
if(License[playerid] == 1)
{
balbala
}
That it works if i did /buylic in my fs.
Simple: if i set a variable to 1 or true or false i want to use that in my GM
I found on dracoblue's website dprop but is only for properties
Please dont say make /buylic in your gm too
i just want that it isn;'t about a license system but overall the license system was just a example
Oxside
I have a filterscript and a gamemode, now i want that i can use the same variables as in filterscript as in gamemode.
So a example:
I got a license system in a filterscript:
i i do /buylic the new License[MAX_PLAYERS]; variable will be set to 1
And when i do the following in my GameMode:
if(License[playerid] == 1)
{
balbala
}
That it works if i did /buylic in my fs.
Simple: if i set a variable to 1 or true or false i want to use that in my GM
I found on dracoblue's website dprop but is only for properties
Please dont say make /buylic in your gm too
i just want that it isn;'t about a license system but overall the license system was just a example
Oxside