16.01.2015, 17:05
Are you sure that "F" is "KEY_SECONDARY_ATTACK" try to getin with "Enter" as it's the default, try to get in with enter, also make a debug to make sure the callback is being called
Read this.
pawn Код:
if ((newkeys & KEY_SECONDARY_ATTACK) && !(oldkeys & KEY_SECONDARY_ATTACK))
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
SendClientMessage(playerid, -1, "The callback is being called, the problem might be in ""SendToEnter"" or ""SendToExit"");
SendToEnter(playerid);
SendToExit(playerid);
}
}
Quote:
Why are these like this:
PHP код:
PHP код:
|