Filterscript / Gamemode Communication ??
#1

Hello samp forum members,

Today i have come across a problem that has really stumped me and put a halt on my gamemodes progress. The problem is the communication between my gamemode and my filsterscipts. I dont have any errors or code to show because i dont know how do create what im looking for but ill explain what i want to achieve.

On my gamemade i have player info stored in my Info enum
Код:
enum Info
{
pMoney,
pSking,
pAdminLevel
.....etc
}
and i have an array called PlayerInfo to store the enum
Код:
new PlayerInfo[MAX_PLAYERS][Info];
Now, what i am going to do is create a seperate commands filterscript to keep things tidy and alot of the commands require a certain Admin Level
Код:
PlayerInfo[playerid][pAdminLevel]
However, that is defined on my gamemode and is not present in my commands filterscript and will get a 'undefined symbol' error when adding it to my filterscript.

Basically what i am looking for is a way to allow the two scripts to communicate together a pass information eg Pass PlayerInfo[playerid][pAdminLevel] values to the commands filterscript.

If anybody knows what i mean and how to do this i would really appreciate it.



Stuoyto
Reply


Messages In This Thread
Filterscript / Gamemode Communication ?? - by stuoyto - 10.05.2012, 01:38
Re: Filterscript / Gamemode Communication ?? - by SuperViper - 10.05.2012, 01:51
Re: Filterscript / Gamemode Communication ?? - by stuoyto - 10.05.2012, 02:01
Re: Filterscript / Gamemode Communication ?? - by stuoyto - 10.05.2012, 02:11
Re: Filterscript / Gamemode Communication ?? - by Yuryfury - 10.05.2012, 03:01
Re: Filterscript / Gamemode Communication ?? - by stuoyto - 10.05.2012, 03:13
Re: Filterscript / Gamemode Communication ?? - by SuperViper - 10.05.2012, 03:15
Re: Filterscript / Gamemode Communication ?? - by (SF)Noobanatior - 10.05.2012, 03:56

Forum Jump:


Users browsing this thread: 2 Guest(s)