C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1196) : error 017: undefined symbol "ShowServerPassword" C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1263) : error 004: function "FixHour" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1305) : error 004: function "KickPlayer" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1322) : error 017: undefined symbol "ClearScreen" C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1323) : error 004: function "ShowScriptStats" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1325) : error 017: undefined symbol "RPName" C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1347) : error 004: function "KickPlayer" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1353) : error 004: function "LoadDynamicFactions" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1354) : error 004: function "LoadDynamicCars" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1355) : error 004: function "LoadCivilianSpawn" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1356) : error 004: function "LoadBuildings" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1357) : error 004: function "LoadHouses" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1358) : error 004: function "LoadBusinesses" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1359) : error 004: function "LoadFactionMaterialsStorage" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1360) : error 004: function "LoadFactionDrugsStorage" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1361) : error 004: function "LoadDrivingTestPosition" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1362) : error 004: function "LoadFlyingTestPosition" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1363) : error 004: function "LoadBankPosition" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1364) : error 004: function "LoadWeaponLicensePosition" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1365) : error 004: function "LoadPoliceArrestPosition" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1366) : error 004: function "LoadPoliceDutyPosition" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1367) : error 004: function "LoadGunJob" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1368) : error 004: function "LoadDrugJob" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1369) : error 004: function "LoadDetectiveJob" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1370) : error 004: function "LoadLawyerJob" is not implemented C:\Documents and Settings\Machlik\Moje dokumenty\Pobieranie\CRP_0.3\SA-MP\gamemodes\crp.pwn(1371) : error 004: function "LoadProductsSellerJob" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.=
} command(heal, playerid, params[]) { new userid, price; if (sscanf(params, "ud", userid, price)) SendClientMessage(playerid, COLOR_WHITE, "SYNTAX - /heal [playerid] [price]"); else { if(IsPlayerConnected(userid)) { if(DynamicFactions[pStats[playerid][pFaction]][fType] == 2) { if(price >= 500) { SendClientMessage(playerid, COLOR_WHITE, "You're unable to charge above $500."); return 1; } new string[128]; format(string, sizeof(string), "You have been healed by %s, for $%d.", GetPlayerNameEx(playerid), price); SendClientMessage(userid, COLOR_WHITE, string); SetPlayerHealth(userid, 100); format(string, sizeof(string), "You have healed %s, for $%d.", GetPlayerNameEx(userid), price); SendClientMessage(playerid, COLOR_WHITE, string); } else { SendClientMessage(playerid, COLOR_WHITE, "Invalid faction/type"); } } else { SendClientMessage(playerid, COLOR_WHITE, "Invalid ID."); } } return 1;
#include <JunkBuster>
Originally Posted by [ĦŁ₣
ЉǾǖŦĦЗŁΛẄ ]
Check your indentation, never must you have two braces, open or close, on the same tab column: Callback() { Function() { Statement() { //Etc... } } } You must have your braces aligned so you can keep track of them and know what and where functions and statements start and end. Correction: Callback() { Function() { Statement() { //Etc... } } } Check your command script again and look for abnormalities like this. |
Originally Posted by [ĦŁ₣
ЉǾǖŦĦЗŁΛẄ ]
Quote:
Here's a clue as to where the extra brace is :P else { SendClientMessage(playerid, COLOR_WHITE, "Invalid faction/type"); }<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<Here ![]() } else { SendClientMessage(playerid, COLOR_WHITE, "Invalid ID."); } else { SendClientMessage(playerid, COLOR_WHITE, "Invalid faction/type"); }<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<Here ![]() } else { SendClientMessage(playerid, COLOR_WHITE, "Invalid ID."); } Then you need to add an end bracket, keep the same amount of open braces: '{' as close braces: '}' |