Jump to content

createShadow


yoya99

Recommended Posts

Posted

Is there a way to create shadows on objects g_Objects with createShadow ? If yes hiw should i attach all the objects? With g_Objects?

Help pls

Posted

g_Player = getLocalPlayer()

g_Vehicle = getPedOccupiedVehicle ( g_Player )

function createshadow()

outputChatBox ("Purple shadow created!!", g_Player, 255, 0, 255, false)

local shadow = createShadow (0, 0, 0, 0, 0, 0, 255, 0, 255, true)

attachElements (shadow, g_Vehicle, 0, 0, 0 )

end

addCommandHandler ("purpleshadow", createshadow)

why this is not working?!?

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...