Think I got a missing } or something, but where?
#1

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?
Reply
#2

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

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

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

[link removed]
Reply
#6

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

Errrm, either the arms dealer system or the crack and pot system
Reply
#8

There are quite a few, search pArmsDealerSkill ; pCrack ; pPot
Reply
#9

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.
Reply
#10

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]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)