25.06.2013, 19:38
stock IsKeyJustDown(key, newkeys, oldkeys)
{
if((newkeys & KEY_SUBMISSION) && !(oldkeys & key))
{
return cmd_engine(playerid,"/engine");
}
if((newkeys & KEY_FIRE) && !(oldkeys & key))
{
return cmd_lights(playerid,"/lights");
}
return 1;
return 0;
}
Dont work
{
if((newkeys & KEY_SUBMISSION) && !(oldkeys & key))
{
return cmd_engine(playerid,"/engine");
}
if((newkeys & KEY_FIRE) && !(oldkeys & key))
{
return cmd_lights(playerid,"/lights");
}
return 1;
return 0;
}
Dont work