Quantcast

Jump to content

» «
Photo

Always/Never Wanted - ALICE Script

7 replies to this topic
chamber
  • chamber

    Crackhead

  • Members
  • Joined: 28 Apr 2004

#1

Posted 02 April 2009 - 03:17 AM Edited by chamber, 22 April 2009 - 06:37 PM.

ALICE script that allows you to use PageUp/PageDown to set your desired Wanted Level, and then locks it there.

This is my first from-scratch ALICE script - feedback is appreciated.

zBobG
  • zBobG

    Mark Chump

  • Members
  • Joined: 04 Dec 2008

#2

Posted 02 April 2009 - 08:32 AM Edited by zBobG, 03 April 2009 - 12:19 AM.

Very nice. Kind of just what I was looking for. Would be nice if it was a toggle activated by one key instead of using up two keys.

[EDIT] I just now realize that there has to be two keys because the level is adjusted up/down by one for each keypress. I was thinking of an enable toggle On/Off which I guess I can add if I want to, but it will have to use a separate key. I don't know whether it's really useful to have a toggle though after thinking about it - just need to press 'down' until it's off.

Where did you find the syntax for the PRINT_STRING_... function?

chamber
  • chamber

    Crackhead

  • Members
  • Joined: 28 Apr 2004

#3

Posted 02 April 2009 - 02:10 PM

QUOTE (zBobG @ Apr 2 2009, 03:32)
Where did you find the syntax for the PRINT_STRING_... function?

I think I ran across it in the 50+ pages of the Alice thread.

I'm not sure what other options there are besides "STRING", or what the last parameter is (the 1 - I'm assuming it's one of those always-true booleans) - but the second and third params are the message to display, and the number of milliseconds to display it.

So

PRINT_STRING_WITH_LITERAL_STRING_NOW(? [always "STRING"], Message to Display,Length of Time to Display,? [always 1])

I guess I should edit the Wiki.

Andrew
  • Andrew

  • Andolini Mafia Family
  • Joined: 21 Jul 2003
  • None

#4

Posted 02 April 2009 - 02:15 PM

Alice and scripthook mods are mission mods. Can we please release these into the mission mods forum. I'll move it there.

chamber
  • chamber

    Crackhead

  • Members
  • Joined: 28 Apr 2004

#5

Posted 02 April 2009 - 07:38 PM

Quick update to fix an intermittent crash.

Lenin
  • Lenin

    Rat

  • Members
  • Joined: 09 Jan 2006

#6

Posted 15 April 2009 - 11:16 AM

Cant make it work.. Using 1.0.2.0

ZAZ
  • ZAZ

    Kernlochbohrer

  • Members
  • Joined: 10 Jan 2005
  • European-Union

#7

Posted 16 April 2009 - 07:34 PM

QUOTE (chamber @ Apr 2 2009, 03:17)
ALICE script that allows you to use PageUp/PageDown to set your desired Wanted Level, and then locks it there.

This is my first from-scratch ALICE script - feedback is appreciated.

Good work icon14.gif I tried several wanted scripts in the past but to have no wanted level is sh*t so I added a keypress but to press allways the key while anarchy is also sh*t.
To can set the level is the right solution

Marcin6
  • Marcin6

    Hustler

  • Members
  • Joined: 18 Jul 2007
  • Poland

#8

Posted 08 June 2009 - 08:43 PM

LOL xD another mod from you and with this eather my other lua scripts stopped working xD




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users