car_controls.pwn
#1

Alright, I just started writing this thing down. And I thought that it would be a good idea to test it out if it reacts to pressing keys. Unfortunately it didn't respond. Any thoughts ?
By the way I'm importing it as filterscript.
PHP код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
public OnFilterScriptInit()
{
    
ManualVehicleEngineAndLights();
}
public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
    if ((
newkeys KEY_FIRE) && !(oldkeys KEY_FIRE))
    {
        
ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Car Control""Select an action""Engine" ,"Lights");
    }
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    return 
1;

Reply


Messages In This Thread
car_controls.pwn - by gedramens - 06.07.2012, 22:54
Re: car_controls.pwn - by Vince - 06.07.2012, 23:54
Re: car_controls.pwn - by gedramens - 07.07.2012, 08:41
Re: car_controls.pwn - by reh_007 - 07.07.2012, 08:45
Re: car_controls.pwn - by reh_007 - 07.07.2012, 08:50
Re: car_controls.pwn - by gedramens - 07.07.2012, 13:02
Re: car_controls.pwn - by Dubya - 07.07.2012, 13:06
Re: car_controls.pwn - by gedramens - 07.07.2012, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)