some errors
#1

Код:
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(2150) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4584) : error 017: undefined symbol "vehicle"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4585) : error 017: undefined symbol "vehicle"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4586) : error 017: undefined symbol "vehicle"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4604) : error 010: invalid function or declaration
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4607) : error 021: symbol already defined: "GetPlayerPos"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4608) : error 010: invalid function or declaration
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4610) : error 021: symbol already defined: "SetPlayerSpawn"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4612) : error 010: invalid function or declaration
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4620) : error 010: invalid function or declaration
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4621) : error 010: invalid function or declaration
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(4628) : error 010: invalid function or declaration
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(12243) : warning 219: local variable "idcar" shadows a variable at a preceding level
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(15189) : error 017: undefined symbol "carid"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(17795) : error 047: array sizes do not match, or destination array is too small
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(17804) : error 017: undefined symbol "IsAtDealership"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(17821) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(18207) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(18247) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(34901) : warning 203: symbol is never used: "lwx"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(34901) : warning 203: symbol is never used: "lwy"
D:\Skizu\ICE-ZO~1\GAMEMO~1\DYNAMI~1.PWN(34901) : warning 203: symbol is never used: "lwz"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


18 Errors.
help me and me about these errors

Soory for my bad english
Reply
#2

misusing "{" and "}"

give us your full code so that we can fix it
Reply
#3

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    SendClientMessage(playerid, 0xFFC801C8, "[Indiciu] Scrie /masina pentru un control deplin asupra masinii!");
	if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4)
	{
		if (IsACopCar(vehicleid) && !ispassenger)
		{
			if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pMember]==2||PlayerInfo[playerid][pMember]==3) {}
		    else {
				//WantedPoints[playerid]+=2;
				//SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
				new Float:cx, Float:cy, Float:cz;
				GetPlayerPos(playerid, cx, cy, cz);
				SetPlayerPos(playerid, cx,  cy, cz);
			}
		}
		if (IsAnAmbulance(vehicleid) && !ispassenger)
		{
		    if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { }
		    else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Stealing An Ambulance"); }
		}
		if(IsAnOwnableCar(vehicleid) && CarInfo[vehicleid][cLock] == 1 && CarInfo[vehicleid][cOwned] == 1)
		{
		    if(PlayerInfo[playerid][pAdmin] >= 1337 && AdminDuty[playerid] == 1) { }
		    else
		    {
		    	new Float:cx, Float:cy, Float:cz;
		    	GetPlayerPos(playerid, cx, cy, cz);
		    	SetPlayerPos(playerid, cx, cy, cz);
			}
		}
	}
}
Maybe this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)