SA-MP Forums Archive
Think I got a missing } or something, but where? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Think I got a missing } or something, but where? (/showthread.php?tid=157099)



Think I got a missing } or something, but where? - Rilehh - 05.07.2010

Error message:

Код:
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(1685) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(1714) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(1750) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(1751) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(1778) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2118) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2129) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2141) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2145) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2157) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2161) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2165) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2169) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2173) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2177) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2181) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2185) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2197) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2201) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2205) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2209) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2213) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2225) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2229) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2233) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Joe\Desktop\Sa-mp\gamemodes\logicalroleplay.pwn(2245) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.
Any way of finding out where this missing } might be?


Re: Think I got a missing } or something, but where? - _Vortex - 05.07.2010

How do you expect us to know if we don't have the code?


Re: Think I got a missing } or something, but where? - [LDT]LuxurY - 05.07.2010

in your logicalroleplay.pwn
please post your code here: http://pastebin.com/


Re: Think I got a missing } or something, but where? - dice7 - 05.07.2010

Search for the functions "SafeResetPlayerWeapons", "SafeGivePlayerMoney" and "PlayerToPoint" and paste them on the end of your script


Re: Think I got a missing } or something, but where? - Rilehh - 05.07.2010

[link removed]


Re: Think I got a missing } or something, but where? - Dws - 05.07.2010

Tell us the last thing you changed of GM before compiling the GM.


Re: Think I got a missing } or something, but where? - Rilehh - 05.07.2010

Errrm, either the arms dealer system or the crack and pot system


Re: Think I got a missing } or something, but where? - Rilehh - 05.07.2010

There are quite a few, search pArmsDealerSkill ; pCrack ; pPot


Re: Think I got a missing } or something, but where? - WackoX - 05.07.2010

Quote:
Originally Posted by Rilehh
Посмотреть сообщение
http://www.mediafire.com/?j5zz0qhwy5n

Link will be taken down as soon as my problem is fixed
I cannot even compile that script, it crashes Pawno.

UPDATE: Well i found 1 thing, the /give command let's my Pawno crash, if i delete that command i get same warnings as you said in first post, so first go fix /give.


Re: Think I got a missing } or something, but where? - Rilehh - 05.07.2010

Quote:
Originally Posted by WackoX
Посмотреть сообщение
I cannot even compile that script, it crashes Pawno.

UPDATE: Well i found 1 thing, the /give command let's my Pawno crash, if i delete that command i get same warnings as you said in first post, so first go fix /give.
Aha! cool! I fixed the /give command and pawno does not crash now, I accidently added a } by mistake, But I still have the errors i started with

[LINK HAS BEEN UPDATED TO THE NON-PAWNO CRASHING SCRIPT]

[LINK REMOVED]