Help, script error
#1

Код:
 C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2024) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2033) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2491) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2495) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2507) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2511) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2515) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2519) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2523) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2527) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2531) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2543) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2547) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2551) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2555) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2559) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2571) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2575) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2579) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2591) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2595) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(2599) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(3733) : error 017: undefined symbol "Penzhalal"
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(4755) : error 017: undefined symbol "GetPlayerNameEx"
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(4756) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Gibert\Dokumentumok\APRP\gamemodes\gf.pwn(5194) : error 004: function "CrimInRange" is not implemented

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


26 Errors.

	        	{
Код:
 if(strcmp(cmd, "/fcall", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
		{
		if(IsPlayerInRangeOfPoint(playerid, 5.0, 2309.1965,-8.4397,26.7422))
	        	{

			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "Hasznбlat: /tcall [TelefonSzбm]");
				return 1;
			}
			if(PlayerInfo[playerid][pPnumber] == 0)
			{
				SendClientMessage(playerid, COLOR_LIGHTRED, "  Nincs mobiltelefonod.");
				return 1;
			}
			GetPlayerName(playerid, sendername, sizeof(sendername));
			format(string, sizeof(string), "* %s előveszi a telefonjбt, йs felhнv valakit.", sendername);
			ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE); // Anim
			new phonenumb = strval(tmp);
			if(phonenumb == 911)
			{
				SendClientMessage(playerid, COLOR_WHITE, "Tipp: A T Betűvel нrhatsz. Telefon letevйse: /h");
				SendClientMessage(playerid, COLOR_ALLDEPT, "Sьrgőssйgi: Kit szeretne felhнvni, a [Rendőrsйg]-et, vagy a [Mentő]-ket?");
				Mobile[playerid] = 911;
				return 1;
			}
			if(phonenumb == PlayerInfo[playerid][pPnumber])
			{
				SendClientMessage(playerid, COLOR_LIGHTRED, "  Magadat minek hнvod fel?!");
				return 1;
			}
			if(Mobile[playerid] != 255)
			{
				SendClientMessage(playerid, COLOR_LIGHTRED, "  Mбr hнvбsban vagy.");
				return 1;
			}
			for(new i = 0; i < MAX_PLAYERS; i++)
			{
				if(IsPlayerConnected(i))
				{
					if(PlayerInfo[i][pPnumber] == phonenumb && phonenumb != 0)
					{
						giveplayerid = i;
						Mobile[playerid] = giveplayerid; //caller connecting
						if(IsPlayerConnected(giveplayerid))
						{
						    if(giveplayerid != INVALID_PLAYER_ID)
						    {
						        if(PhoneOnline[giveplayerid] > 0)
						        {
						            SendClientMessage(playerid, COLOR_GREY, "   A jбtйkos telefonja ki van kapcsolva.");
						            return 1;
						        }
								if (Mobile[giveplayerid] == 255)
								{
									format(string, sizeof(string), "A telefonod csцrцg. (Felvйtel: /pickup)  Hнvу: Ismeretlen");
									SendClientMessage(giveplayerid, COLOR_YELLOW, string);
									GetPlayerName(giveplayerid, sendername, sizeof(sendername));
									RingTone[giveplayerid] = 10;
									format(string, sizeof(string), "* Valakinek elkezd csцrцgni a telefonja.");
									SendClientMessage(playerid, COLOR_WHITE, "Tipp: A T Betűvel нrhatsz. Telefon letevйse: /h");
									ProxDetector(30.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
									CellTime[playerid] = 1;
									return 1;
								}
							}
						}
					}
				}
			}
			SendClientMessage(playerid, COLOR_LIGHTRED, "  Magadat minek hнvod fel?!");
		}
			return 1;
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)