strip weapons not working
just as the tiltle says, i can't get strip_user_weapons to work.
anyone wanna help me? Code:
|
Re: strip weapons not working
Wouldn't "ID" return nothing? Since you're getting the victim and the killer with "read_data()". Plus, registering a event.
So, since you're using "strip_user_weapons(id)" this wouldn't work. |
Re: strip weapons not working
well lol no wonder it wouldn't work.
i tired using a set_task but i still can't find anyway to fix this problem |
Re: strip weapons not working
Just change 'id' to like... 'killer'. Since it seems that's what you want.
|
Re: strip weapons not working
no im trying to make this an event that will affect everyone
|
Re: strip weapons not working
It's already effecting everyone, since you gave the flag "a" on "register_event".
Or, are you meaning on the "strip_user_weapons" ? If that's true, use "0" to strip everyone's weapons. (I think it's better to use get_players instead of zero on strip_user_weapons, not to sure). |
Re: strip weapons not working
no it doesn't work either
|
Re: strip weapons not working
Is it realy that hard to make a loop to get all players?
Code:
new playercount, Players[32] |
Re: strip weapons not working
Quote:
|
Re: strip weapons not working
Quote:
.."doesn't compile" don't helps me to understand what you did wrong! :( |
| All times are GMT -4. The time now is 10:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.