07.07.2012, 10:21
Quote:
if (newkeys & KEY_JUMP) //Jump { new Float, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z + 10.0); |
if (newkeys & KEY_JUMP) //Jump { new Float, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z + 10.0); |
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(!IsPlayerAdmin(playerid)) return 1;
new
Float:x,
Float:y,
Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z + 10.0);
}
}