Quantcast

Jump to content

» «
Photo

Boolean condition that checks if player is wearing specific clothing?

4 replies to this topic
Darchang310
  • Darchang310

    Player Hater

  • Members
  • Joined: 21 Jul 2014
  • Philippines

#1

Posted 01 August 2014 - 10:55 AM Edited by Darchang310, 01 August 2014 - 11:12 AM.

In Sanny Builder, is there a code that checks if the player is wearing a specific clothing?

It's for a mod I'm making for GTA: SA.


ZAZ
  • ZAZ

    Kernlochbohrer

  • Feroci
  • Joined: 10 Jan 2005
  • European-Union
  • Contribution Award [Mods]
    Helpfulness Awards [Mods]

#2

Posted 01 August 2014 - 12:33 PM

not boolean but string condition, opcode 0500: checks if Player have bodypart TEXTURE of bodypart ID

Darchang310
  • Darchang310

    Player Hater

  • Members
  • Joined: 21 Jul 2014
  • Philippines

#3

Posted 02 August 2014 - 10:55 AM Edited by Darchang310, 02 August 2014 - 11:28 AM.

Haven't heard of "bodypart" before. These codes are completely new to me. Thanks, ZAZ.

Any lists of these player "skins" or textures online for reference, especially for the "special" outfits like the cop suit?

Sorry about the confusion with the "Boolean" in the title. I wanted to edit the topic's title, but it seems they got rid of the option for this.


DK22Pac
  • DK22Pac

  • Feroci
  • Joined: 12 Apr 2009
  • Ukraine
  • Best WIP Mod 2014 [Grand Theft Auto 3D Contribution]
    Contribution Award [Mods]

#4

Posted 04 August 2014 - 06:24 AM

Check SB Help > SCM Documentation > GTA SA.
For cop suit it is "policetr".


Darchang310
  • Darchang310

    Player Hater

  • Members
  • Joined: 21 Jul 2014
  • Philippines

#5

Posted 05 August 2014 - 03:40 AM Edited by Darchang310, 05 August 2014 - 03:48 AM.

Almost forgot about the documentations in SB.

Big thanks for the help, guys. Consider this topic solved.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users