Some errors
#1

Код:
				for(new i = 1; i < sizeof(Vozila[MAX_XD_VOZILA]); i++ )
					{
					if(Vozila[i][mX] == 0 && Vozila[i][mY] == 0 && Vozila[i][mZ] == 0 && Vozila[i][mKoristen] == 0)
					{
					// vozilo RESET KLJUCA
				PlayerInfo[playerid][pPcarkey] = GetMyCar (playerid); 
				PlayerInfo[playerid][pPcarkey2] = GetMyCar2(playerid); 
PlayerInfo[playerid][pPcarkey3] = GetMyCar3(playerid); //auto 2
I have some errors on tih line PlayerInfo[playerid][pPcarkey] = GetMyCar (playerid);
and there is errors:
Код:
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : error 012: invalid function call, not a valid address
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : warning 215: expression has no effect
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : error 001: expected token: ";", but found ")"
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : error 029: invalid expression, assumed zero
C:\Users\Milan\Desktop\SRV\gamemodes\FactionGame.pwn(2273) : fatal error 107: too many error messages on one line
Reply
#2

Remove the space.
pawn Код:
PlayerInfo[playerid][pPcarkey] = GetMyCar(playerid);
Reply
#3

Didn't work i don't why.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)