17.01.2014, 20:45
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_SECONDARY_ATTACK)
{
CallLocalFunction("OnPlayerCommandText", "is", playerid, "/enter");
CallLocalFunction("OnPlayerCommandText", "is", playerid, "/salir");
return 1;
}
return 1;
}