larp.pwn(3477) : error 004: function "SafeGivePlayerMoney" is not implemented larp.pwn(3506) : error 004: function "SafeGivePlayerMoney" is not implemented larp.pwn(3852) : error 004: function "SafeSetPlayerInterior" is not implemented larp.pwn(3895) : error 017: undefined symbol "GetVehicleName" larp.pwn(3895) : warning 202: number of arguments does not match definition larp.pwn(3995) : error 004: function "SafeSetPlayerPos" is not implemented larp.pwn(4000) : error 004: function "SafeSetPlayerPos" is not implemented larp.pwn(4005) : error 004: function "SafeSetPlayerPos" is not implemented larp.pwn(4010) : error 004: function "SafeSetPlayerPos" is not implemented larp.pwn(4015) : error 004: function "SafeSetPlayerPos" is not implemented larp.pwn(4826) : error 004: function "ABroadCast" is not implemented larp.pwn(4828) : error 004: function "ABroadCast" is not implemented larp.pwn(5630) : error 004: function "ClearChatbox" is not implemented larp.pwn(5648) : error 004: function "SendAdminMessage" is not implemented larp.pwn(5653) : error 004: function "OnPlayerUpdateEx" is not implemented larp.pwn(5675) : error 004: function "SendAdminMessage" is not implemented larp.pwn(5686) : error 004: function "OnPlayerUpdateEx" is not implemented larp.pwn(5697) : error 004: function "ClearChatbox" is not implemented larp.pwn(5705) : error 004: function "SendAdminMessage" is not implemented larp.pwn(5707) : error 004: function "SendAdminMessage" is not implemented larp.pwn(5857) : error 004: function "SendIRCMessage" is not implemented larp.pwn(5879) : error 004: function "SendIRCMessage" is not implemented larp.pwn(5891) : error 004: function "SaveCK" is not implemented larp.pwn(5921) : error 004: function "SavePapers" is not implemented larp.pwn(5952) : error 004: function "SaveFamilies" is not implemented larp.pwn(6196) : error 004: function "OOCOff" is not implemented larp.pwn(6210) : error 004: function "OOCOff" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
MISSING BRACKET: The { bracket on line 20729 does not have a pair! Result: Opening angle brackets ({): 15682 Closing angle brackets (}): 15681 1 angle brackets without pair! Fix it!
if(Current == CluckinBell) { switch(row) { case 0: { SafeGivePlayerMoney(playerid, -3); if(Health <= 74.9) { SetPlayerHealth(playerid, PlayerHealth+25); } else { SetPlayerHealth(playerid, 100.0); } SendClientMessage(playerid, 0xFFC801C8, "Cluckin' Bell: Thank you for your interest in our food, good afternoon!"); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); TogglePlayerControllable(playerid, 1); SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid); return 1; } case 1: { SafeGivePlayerMoney(playerid, -6); if(Health <= 49.9) { SetPlayerHealth(playerid, PlayerHealth+50); } else { SetPlayerHealth(playerid, 100.0); } SendClientMessage(playerid, 0xFFC801C8, "Cluckin' Bell: we thank you and hope you enjoy your Chicken Wing, have a good day!"); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); TogglePlayerControllable(playerid, 1); SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid); return 1; } case 2: { SafeGivePlayerMoney(playerid, -9); SetPlayerHealth(playerid, 100); SendClientMessage(playerid, 0xFFC801C8, "Cluckin' Bell: We hope you eat it all, have a nice day!"); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); TogglePlayerControllable(playerid, 1); SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid); return 1; } case 3: { if(PlayerTied[playerid] != 1 || PlayerCuffed[playerid] != 1) { TogglePlayerControllable(playerid, 1); } SetTimerEx("CanDriveThruAgain", 7000, 0, "i", playerid); return 1; } } }
CTextdraw8 = TextDrawCreate(222.000000, 154.000000, "5"); TextDrawBackgroundColor(CTextdraw8, 255); TextDrawFont(CTextdraw8, 1); TextDrawLetterSize(CTextdraw8, 0.500000, 2.000000); TextDrawColor(CTextdraw8, 255); TextDrawSetOutline(CTextdraw8, 0); TextDrawSetProportional(CTextdraw8, 1); TextDrawSetShadow(CTextdraw8, 0);
Show before textdraw and after textdraw code.. Please! And end of the case script!
|
Indent your code properly - that's the ONLY solution. Errors can manifest themselves on incorrect lines sometimes as the compiler doesn't realise anything is missing until it reaches something it wasn't expecting later on in the code. And then the question is what line should a "missing" feature be reported on? In theory if it's missing, it's missing from every line after where it could have first appeared (but backtracking to that point is hard). Solution! |
Show the callback / function above where the error is Solution PrawkC |
******
Or.. Tryed to look how it is but found something only like this you need only to do it with textdraws... Orginal :https://sampforum.blast.hk/showthread.php?tid=281867 |
http://pastebin.com/hRfWUv7z
^ I think the public above might have something wrong where the final } is placed. Here is a screenie of the end of the public: ![]() |
So try to coment all case 3 .. Lets see if you got some missing } before.. I will wait for answer
![]() |
Look at your own image, specifically the collapsing guide on the left, and you will see that that last brace isn't correctly matched. Somewhere in your mode, something MUST be indented or spaced inconsistently and you need to find it.
|