1 pROBLEM
#1

Hi,plz can some one help my whit this and tnx for help:

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(PhoneInOut[playerid] == 1) //If Phone is out
    {
        if(newkeys == KEY_WALK)//To hide phone, ALT
        {
        	HidePhoneForPlayer(playerid);
		}
		if(newkeys == KEY_SECONDARY_ATTACK)//ENTER
		{
		    if(PhoneButtonMode[playerid] == 1)// If player is navigating menu
      {
          		OnPlayerSelectedPhoneMenuRow(playerid, PhoneMenuCallItemPosition[playerid]);
				return 1;
			}
			else
			if(PhoneButtonMode[playerid] == 2)//If is navigating keys
		    {
				new key;
				if(CurrentKey[playerid] == 10){key = 0;}else key = CurrentKey[playerid];
				OnPlayerSelectedPhoneKey(playerid, key);
			}
		}
        return 1;
	}
	return 1;
}
Код:
C:\Documents and Settings\Mr.Data\Desktop\Exodus\filterscripts\mob.pwn(163) : warning 217: loose indentation
C:\Documents and Settings\user1\folnder\modd\filterscripts\xxx.pwn(190) : error 004: function "OnPlayerSelectedPhoneMenuRow" is not implemented
C:\Documents and Settings\user1\folnder\modd\filterscripts\xxx.pwn(198) : error 004: function "OnPlayerSelectedPhoneKey" is not implemented
C:\Documents and Settings\user1\folnder\modd\filterscripts\xxx.pwn(438) : error 004: function "OnPhoneHidden" is not implemented
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Anyone know why?
What is the problem
Reply
#2

there are no such callbacks like: Selectedphonemenurow,selectedphonekey,onphonehidde n.
Reply
#3

You missed out a bracket somewhere.
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=122656
Reply
#5

And yes i am try lik inc but i get the same error but in deafrend vhey

(190) : error 004: function "OnPlayerSelectedPhoneMenuRow" is not implemented
Reply
#6

Anyone? ? ?
Reply
#7

By the looks of it, NeRoSiS has not put a "Public OnPlayerSelectedPhoneMenuRow" in the .inc file
Reply
#8

plzz can you fixit?
Reply
#9

Well, im not a good enough scripter to do my own .inc files or what ever, and no one else even knows exactly how NeRoSiS scripts so i dont know if anyone else will be able to Make the OnPlayerSelectedPhoneMenuRow callback.. You might just have to wait for someone to release a new .inc file
Reply
#10

Quote:
Originally Posted by Ritchie999
Посмотреть сообщение
By the looks of it, NeRoSiS has not put a " Public OnPlayerSelectedPhoneMenuRow" in the .inc file
He has to put it in he's GM, so Carrera, add
pawn Код:
public OnPlayerSelectedPhoneMenuRow
in your script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)