13.10.2009, 22:53
pawn Код:
if(newkeys == KEY_HORN) //Its not suppose to say horn. what do I put here for the button H
{
new
Float:x,
Float:y,
Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z + 10.0);
}
if(newkeys == KEY_NITRO) //Nitro Doesnt exist What key would it say for Alt
{
if(IsPlayerInAnyVehicle(playerid))
{
new Float:s[3];
GetVehicleVelocity(GetPlayerVehicleID(playerid),s[0],s[1],s[2]);
s[0]=1.5*s[0];
s[1]=1.5*s[1];
s[2]=1.5*s[2];
SetVehicleVelocity(GetPlayerVehicleID(playerid),s[0],s[1],s[2]);
}
return 1;
}