Is there is any easy way?
#10

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
Thanks! but i already tried this method, have a look on the codes:


THIS IS IN FILTERSCRIPT:
Код:
CMD:mstats(playerid, params[])
{
	new string[128];
	format(string, sizeof(string),"{72A6FF}Mission Passed: {FFFFFF}%d\n", CallRemoteFunction("MPass", "d", playerid));
	SendClientMessage(playerid,-1, string);
    return 1;
}
THIS IS IN GAMEMODE:
Код:
forward MPass(playerid);
public MPass(playerid)
{
   return AccInfo[playerid][MissionPass];
}
NOTE: when the mode changes it gets on "0"
I get to call the functions of the gamemode > filterscript, but not conversely.

That maybe you can CallRemoteFunction only works call in gamemode events <-Ok-> filterscript
But call in filterscript <-/-> gamemode.
Reply


Messages In This Thread
Is there is any easy way? - by SpikY_ - 30.08.2015, 15:50
Re: Is there is any easy way? - by Gazzy - 30.08.2015, 16:06
Re: Is there is any easy way? - by SpikY_ - 30.08.2015, 16:19
Re: Is there is any easy way? - by Gazzy - 30.08.2015, 16:37
Re: Is there is any easy way? - by IceBilizard - 30.08.2015, 16:37
Re: Is there is any easy way? - by SpikY_ - 30.08.2015, 17:01
Re: Is there is any easy way? - by Abagail - 30.08.2015, 17:10
Re: Is there is any easy way? - by SpikY_ - 01.09.2015, 16:16
Re: Is there is any easy way? - by Abagail - 01.09.2015, 16:23
Re: Is there is any easy way? - by Logofero - 05.09.2015, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)