DodgeBall
Okay so how can i make so when you trow a dodgeball it will disappear after 4 seconds on the ground
and is it any way i can do so the model is on the ground when i throw a dodgeball its half in the ground and half up Code:
public Ham_Touch_Grenade_Pre( iEntity, id ) |
Re: DodgeBall
I did this code it removes all dodgeball snowball zombiebomb with a 5 seconds task
so sometimes when you throw it dispear exactly when you throw it how can i do so each dodgeball/snowball/zombiebomb dispear 5 seconds after you throw it Code:
public remove() |
Re: DodgeBall
PHP Code:
for example in set_model function. but inside touch you should remove_task(entity_id). cause it can double remove..so this is bad.. |
Re: DodgeBall
Nothing disappears now :S
code Code:
public remove_ent(iEnt)Code:
public Ham_Touch_Grenade_Pre( iEntity, id, ent, entity_id) |
Re: DodgeBall
you have a lot of mistakes..
PHP Code:
|
Re: DodgeBall
Quote:
if i throw some dodgeball they disappears but the server crash random after |
Re: DodgeBall
i think it because you need some more checks.. and also i dont see full code so i dont know if you really correct use that. but btw you can change function definition instead of pev_valid, engfunc remove ent. to server_print("debug delete_id called with ent_id: %d",iEnt);
and check what happens. also see a logs files, also check the console, also check other plugins.. also you can add some server_print("debug line X"); // where x is a some line of code. to check in what place server crashes, think it is because setmodel called more that twice.. so you need to check if task_exists -> delete task, and after set it again.. |
Re: DodgeBall
tried evrything but either it doesnt work or it crashes
have any one else any ides? |
Re: DodgeBall
No, because this plugin you're trying t fix is an very old version of Mokens gamemenu that he made for Scandic-Gamers for private use. So i won't help you.
|
Re: DodgeBall
ironskillz1, just remove everything what you added from my code and use older version, after that step-by-step add the needed lines. and after each step check how plugins work..
|
| All times are GMT -4. The time now is 13:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.