16.05.2009, 00:01
Something like this
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys & KEY_SUBMISSION)
{
OnPlayerCommandText(playerid, "/ticket");
//if /ticket is in another script, use:
//CallRemoteFunction("OnPlayerCommandText", "is", playerid, "/ticket");
return true;
}
return false;
}

