11.11.2010, 17:38
Hi,plz can some one help my whit this and tnx for help:
Anyone know why?
What is the problem
Код:
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.
What is the problem


