19.10.2014, 00:09
Pode aprimorar esse cуdigo ? deixando com a KEY do click no mause ?
if(newkeys == KEY_SECONDARY_ATTACK)
{
new Float:POSPLAYER[3];
GetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2];
SetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2] + 2);
}
}
if(newkeys == KEY_SECONDARY_ATTACK)
{
new Float:POSPLAYER[3];
GetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2];
SetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2] + 2);
}
}