19.10.2014, 00:12
Quote:
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); } } |
pawn Код:
if(newkeys == KEY_FIRE && oldkeys == KEY_FIRE)
{
new Float:POSPLAYER[3];
GetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2];
SetPlayerPos(playerid, POSPLAYER[0], POSPLAYER[1], POSPLAYER[2] + 2);
}