01.05.2010, 16:19
I AGAIN tryed to make heal command in Carlito's Roleplay.
That's the command:
And i get a lot of errors!
When i delete this command everything compiles fine... WHERE's THE PROBLEM?!
That's the command:
Код:
if{strcmp(cmd, "/ulecz". true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 2) { giveplayerid = ReturnUser(tmp); SetPlayerHealth(playerid, 100) format(string, sizeof{string{, "*Uzdrowiłeś gracza %s.", giveplayerid); SendClientMessage{playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "* Zostałeś uzdrowiony przez medyka %s.", playerid); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string); PlayerPlaySound(giveplayerid, 1150, 0.0, 0.0, 0.0); { else { SendClientMessage{playerid, COLOR_RED, "Nie jesteś medykiem !"); }
Код:
C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1196) : error 017: undefined symbol "ShowServerPassword" C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1263) : error 004: function "FixHour" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1305) : error 004: function "KickPlayer" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1322) : error 017: undefined symbol "ClearScreen" C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1323) : error 004: function "ShowScriptStats" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1325) : error 017: undefined symbol "RPName" C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1347) : error 004: function "KickPlayer" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1353) : error 004: function "LoadDynamicFactions" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1354) : error 004: function "LoadDynamicCars" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1355) : error 004: function "LoadCivilianSpawn" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1356) : error 004: function "LoadBuildings" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1357) : error 004: function "LoadHouses" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1358) : error 004: function "LoadBusinesses" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1359) : error 004: function "LoadFactionMaterialsStorage" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1360) : error 004: function "LoadFactionDrugsStorage" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1361) : error 004: function "LoadDrivingTestPosition" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1362) : error 004: function "LoadFlyingTestPosition" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1363) : error 004: function "LoadBankPosition" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1364) : error 004: function "LoadWeaponLicensePosition" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1365) : error 004: function "LoadPoliceArrestPosition" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1366) : error 004: function "LoadPoliceDutyPosition" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1367) : error 004: function "LoadGunJob" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1368) : error 004: function "LoadDrugJob" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1369) : error 004: function "LoadDetectiveJob" is not implemented C:\Documents and Settings\Machlik\Pulpit\CRP_0.3\SA-MP\gamemodes\crp.pwn(1370) : error 004: function "LoadLawyerJob" is not implemented C:\Documents and Settings\Machlik\Pulpit\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.