OnPlayerText problems?
#1

I pretty much adapted a copy of the questionare from the tutorial to my script and for some reason it refuses to start when you register, I'm used making code like

Код:
public OnPlayerDisconnect(playerid)
{
  RegisterStep[playerid] = 0;
	if(sprunkTimer[playerid] != -1){
  KillTimer(sprunkTimer[playerid]);
  sprunkTimer[playerid] = -1; }
	dead[playerid] = 0; injured[playerid] = 0;
  if(PlayerInfo[playerid][pLogged] == 1)
  SaveStats(playerid);
And it calls on SaveStats, I'm not used to working with publics and don't understand how to work with this. I just don't know what the problem is.
Reply


Messages In This Thread
OnPlayerText problems? - by MisterTickle - 20.09.2009, 02:41
Re: OnPlayerText problems? - by ilikepie2221 - 20.09.2009, 02:44
Re: OnPlayerText problems? - by MisterTickle - 20.09.2009, 02:46
Re: OnPlayerText problems? - by ilikepie2221 - 20.09.2009, 02:47
Re: OnPlayerText problems? - by MisterTickle - 20.09.2009, 02:48
Re: OnPlayerText problems? - by ilikepie2221 - 20.09.2009, 02:52

Forum Jump:


Users browsing this thread: 1 Guest(s)