[Pomoc]Errori


Započeo SteXi.ılllı., Jun 27, 2011, 19:11:40 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

SteXi.ılllı.

*

the bigger the lie, the more they believe

Skripta koju koristim:FactionGame EDIT
Detaljan opis problema:Ovako dodavao sam stitove za FBI,PD,SWAT i mali kufer za precednika, ali imam 12 errora :(
Dio skripte:
//Stitovi za PD,FBI,SWAT
if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pMember] >= 3 || PlayerInfo[playerid][pLeader] >= 3)
	{
 		if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
		}
	}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pMember] >= 3 || PlayerInfo[playerid][pLeader] == 3)
	{
    	SetPlayerAttachedObject( playerid, 0, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 ); // PoliceShield1 - stit
		}
 	}

if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pMember] >= 2 || PlayerInfo[playerid][pLeader] >= 2)
	{
 		if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
		}
	}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pMember] >= 2 || PlayerInfo[playerid][pLeader] == 2)
	{
    	SetPlayerAttachedObject( playerid, 0, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 ); // PoliceShield1 - stit
		}
 	}

if (strcmp("/ostavistit", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pMember] >= 1 || PlayerInfo[playerid][pLeader] >= 1)
	{
 		if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
		}
	}

if (strcmp("/uzmistit", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pMember] >= 1 || PlayerInfo[playerid][pLeader] == 1) 
	{
    	SetPlayerAttachedObject( playerid, 0, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 ); // PoliceShield1 - stit
		}
 	}

//Kofer za precednika
if (strcmp("/ostaviaktovku", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pLeader] >= 7 || PlayerInfo[playerid][pLeader] == 7)
	{
 		if(IsPlayerAttachedObjectSlotUsed(playerid,0)) RemovePlayerAttachedObject(playerid,0);
		}
	}

if (strcmp("/uzmiaktovku", cmdtext, true, 10) == 0)
	{
	if(PlayerInfo[playerid][pLeader] >= 7 || PlayerInfo[playerid][pLeader] == 7)
	{
 		SetPlayerAttachedObject( playerid, 0, 1210, 5, 0.309078, 0.085499, 0.029562, 347.746734, 263.091888, 1.445542, 1.101942, 1.000000, 1.000000 ); // briefcase - aktovka
		}
 	}


Errori

C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19981) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19981) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19989) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19997) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(19997) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20005) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20013) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20013) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20021) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20030) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20030) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\RelaxZone.pwn(20038) : error 017: undefined symbol "SetPlayerAttachedObject"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


12 Errors.


Neke slike/video za lakse dobivanje pomoci(neobavezno):

Dodaj ovo na vrh skripte:

#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
Just one more time.

SteXi.ılllı.

*

the bigger the lie, the more they believe


K4[Я]!K3

*

'Respect cannot be learned, it can only be earned.'

Jel 0.3c ? ako nije prebacuj :P

Onda ti je problem kao sto karike kaze, prebaci na 0.3c
Just one more time.

SteXi.ılllı.

*

the bigger the lie, the more they believe

Preko 0.3c pawna totalno drugi errori ???

C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(973) : error 017: undefined symbol "SetPlayerMoney"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(1232) : error 017: undefined symbol "StripNewLine"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(1260) : error 017: undefined symbol "StripNewLine"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(1377) : error 017: undefined symbol "StripNewLine"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(1556) : error 017: undefined symbol "StripNewLine"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(1621) : error 017: undefined symbol "StripNewLine"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(1644) : error 017: undefined symbol "StripNewLine"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(1964) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(2017) : error 017: undefined symbol "isNumeric"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(2125) : error 017: undefined symbol "isNumeric"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(2153) : error 017: undefined symbol "isNumeric"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(2162) : error 017: undefined symbol "isNumeric"
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(2311) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(2312) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
C:\DOCUME~1\Stevan\LOCALS~1\Temp\Rar$EX00.828\Pawno 0.3c\include\JunkBuster.inc(2313) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\BoostGaming.pwn(335) : error 025: function heading differs from prototype
C:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\BoostGaming.pwn(55492) : error 021: symbol already defined: "NameTimer"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


13 Errors.

Skini novi JunkBuster(12.6.2011), taj ne valja...
Just one more time.

Probaj ovo dodat na vrh skripte:

Kod: c
new IsPlayerAttachedObjectSlotUsed
new RemovePlayerAttachedObject
new SetPlayerAttachedObject


Preko onog prvog koji si radio...
Poslednja Izmena: Jun 27, 2011, 19:25:42 POSLE PODNE od Uciha

K4[Я]!K3

*

'Respect cannot be learned, it can only be earned.'

Nisi prebacio include fajlove :/

Citat: Uciha poslato Jun 27, 2011, 19:25:07 POSLE PODNE
Probaj ovo dodat na vrh skripte:

Kod: c
new IsPlayerAttachedObjectSlotUsed
new RemovePlayerAttachedObject
new SetPlayerAttachedObject


skoči s mosta :/

CitatProbaj ovo dodat na vrh skripte:

view plaincopy to clipboardprint?
new IsPlayerAttachedObjectSlotUsed  
new RemovePlayerAttachedObject  
new SetPlayerAttachedObject  



Preko onog prvog koji si radio...

To ne moze raditi :S, kako ces funkciju deklarisati preko new :O
Just one more time.

SteXi.ılllı.

*

the bigger the lie, the more they believe

Evo ga ali ima jos 1 error :D

CitatC:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\BoostGaming.pwn(55492) : error 021: symbol already defined: "NameTimer"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Linija:

{



Citat: [RZ]SteXi.ılllı. poslato Jun 27, 2011, 19:34:27 POSLE PODNE
Evo ga ali ima jos 1 error :D

CitatC:\Documents and Settings\Stevan\Desktop\KUCNI SERVER\gamemodes\BoostGaming.pwn(55492) : error 021: symbol already defined: "NameTimer"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Linija:

{



Znaci da ti je taj symbol vec definiran NameTimer samo obrisi.

SteXi.ılllı.

*

the bigger the lie, the more they believe