Set Player Score.
#7

Quote:
Originally Posted by stix
Посмотреть сообщение
ok then do this

if(GetPlayerVehicleID(playerid) == plane1 || GetPlayerVehicle(playerid) == 2 and go on
thank you ill see if it works i have to put it inside the score point right?
edit didnt add vehs only yet but I am getting errors already
Код:
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(1896) : warning 217: loose indentation
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : error 017: undefined symbol "hasspawned"
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : warning 215: expression has no effect
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : error 001: expected token: ";", but found "]"
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : error 029: invalid expression, assumed zero
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\[SFP]Server For Pilots\gamemodes\sfp.pwn(13322) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
lines:
Код:
public gc(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(hasspawned[i] == 1)
        {
            SetPlayerScore(i, GetPlayerScore(i) + 1);
            SendClientMessage(playerid,0xFFFFFFFF,"You recieved +1 score for flying!");
        }
    }
    return 1;
}
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)