Something i'm confused about.
#1

Код:
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(5381) : error 017: undefined symbol "IsPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(5383) : error 017: undefined symbol "StopPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(5384) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(5388) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(5393) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(5411) : error 017: undefined symbol "IsPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(5413) : error 017: undefined symbol "StopPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(8193) : error 017: undefined symbol "StopPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(30350) : error 017: undefined symbol "StopPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83103) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83107) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83111) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83115) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83119) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83123) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83127) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83131) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83135) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83139) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83143) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83147) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83151) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83155) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83159) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83163) : error 017: undefined symbol "SetPlayerHoldingObject"
C:\Users\pc\Desktop\Ravens\gamemodes\larp.pwn(83167) : error 017: undefined symbol "SetPlayerHoldingObject"

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


26 Errors.

Could someone please help?
Reply
#2

pawn Код:
#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)
Reply
#3

Quote:
Originally Posted by -Luis
Посмотреть сообщение
pawn Код:
#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)
Код:
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(4949) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(4951) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(4952) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(4956) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(4970) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(4971) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(29735) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82897) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82901) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82905) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82909) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82913) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82917) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82921) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82925) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82929) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82933) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82937) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82941) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82945) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82949) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82953) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82957) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82961) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82965) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Callum\Desktop\eXplosive\Raven's Roleplay 0.3c\gamemodes\larp.pwn(82969) : error 017: undefined symbol "SetPlayerAttachedObject"

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


26 Errors.
still get that.
Reply
#4

You are missing a bracket somewhere in your script.
Reply
#5

In the whole script?
Reply
#6

Yea, Somewhere you edited,added into your script, your forgot a bracket, or put it backwards..
You either can look where you edited,added, look line by line, or find a program to do it for you
Reply
#7

Quote:
Originally Posted by patfay
Посмотреть сообщение
Yea, Somewhere you edited,added into your script, your forgot a bracket, or put it backwards..
You either can look where you edited,added, look line by line, or find a program to do it for you
Could you name a program?
Reply
#8

https://sampforum.blast.hk/showthread.php?tid=171429
It's complicated to install though, but you can give it a try
Reply
#9

Quote:
Originally Posted by patfay
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=171429
It's complicated to install though, but you can give it a try
Thankyou ever so much, so that will be the problem solved? could i not use CTRL + F and search "}" or something?
Reply
#10

Quote:
Originally Posted by patfay
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=171429
It's complicated to install though, but you can give it a try
He's not missing a bracket..

Add this @ top of your script, after you included <a_samp>

pawn Код:
#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)
If this doesn't work for you, just remove or comment those parts in your script which are using "AttachedObject". (Ctrl+F -> AttachedObject)
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)