Jump to content
  • 0

O mica problema la /cabinet


SyNNN

Question

Salut

Am incercat sa fac un menu pentru factiuni (/cabinet) si mi-a dat eroarea asta. Am adaugat ultimadata codul de mai jos si nu inteleg cu ce am gresit.

public OnPlayerSelectedMenuRow(playerid, row)
{
    new Menu:Current = GetPlayerMenu(playerid);
	new Menu:CurrentMenu = GetPlayerMenu(playerid);
    if(Current == cabinetlcn)
	{
	    switch(row)
	    {
            case 0:
	        {
	        	TogglePlayerControllable(playerid,1);
			    GivePlayerWeapon(playerid, 24, 20);
                SendClientMessage(playerid,COLOR_GREEN, "Ai luat deagle din cabinet");
		 	}
    		case 1:
	        {
	        	TogglePlayerControllable(playerid,1);
                GivePlayerWeapon(playerid, 30, 15);
                SendClientMessage(playerid,COLOR_GREEN, "Ai luat ak47 din cabinet");
		 	}
		 	case 2:
	        {
	        	TogglePlayerControllable(playerid,1);
                GivePlayerWeapon(playerid, 29, 20);
                SendClientMessage(playerid,COLOR_GREEN, "Ai luat MP5 din cabinet");
		 	}
		 	case 3:
            {
                 HideMenuForPlayer(cabinetlcn,playerid);
                 ShowMenuForPlayer(cabinetlcn,playerid);
                 TogglePlayerControllable(playerid,0);
	    	}
   	    }
    }
}
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1684) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1688) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1700) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1704) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1708) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1712) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1716) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1720) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1724) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1736) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1740) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1744) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1748) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1752) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1764) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1768) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1772) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1784) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(1788) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(2544) : error 004: function "RemoveRoadblock" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(3565) : warning 204: symbol is assigned a value that is never used: "CurrentMenu"
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(3734) : error 004: function "CrimInRange" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(4018) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(4687) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(4764) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(5451) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Silviu\Desktop\Server samp in lucru 0.3c\gamemodes\gf.pwn(5457) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.