Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PutHandsUp not working?

Featured Replies

I trying to get a Ped to put there hands up.  I set up a suspect to aim a gun at them, but the victim refuses to raise there hands.  This is the code im using:

Clerk.Tasks.PutHandsUp(99999999 ^ 9999, Robber);

 

  • 3 weeks later...

What language are you using?
in VB.net, the ^ operator raises the int on the left to the power on the right.  The number is not infinity as google suggests, but is very large:
18b8e47e8897996ab676b8f77f1c9b93.png

in VB.net, the maximum value of an int is:  2,147,483,647  (which is infinitely less than infinity)

Try this:

Clerk.Tasks.PutHandsUp(999999, Robber);
OR
Clerk.Tasks.PutHandsUp(int.MaxValue, Robber);



Things to check after trying that code...
1. Make sure that you are not calling the task constantly (eg: in a tick type method), ped tasks when reset too quickly will result in the action being canceled.
2. Make sure that neither the clerk or the robber are null at the time it's called.
 

Matt

Edited by rushlink

Community director, www.lc-gaming.net

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.