Set Player Score.
#1

Hey I got to help me and he made this code

forward gc(playerid); //forward....
SetTimer("gc",60000,true); // 60 seconds or??
pawn Код:
public gc(playerid)
{
    for(new i; i > MAX_PLAYERS; i++)
    {
        if(hasspawned[i] == 1)
        {
            SetPlayerScore(i, GetPlayerScore(i) + 1);
            SendClientMessage(playerid,0xFFFFFFFF,"You recieved +1 score for flying!");
        }
    }
    return 1;
}
Now, I want to change all of it only when player is in plane.
Any suggestions on how to do it?
Reply


Messages In This Thread
Set Player Score. - by propilot - 23.12.2010, 01:11
Re: Set Player Score. - by willsuckformoney - 23.12.2010, 01:59
Re: Set Player Score. - by propilot - 23.12.2010, 02:36
Re: Set Player Score. - by stix - 23.12.2010, 03:31
Re: Set Player Score. - by propilot - 23.12.2010, 03:36
Re: Set Player Score. - by stix - 23.12.2010, 03:37
Re: Set Player Score. - by propilot - 23.12.2010, 03:38
Re: Set Player Score. - by willsuckformoney - 23.12.2010, 03:52
Re: Set Player Score. - by propilot - 23.12.2010, 03:54
Re: Set Player Score. - by Joe Staff - 23.12.2010, 03:57

Forum Jump:


Users browsing this thread: 1 Guest(s)