25.08.2010, 17:34
(
Последний раз редактировалось sergio_xd; 25.08.2010 в 18:46.
)
use isso amigo:
no public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
espero ter ajudado
no public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
pawn Код:
//
if ((newkeys==KEY_SECONDARY_ATTACK))
{
OnPlayerCommandText(playerid,"/equipar");
OnPlayerCommandText(playerid,"/entrar");
OnPlayerCommandText(playerid,"/sair");
}