Jump to content

Set Ped Skin


Mefisto_PL

Recommended Posts

Posted (edited)

I would like to set ped skin when I press the button, everything is okey, but ped skin isn't changed.. In debugscript is "Bad Argument"..

Nothing to see 

Edited by Guest
Posted

'source' of onClientGUIClick is the button clicked.

Where is 'Guy' defined?

Also, if you change the skin client side, only you will see it changed.

Posted

Guy it's a ped, but I want to change default skin to MY skin.

///EDIT

I know only I can see that, but now for tests I teleport to this interior. In normal i set camera.. :D

Posted

You declared your 'Guy' variable local, which means it can only be accessed inside 'StripBitches' function.

local Guy = createPed ( 0, 2230.2053, -1107.5839, 1050.8828, 180 ) 

Should be:

Guy = createPed ( 0, 2230.2053, -1107.5839, 1050.8828, 180 ) 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...