06.04.2018, 13:17
than, you can use this.
PHP код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == 16) // 16 = enter
{
cmd_commandname(playerid,"");
}
return 1;
}