Help With Sprites And Origin stuff!
Well, when i use this code:
Code:
Code:
Code:
L 12/22/2005 - 17:43:09: Invalid player id 0Code:
Code:
Code:
Code:
|
im a little confused by what your exactly trying to do but
the reason your spawning lots of sprites is beacause you have this Code:
and you cant use 0 in get_user_origin, you want to use id when you added id to get_user_origin it said id isnt found because youve got Code:
Code:
also change Code:
Code:
|
Thanks man for that, BUT still:
#1:I need to know why it wont play this animation sequence: Code:
entity_set_int(id,EV_INT_sequence,105)Edit:Can someone help?! :( |
Well, i got the code a little bit better, but i still cant figure out how to make only 1 sprite and make it stay at the same place where player is! :S Can someone help?
(I even asked help at #amxmodx @ Quakenet, but no one wont answer...) |
aha your trying to make the sprite stay above the player, heres some example code from my speedrun plugin, i made it so a little clock with the hand that moves round appears abover their heads :)
Code:
with this you cant render sprites additivly aka the black bits will show. If you want to create transparency you have to create a sprite and render it alphatest, where the last colour in the pallete is the transparency colour. usually pure blue :) |
| All times are GMT -4. The time now is 16:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.