Spawn sprite problem - code inside, needs fix
Ok, I wrote this small plugin to try to spawn sprite. Could you guys be so kind and polish it up so sprite shows on players position - sprite should totally hide player, so other players don't see that player whos using sprite until sprite vanishes. the code:
Code:
|
umm gotta go but got
Code:
my teacher is gonna kill me (1 error, line 20) |
Ok, thanks!
[edit] - I was in hurry, so I didn't posted include files in, but it compiled, and didn't showed sprite - I'm gonna test your thing now... [edit2] - doesn't compiles, array size problem on get_user_origin line... |
ouch
Code:
Code:
/* Gets origin from player. |
Okay, I'll try... But how to make sprite lasts only for number of seconds I defined, or how do I remove it once its spawned?
|
Now I have this:
Code:
When I compile it, its fine. But when I try to use it ingame ( I have adecquate sprite for plugin ), it crashes with this message: Quote:
|
My code was, well, rushed because I was coding in a very annoying computer class where we were learning how to use MS Excel
|
I see the problem
You never defined what message your using, try this:
Code:
|
I'm going to try it now...
|
Now quits to main menu without any message... I'm ok, now desperate :(
|
| All times are GMT -4. The time now is 14:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.