Key to command
#6

Quote:
Originally Posted by Thebest96
Посмотреть сообщение
so wath i do?
I suggest you take advantage of one of the pre-written scripts made for this if you're new at pawn.

http://forum.sa-mp.com/search.php?searchid=385160


if you're not willing to use one of the premade systems, look up enumerations (Search the wiki for initializers), arrays and variables (should be in the scripting basic part of the wiki), loops (statements), and that previous link regarding OnPlayerKeyStateChange.

Some people are going to argue and tell you to do it like the above poster did but with an area check, thats rubbish though. Static code is a pain to manage, gets big quickly, and should be illegal (hehe). The extra work into making it "dynamic" is worth it (at the very least you have a ton of them already made for you :P).
Reply


Messages In This Thread
Key to command - by Thebest96 - 27.08.2010, 11:40
Re: Key to command - by Kyosaur - 27.08.2010, 11:43
Re: Key to command - by wups - 27.08.2010, 11:43
Re: Key to command - by Kyosaur - 27.08.2010, 11:47
Re: Key to command - by Thebest96 - 27.08.2010, 12:09
Re: Key to command - by Kyosaur - 27.08.2010, 12:32
Re: Key to command - by nissan123 - 08.09.2010, 08:18
Re: Key to command - by Thebest96 - 08.09.2010, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)