AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help pls (https://forums.alliedmods.net/showthread.php?t=246414)

azzou 08-17-2014 08:20

Help pls
 
1 Attachment(s)
it's correct :?: :?: :?: :?: :?:

pls help :D

_______________________

Creat Plug-_-In

bat 08-17-2014 08:28

Re: Help pls
 
Quote:

Originally Posted by azzou (Post 2185136)
it's correct :?: :?: :?: :?: :?:
_______________________

Creat Plug-_-In

NO

azzou 08-17-2014 08:49

Re: Help pls
 
Pls correct it and send me :D

zmd94 08-17-2014 10:51

Re: Help pls
 
What are you trying to do? I have download the file and it is just like this:

1. zm_classes.sma file:
PHP Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <Classe>

#define PLUGIN ""
#define VERSION "6.4"
#define AUTHOR "Azzou"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
    
// Zombie Jumper

zm_classe1_speed : ( 0.50 )
zm_classe1_gravity : ( 0.75 )
zm_classe1_knife_mdl : ( v_knif_Jumper )
zm_classe1_mdl : ( zp_Jumper )
zm_classe1_Health : ( 4200 )
set_hudmessage(00255, -1.0, -1.0)
show_hudmessage(id"<Your classe is Jumper>")

// Zombie Fast

zm_classe2_speed : ( 0.75 )
zm_classe2_gravity : ( 0.50 )
zm_classe2_knife_mdl : ( v_knif_Fast )
zm_classe2_mdl : ( zp_Fast )
zm_classe2_Health : ( 4200 )
show_hudmessage(id"<Your classe is Fast>")

// Zombie Hunter

zm_classe3_speed : ( 0.65 )
zm_classe3_gravity : ( 0.65 )
zm_classe3_knife_mdl : ( v_knif_Hunter )
zm_classe3_mdl : ( zp_Hunter )
zm_classe3_Health : ( 4000 )
show_hudmessage(id"<Your classe is Hunter>")

// Zombie Big

zm_classe4_speed : ( 0.25 )
zm_classe4_gravity : ( 0.25 )
zm_classe4_knife_mdl : ( v_knif_Big )
zm_classe4_mdl : ( zp_Big )
zm_classe4_Health : ( 8000 )
show_hudmessage(id"<Your classe is Big>")
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/ 

2. 1. zm_classes.inc file:
PHP Code:


// Zombie Jumper

zm_classe1_speed : ( 0.50 // the speed of player
zm_classe1_gravity : ( 0.75 // the gravity of player
zm_classe1_knife_mdl : ( v_knif_Jumper // models knif 
zm_classe1_mdl : ( zp_Jumper // models player
zm_classe1_Health : ( 4200 //health player



// Zombie Fast

zm_classe2_speed : ( 0.75 // the speed of player
zm_classe2_gravity : ( 0.50 // the gravity of player
zm_classe2_knife_mdl : ( v_knif_Fast // models knif 
zm_classe2_mdl : ( zp_Fast // models player
zm_classe2_Health : ( 4200 )


// Zombie Hunter

zm_classe3_speed : ( 0.65 // the speed of player
zm_classe3_gravity : ( 0.65 // the gravity of player
zm_classe3_knife_mdl : ( v_knif_Hunter // models knif 
zm_classe3_mdl : ( zp_Hunter // models player
zm_classe3_Health : ( 4000 //health player


// Zombie Big

zm_classe4_speed : ( 0.25 // the speed of player
zm_classe4_gravity : ( 0.25 // the gravity of player
zm_classe4_knife_mdl : ( v_knif_Big // models knif 
zm_classe4_mdl : ( zp_Big // models player
zm_classe4_Health : ( 8000 //health player

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/ 


azzou 08-17-2014 13:11

Re: Help pls
 
Quote:

zmd94
Quote:

What are you trying to do? I have download the file and it is just like this:

1. zm_classes.sma file:
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <Classe>

#define PLUGIN ""
#define VERSION "6.4"
#define AUTHOR "Azzou"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

// Add your code here...

// Zombie Jumper

zm_classe1_speed : ( 0.50 )
zm_classe1_gravity : ( 0.75 )
zm_classe1_knife_mdl : ( v_knif_Jumper )
zm_classe1_mdl : ( zp_Jumper )
zm_classe1_Health : ( 4200 )
set_hudmessage(0, 0, 255, -1.0, -1.0)
show_hudmessage(id, "<Your classe is Jumper>")

// Zombie Fast

zm_classe2_speed : ( 0.75 )
zm_classe2_gravity : ( 0.50 )
zm_classe2_knife_mdl : ( v_knif_Fast )
zm_classe2_mdl : ( zp_Fast )
zm_classe2_Health : ( 4200 )
show_hudmessage(id, "<Your classe is Fast>")

// Zombie Hunter

zm_classe3_speed : ( 0.65 )
zm_classe3_gravity : ( 0.65 )
zm_classe3_knife_mdl : ( v_knif_Hunter )
zm_classe3_mdl : ( zp_Hunter )
zm_classe3_Health : ( 4000 )
show_hudmessage(id, "<Your classe is Hunter>")

// Zombie Big

zm_classe4_speed : ( 0.25 )
zm_classe4_gravity : ( 0.25 )
zm_classe4_knife_mdl : ( v_knif_Big )
zm_classe4_mdl : ( zp_Big )
zm_classe4_Health : ( 8000 )
show_hudmessage(id, "<Your classe is Big>")
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/
2. 1. zm_classes.inc file:
PHP Code:

// Zombie Jumper

zm_classe1_speed : ( 0.50 ) // the speed of player
zm_classe1_gravity : ( 0.75 ) // the gravity of player
zm_classe1_knife_mdl : ( v_knif_Jumper ) // models knif
zm_classe1_mdl : ( zp_Jumper ) // models player
zm_classe1_Health : ( 4200 ) //health player



// Zombie Fast

zm_classe2_speed : ( 0.75 ) // the speed of player
zm_classe2_gravity : ( 0.50 ) // the gravity of player
zm_classe2_knife_mdl : ( v_knif_Fast ) // models knif
zm_classe2_mdl : ( zp_Fast ) // models player
zm_classe2_Health : ( 4200 )


// Zombie Hunter

zm_classe3_speed : ( 0.65 ) // the speed of player
zm_classe3_gravity : ( 0.65 ) // the gravity of player
zm_classe3_knife_mdl : ( v_knif_Hunter ) // models knif
zm_classe3_mdl : ( zp_Hunter ) // models player
zm_classe3_Health : ( 4000 ) //health player


// Zombie Big

zm_classe4_speed : ( 0.25 ) // the speed of player
zm_classe4_gravity : ( 0.25 ) // the gravity of player
zm_classe4_knife_mdl : ( v_knif_Big ) // models knif
zm_classe4_mdl : ( zp_Big ) // models player
zm_classe4_Health : ( 8000 ) //health player

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }
*/
__________________
I'm plugin tester and modifier!

My project: [ZP] Open Project: Teaching Mathematics in CS 1.6 || Custom ZP Modes

My plugins: If you want to know?
i want creat classe for zombie

bat 08-17-2014 14:34

Re: Help pls
 
Quote:

Originally Posted by azzou (Post 2185288)
i want creat classe for zombie

You're welcome! https://forums.alliedmods.net/showthread.php?t=110938

zmd94 08-17-2014 16:28

Re: Help pls
 
@ Azzou, just follow the steps given in this tutorial. ;)


All times are GMT -4. The time now is 13:18.

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