Help | Why its not working?
#1

i wrote this in my script:
Код:
public OnPlayerEnterCheckpoint(playerid)
{
  GameTextForAll("Attackers has won the game!", 5000, 3);
  for(new winners = 0; winners < MAX_PLAYERS; winners++)
  {
		if(IsPlayerConnected(winners) && GetPlayerSkin(winners) == 163) CallRemoteFunction("EndGame", "d", winners), print("RonLipel is the king");
	}
	return 1;
}
and this is in another file:
Код:
public GameEnd(winners)
{
  PlayerInfo[winners][GamesWon]++;
	for(new i = 0; i < GetMaxPlayers(); i++) PlayerInfo[i][GamesCompleted]++;
	SetGame(CorrentGame == MAX_GAMES? 0 : CorrentGame + 1);
 	return 1;
}
and its not working...
but my "print", that i wrote to check this problem is works, so the problem should be in my "CallRemoteFunction", i just can't find it. :S
Help! i need somebody, Help! I dont have anybody, HELPPPPPP!
tnx,
Ron
Reply


Messages In This Thread
Help | Why its not working? - by RonLipel_ - 27.06.2009, 17:37
Re: Help | Why its not working? - by FUNExtreme - 27.06.2009, 18:20
Re: Help | Why its not working? - by RonLipel_ - 27.06.2009, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)