about CallRemoteFunction
#1

hey, sorry for my bad english
i have a question.. how can i get information from gamemode then i put then in filterscript , Someone say using CallRemoteFunction
example:
Код:
// In Gamemode
CMD:dm(playerid, params[])
{
	InDM[playerid] = 1;
	SendClientMessage(playerid, 0xFFFFFFFF, "You are in DM");
	return 1;
}
then the variable in gamemode want to put in filterscript

Код:
// In Filterscript
CMD:car(playerid, params[])
{
	if(InDM[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFFFF, "You can't spawn car when in DM");
	return 1;
}
can someone explain ?
Reply


Messages In This Thread
about CallRemoteFunction - by Genmetal - 18.02.2015, 00:52
Re: about CallRemoteFunction - by arakuta - 18.02.2015, 01:12
Re: about CallRemoteFunction - by Genmetal - 18.02.2015, 01:20
Re: about CallRemoteFunction - by arakuta - 18.02.2015, 01:25
Re: about CallRemoteFunction - by Genmetal - 18.02.2015, 02:17
Re: about CallRemoteFunction - by Genmetal - 18.02.2015, 02:28
Re: about CallRemoteFunction - by PaulDinam - 18.02.2015, 02:44
Re: about CallRemoteFunction - by Genmetal - 18.02.2015, 03:08

Forum Jump:


Users browsing this thread: 2 Guest(s)