Raised This Month: $ Target: $400
 0% 

[ZP] Extra item ghost


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lashsh
BANNED
Join Date: Jun 2010
Location: Georgia, Tbilisi
Old 06-12-2010 , 01:09   [ZP] Extra item ghost
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <zombieplague>
#include <fun>

new g_itemid1

public plugin_init()
{
register_plugin("[ZP] Extra Item: Mochveneba""0.1""LaSsHhH"
g_itemid1 zp_register_extra_item("Mochveneba"133ZP_TEAM_ANY)

}

public 
zp_extra_item_selected(playeritemid)
{
// check if the selected item matches any of our registered ones
if (itemid == g_itemid1)
client_print(playerprint_chat"[ZP] Tqven iyidet mochveneba!")

how to enable and where are they?

PHP Code:
set_user_maxspeed(player400)
set_user_noclip(player1
and this model
Attached Files
File Type: zip Scream l33t.zip (1.29 MB, 98 views)
lashsh is offline
Send a message via Skype™ to lashsh
Oneshox
BANNED
Join Date: May 2010
Location: Germany
Old 06-12-2010 , 01:56   Re: [ZP] Extra item ghost
Reply With Quote #2

what do you want now?
Oneshox is offline
lashsh
BANNED
Join Date: Jun 2010
Location: Georgia, Tbilisi
Old 06-12-2010 , 04:33   Re: [ZP] Extra item ghost
Reply With Quote #3

Quote:
Originally Posted by Oneshox View Post
what do you want now?
http://forums.alliedmods.net/showpos...10&postcount=1
lashsh is offline
Send a message via Skype™ to lashsh
Old 06-12-2010, 02:04
lashsh
This message has been deleted by lashsh.
Oneshox
BANNED
Join Date: May 2010
Location: Germany
Old 06-12-2010 , 04:37   Re: [ZP] Extra item ghost
Reply With Quote #5

here:
Code:
#include <amxmodx> 
#include <zombieplague> 
#include <fun> 

new g_item
new cvar_noclip, cvar_speed

public plugin_init() 
{ 
	register_plugin("[ZP] Extra Item: Mochveneba", "0.1", "LaSsHhH")  
	g_item = zp_register_extra_item("Mochveneba", 133, ZP_TEAM_ANY) 

	cvar_speed = register_cvar("zp_item_speed", "400") // here you can edit the max speed
	cvar_noclip = register_cvar("zp_item_noclip", "1") // 1 - enable / 2 - disable

} 

public zp_extra_item_selected(player, itemid) 
{ 
	if (itemid == g_item) 
	client_print(player, print_chat, "[ZP] Tqven iyidet mochveneba!")

	set_user_maxspeed(player, get_user_maxspeed(player) + get_pcvar_num(cvar_speed))
	set_user_noclip(player, get_pcvar_num(cvar_noclip))
}
Oneshox is offline
lashsh
BANNED
Join Date: Jun 2010
Location: Georgia, Tbilisi
Old 06-12-2010 , 05:02   Re: [ZP] Extra item ghost
Reply With Quote #6

thanks.


Please model the
Attached Files
File Type: zip Scream l33t.zip (1.29 MB, 100 views)
lashsh is offline
Send a message via Skype™ to lashsh
Oneshox
BANNED
Join Date: May 2010
Location: Germany
Old 06-12-2010 , 05:14   Re: [ZP] Extra item ghost
Reply With Quote #7

sorry, here
Code:
#include <amxmodx> 
#include <zombieplague> 
#include <cstrike>
#include <fun> 

new const Model[] = { "models/player/yourmodel/yourmodel.mdl" }
new g_item
new cvar_noclip, cvar_speed

public plugin_init() 
{ 
	register_plugin("[ZP] Extra Item: Mochveneba", "0.1", "LaSsHhH")  
	g_item = zp_register_extra_item("Mochveneba", 133, ZP_TEAM_ANY) 

	cvar_speed = register_cvar("zp_item_speed", "400") // here you can edit the max speed
	cvar_noclip = register_cvar("zp_item_noclip", "1") // 1 - enable / 2 - disable

} 

public plugin_precache()
{
	precache_model(Model);
}

public zp_extra_item_selected(player, itemid) 
{ 
	if (itemid == g_item) 
	client_print(player, print_chat, "[ZP] Tqven iyidet mochveneba!")

	set_user_maxspeed(player, get_user_maxspeed(player) + get_pcvar_num(cvar_speed))
	set_user_noclip(player, get_pcvar_num(cvar_noclip))

	cs_set_user_model(player, Model)
}
Oneshox is offline
lashsh
BANNED
Join Date: Jun 2010
Location: Georgia, Tbilisi
Old 06-12-2010 , 05:16   Re: [ZP] Extra item ghost
Reply With Quote #8

Thank you very much
lashsh is offline
Send a message via Skype™ to lashsh
Oneshox
BANNED
Join Date: May 2010
Location: Germany
Old 06-12-2010 , 05:24   Re: [ZP] Extra item ghost
Reply With Quote #9

does it work?
Oneshox is offline
lashsh
BANNED
Join Date: Jun 2010
Location: Georgia, Tbilisi
Old 06-12-2010 , 05:38   Re: [ZP] Extra item ghost
Reply With Quote #10

Model does not work: ((
lashsh is offline
Send a message via Skype™ to lashsh
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode