slap before getting in a car
#6

Write this in onplayerkeystatechange.
PHP код:
if(newkeys == 65536)
{
if(
IsPlayerInAnyVehicle(playerid))
{
     
RemovePlayerFromVehicle(playerid);
     new 
Float:xFloat:yFloat:z
     
GetPlayerPos(playeridxyz); 
     
SetPlayerPos(playeridxyz+3); 
}

P.S IT WILL WORKS ON KEY Y, CUZ I DONT KNOW F-s ID.
Reply


Messages In This Thread
slap before getting in a car - by PepsiCola23 - 17.11.2016, 21:16
Re: slap before getting in a car - by Hiddos - 17.11.2016, 21:25
Re: slap before getting in a car - by PepsiCola23 - 17.11.2016, 21:39
Re: slap before getting in a car - by Pearson - 17.11.2016, 21:49
Re: slap before getting in a car - by PepsiCola23 - 17.11.2016, 21:57
Re: slap before getting in a car - by Pearson - 17.11.2016, 22:04
Re: slap before getting in a car - by Threshold - 18.11.2016, 03:42

Forum Jump:


Users browsing this thread: 1 Guest(s)