3 Errors.
#1

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (newkeys == 16) {
        if(IsInShml[playerid] > 0) {
            new Float:X,Float:Y,Float:Z;
            GetVehiclePos(IsInShml[playerid], X, Y, Z);
            SetPlayerPos(playerid, X+4, Y, Z);
            SetPlayerInterior(playerid, 0);
            IsInShml[playerid]=0;
		}
	}
	return 1;
}
	if (PRESSED(KEY_FIRE))
	{
		if (IsPlayerInAnyVehicle(playerid))
		{
			AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
		}
	}
	return 1;
}
that's were the problem is.
Код:
C:\Users\Giannis\Desktop\SA-MP Server\gamemodes\MyGameMode.pwn(4806) : error 010: invalid function or declaration
C:\Users\Giannis\Desktop\SA-MP Server\gamemodes\MyGameMode.pwn(4808) : error 010: invalid function or declaration
C:\Users\Giannis\Desktop\SA-MP Server\gamemodes\MyGameMode.pwn(4813) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
the errors.
Reply


Messages In This Thread
3 Errors. - by JohnDoVaS12345 - 18.01.2012, 11:41
Re: 3 Errors. - by sabretur - 18.01.2012, 11:45
Re: 3 Errors. - by JohnDoVaS12345 - 18.01.2012, 11:49
Re: 3 Errors. - by Konstantinos - 18.01.2012, 11:54
Re: 3 Errors. - by sabretur - 18.01.2012, 11:55
Re: 3 Errors. - by JohnDoVaS12345 - 18.01.2012, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)