Variable help PlayerInfo Error
#1

Code:
public OnPlayerSpawn(playerid)
{
        SetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
	SetPlayerSkin(playerid, PlayerInfo[playerid][29]);
	SetPlayerHealth(playerid, PlayerInfo[playerid][100]);
	SetPlayerArmour(playerid, PlayerInfo[playerid][5]);
	GivePlayerMoney(playerid, PlayerInfo[playerid][250000]);
	SetPlayerColor(playerid, COLOR_GREEN);
		return 1;
}
Errors

Code:
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(289) : warning 217: loose indentation
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(302) : warning 217: loose indentation
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(31 : warning 217: loose indentation
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(32 : error 029: invalid expression, assumed zero
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(32 : warning 215: expression has no effect
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(32 : error 001: expected token: ";", but found "]"
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(32 : error 029: invalid expression, assumed zero
C:\Users\Ewony\Desktop\New folder\filterscripts\Login.pwn(32 : fatal error 107: too many error messages on one line

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


4 Errors.
Reply


Messages In This Thread
Variable help PlayerInfo Error - by Ale1234 - 05.05.2015, 17:16
Re: Variable help PlayerInfo Error - by IndependentGaming - 05.05.2015, 17:49
Re: Variable help PlayerInfo Error - by Konstantinos - 05.05.2015, 17:49
Re: Variable help PlayerInfo Error - by IndependentGaming - 05.05.2015, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)