22.06.2010, 18:18
1.i need to auto view mini info bar on player connect
2.in the car jump code )if i press key_ look behind player jump not vehicle i need to change it to key_jump i can do that but it's not work with key_jump code
3.i need to learn how i change unknow command for any message i need this
tere posted in this topic and not working
link http://forum.sa-mp.com/index.php?topic=181828.0
2.in the car jump code )if i press key_ look behind player jump not vehicle i need to change it to key_jump i can do that but it's not work with key_jump code
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_SUBMISSION))
{
new Float:x, Float:y, Float:z; new vehicle=GetPlayerVehicleID(playerid); //forgot somehing here Niixie :)
if(IsPlayerInAnyVehicle(playerid))
{
GetVehicleVelocity(vehicle,x,y,z);
SetVehicleVelocity(vehicle,x,y,z+0.5);
}
else
{
GetPlayerVelocity(playerid, x, y, z);
SetPlayerVelocity(playerid, x, y, z +20);
}
}
return 1;
}
tere posted in this topic and not working
link http://forum.sa-mp.com/index.php?topic=181828.0


if i change this if
or not works and bad