communicating variabels(gm/fs)
#1

Hey, Ive got this part:

Код:
public afterstop()
{
	if(TimeM == 0 && TimeS == 0)
	{
    	        number1k = 0;
		number1 = 0;
		number2 = 0;
		number3 = 0;
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
	    	        if(IsPlayerConnected(i))
	    	        {
				SetPlayerScoreEx(i);
				GivePVarInt(i, "ikills",0);
				GivePVarInt(i, "ideaths",0);
			}
 		}
	}
	return 1;
}
This should happen when TimeM and TimeS are both 0. (Of my timer in my gm, a countdown). This is in my filterscript as you might already know. But how can I make the public start from my gamemode? Ive seen something like CallRemoteFunction, but I don't get it on wiki and there are no good tuts for it. Anyone help please.
Reply


Messages In This Thread
communicating variabels(gm/fs) - by Baboon - 02.02.2011, 15:43
Re: communicating variabels(gm/fs) - by Stylock - 02.02.2011, 17:59

Forum Jump:


Users browsing this thread: 1 Guest(s)