What I'm dooing wrong?!
#1

Okey, I'm trying to make some medic commands to Carlito's Roleplay. I was trying to write my one but i thought i failed, so i just did copy of Project Salad /heal commands. And ZONK! I still get errors...

Код:
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.=
@UP@That's what I'm geting when i copy this code@DOWN@
Код:
}
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;
Any issues? Maybe i need some includes or filterscripts?

P.S. When i added
Код:
 #include <JunkBuster>
to make a AntiCheat, I'm geting similar errors
Reply


Messages In This Thread
What I'm dooing wrong?! - by sekol - 20.04.2010, 15:00
Re: What I'm dooing wrong?! - by sekol - 20.04.2010, 15:22
Re: What I'm dooing wrong?! - by Oxside - 20.04.2010, 15:24
Re: What I'm dooing wrong?! - by sekol - 20.04.2010, 18:24
Re: What I'm dooing wrong?! - by Oxside - 28.04.2010, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)