kills.
Does anyone know how to make kills level ?
Example : Player kill a player | Deagle | Player kill 2 player | MP5 | Player kill 3 player | AWP | Meanings : | Deagle | | MP5 | | AWP | Those are weapons given to the player if they meet the kills level requirment. - Just like gun game. But i just want the codes. |
Re: kills.
You are in scripting section, so you are here to learn.
Create a global var which will contain the kill by player. Next, hook the DeahMsg event, update the var and give weapon when needs. ( give_item() ) |
Re: kills.
Quote:
can you show me some example codes ? |
Re: kills.
new MyGlobalVar[ 33 ]; // contains the kill by player.
public plugin_init() { } |
Re: kills.
Quote:
How do i contains the kill by player ?? Can you give me more example codes ? |
Re: kills.
He's a sly one! :P
|
Re: kills.
Quote:
I don't know what to start first. |
Re: kills.
Sorry for the double posting. :(
I really need some help on this. |
Re: kills.
Quote:
|
Re: kills.
Quote:
Hook DeathMsg : register_event( "DeathMsg", "Event_PlayerKilled", "a" ); Then in the function Event_PlayerKilled, you can count the kills. Code:
|
| All times are GMT -4. The time now is 15:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.