30.11.2013, 12:58
Boas , como converte isso :
Para ZCMD ?
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys==KEY_UP))
{
OnPlayerCommandText(playerid,"/usaralvo1");
OnPlayerCommandText(playerid,"/usaralvo2");
OnPlayerCommandText(playerid,"/usaralvo3");
OnPlayerCommandText(playerid,"/usaralvo4");
}
if ((newkeys==KEY_SPRINT))
{
OnPlayerCommandText(playerid,"/usaralvo1");
OnPlayerCommandText(playerid,"/usaralvo2");
OnPlayerCommandText(playerid,"/usaralvo3");
OnPlayerCommandText(playerid,"/usaralvo4");
}
return 1;
}