SA-MP Forums Archive
/command & error - 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)
+--- Thread: /command & error (/showthread.php?tid=325351)



/command & error - 032.Marcus - 12.03.2012

Script: Ravens v4.2

Description: I editing something, but i have 26 errors, probably with { }. I used some Brackets Finder and from start to end of errors it was = { & }

Errors:
Код:
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3384) : error 004: function "SafeGivePlayerMoney" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3413) : error 004: function "SafeGivePlayerMoney" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3759) : error 004: function "SafeSetPlayerInterior" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3802) : error 017: undefined symbol "GetVehicleName"
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3802) : warning 202: number of arguments does not match definition
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3818) : error 004: function "IsASalesVehicle" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3822) : error 004: function "GetVehiclePrice" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3917) : error 004: function "SafeSetPlayerPos" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3922) : error 004: function "SafeSetPlayerPos" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3927) : error 004: function "SafeSetPlayerPos" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3932) : error 004: function "SafeSetPlayerPos" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(3937) : error 004: function "SafeSetPlayerPos" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(5547) : error 004: function "ClearChatbox" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(5614) : error 004: function "ClearChatbox" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6133) : error 004: function "SafeGivePlayerMoney" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6173) : error 004: function "SafeResetPlayerWeapons" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6202) : error 004: function "SafeGivePlayerWeapon" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6249) : error 004: function "SaveGuns" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6253) : error 004: function "SafeGivePlayerMoney" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6257) : error 004: function "SafeGivePlayerMoney" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6261) : error 004: function "UpdatePlayerPosition" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6367) : error 004: function "SafeSetPlayerPos" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6368) : error 004: function "SafeSetPlayerInterior" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6377) : error 004: function "SafeSetPlayerPos" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6378) : error 004: function "SafeSetPlayerInterior" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6410) : error 004: function "RemoveRoadblock" is not implemented
F:\Underground Roleplay\Underground SAMP\gamemodes\Underground.pwn(6467) : error 004: function "SafeSetPlayerPos" is not implemented

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


26 Errors.
http://pastebin.com/E9rzikTi

I forgot to get backup, i translating too much withouh backup (stupid) :S Please help me, if someone need i will give full script to see problem


Re: /command & error - PjFord - 12.03.2012

you need to post lines 3384 - 6467 of your script.


Re: /command & error - 032.Marcus - 13.03.2012

I did, i have some error with posting. Look link of pastebin, thats the code. I checked from the start to end of error and same number of { }, but in whole script 1+{


Re: /command & error - Alexy_Dramon - 13.03.2012

Well to avoid this you need Do it like this Follow
Код:
{
             if(playercmd" /cmd, true 10 = 0)
                 SendlientMessage(playerid, red, "test");
                   return 1;
          {
             if(playercmd" /cmd, true 10 = 0)
                 SendlientMessage(playerid, red, "test");
                   return 1;
you need always check that your Return 1; have blow and up
i'm sorry for my english and i'm not at home but i just typed what i'm remember of it


Re: /command & error - 032.Marcus - 13.03.2012

I dont understand u, and i dont think that thats the problem cause i had commands for gates and worked...