adding nos
#1

How can i fix it to add nos by pressing lctrl and mouse left click.. i use this code but it's working with mouse left click not with lctrl..

Quote:

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_FIRE))
{
if (IsPlayerInAnyVehicle(playerid))
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
}
}
return 1;
}

Reply


Messages In This Thread
adding nos - by sirvanec - 22.06.2015, 18:24
Re: adding nos - by rappy93 - 22.06.2015, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)