01.06.2014, 21:23
So in my script I can enter and exit from houses,business and all that using /enter and /exit,can anyone explain me how to set it that you can enter and exit using the key "F",I need it really bad,thanks.
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_ACTION) // I think this is the "F" key (by default)
{
//do something here
}
return 1;
}