Jump to content

Recommended Posts

Posted

Descriere tutorial: Doresc un tutorial detaliat si bine explicat pt realizarea sistemului de blocare de pe tasta N la masinile personale....Am aflat ca va trebui sa folosesc o functie de tasta la acest sistem cum ar fi KEY_NO mai departe nu stiu cum sal fac Fara jigniri va rog nimeni nu sa nascut auto-stiitor.

Posted

La onplayerkeystatechange

if (newkeys== KEY_NO)

{

static str [70];

cmd_lock (playerid,str);//inloc de lock folosesti comanda care o ai tu la masini

}

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Posted

Mister! cmd_lock (playerid,str); o voi pune tot la onplayerkeystatechange.Nar mai fi inca ceva de facut pt ca sistemul sa functioneze cand apesi pe N sau asta e tot? scuze ca iti spun astfel de intrebare.

Posted

La functia OnPlayerKeyStateChange

pentru tasta N este if(newkeys == KEY_NO)

{

 Adaugi cum ti-a zis mister sau adaugi tot codul de la /lock.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.