Posts: 56
Threads: 2
Joined: Dec 2012
Reputation:
0
bu plugine cvar atamak istiyorum oyun ici acip kapatmak icin
#include <amxmodx>
#include <fun>
#include <hamsandwich>
#include <cstrike>
public plugin_init() {
register_plugin( "Wheres my hegrenade?!", "-1.0", "xPaw" );
RegisterHam( Ham_Spawn, "player", "fwdHamSpawnPlayer", 1 );
register_cvar( "amx_bomba", "1")
}
public fwdHamSpawnPlayer( id )
{
give_item( id, "weapon_hegrenade" );
give_item( id, "item_kevlar" );
give_item( id, "item_nvgs" );
}
Posts: 292
Threads: 19
Joined: Dec 2011
Reputation:
0
PHP Code: #include <amxmodx>#include <fun>#include <hamsandwich>#include <cstrike> new cvar; public plugin_init() { register_plugin( "Wheres my hegrenade?!", "-1.0", "xPaw" ); RegisterHam( Ham_Spawn, "player", "fwdHamSpawnPlayer", 1 ); cvar = register_cvar( "amx_bomba", "1" );}
public fwdHamSpawnPlayer( id ){ if( get_pcvar_num( cvar ) == 1 ) { give_item( id, "weapon_hegrenade" ); give_item( id, "item_kevlar" ); give_item( id, "item_nvgs" ); }}
- - - - - - - - - -
Üsttekinde karışmış,
Code: #include <amxmodx>
#include <fun>
#include <hamsandwich>
#include <cstrike>
new cvar;
public plugin_init() {
register_plugin( "Wheres my hegrenade?!", "-1.0", "xPaw" );
RegisterHam( Ham_Spawn, "player", "fwdHamSpawnPlayer", 1 );
cvar = register_cvar( "amx_bomba", "1" );
}
public fwdHamSpawnPlayer( id )
{
if( get_pcvar_num( cvar ) == 1 )
{
give_item( id, "weapon_hegrenade" );
give_item( id, "item_kevlar" );
give_item( id, "item_nvgs" );
}
}
PAWN KOD YARDIMCISI
Eklentiyle ilgili her türlü yardımı edebilirim.( jail shop hariç )
İletişim: hassel-vl
Posts: 56
Threads: 2
Joined: Dec 2012
Reputation:
0
peNgueN dateline='' Wrote: PHP Code: #include <amxmodx>#include <fun>#include <hamsandwich>#include <cstrike> new cvar; public plugin_init() { register_plugin( "Wheres my hegrenade?!", "-1.0", "xPaw" ); RegisterHam( Ham_Spawn, "player", "fwdHamSpawnPlayer", 1 ); cvar = register_cvar( "amx_bomba", "1" );}
public fwdHamSpawnPlayer( id ){ if( get_pcvar_num( cvar ) == 1 ) { give_item( id, "weapon_hegrenade" ); give_item( id, "item_kevlar" ); give_item( id, "item_nvgs" ); }}
- - - - - - - - - -
Üsttekinde karışmış,
Code: #include <amxmodx>
#include <fun>
#include <hamsandwich>
#include <cstrike>
new cvar;
public plugin_init() {
register_plugin( "Wheres my hegrenade?!", "-1.0", "xPaw" );
RegisterHam( Ham_Spawn, "player", "fwdHamSpawnPlayer", 1 );
cvar = register_cvar( "amx_bomba", "1" );
}
public fwdHamSpawnPlayer( id )
{
if( get_pcvar_num( cvar ) == 1 )
{
give_item( id, "weapon_hegrenade" );
give_item( id, "item_kevlar" );
give_item( id, "item_nvgs" );
}
}
1 yapsamda işlev goruyor 0 yapsamda
- - - - - - - - - -
peNgueN dateline='' Wrote: PHP Code: #include <amxmodx>#include <fun>#include <hamsandwich>#include <cstrike> new cvar; public plugin_init() { register_plugin( "Wheres my hegrenade?!", "-1.0", "xPaw" ); RegisterHam( Ham_Spawn, "player", "fwdHamSpawnPlayer", 1 ); cvar = register_cvar( "amx_bomba", "1" );}
public fwdHamSpawnPlayer( id ){ if( get_pcvar_num( cvar ) == 1 ) { give_item( id, "weapon_hegrenade" ); give_item( id, "item_kevlar" ); give_item( id, "item_nvgs" ); }}
- - - - - - - - - -
Üsttekinde karışmış,
Code: #include <amxmodx>
#include <fun>
#include <hamsandwich>
#include <cstrike>
new cvar;
public plugin_init() {
register_plugin( "Wheres my hegrenade?!", "-1.0", "xPaw" );
RegisterHam( Ham_Spawn, "player", "fwdHamSpawnPlayer", 1 );
cvar = register_cvar( "amx_bomba", "1" );
}
public fwdHamSpawnPlayer( id )
{
if( get_pcvar_num( cvar ) == 1 )
{
give_item( id, "weapon_hegrenade" );
give_item( id, "item_kevlar" );
give_item( id, "item_nvgs" );
}
}
1 yapsamda işlev goruyor 0 yapsamda
Posts: 292
Threads: 19
Joined: Dec 2011
Reputation:
0
Servere restart atıp veya map değiştirip denediniz mi ?
PAWN KOD YARDIMCISI
Eklentiyle ilgili her türlü yardımı edebilirim.( jail shop hariç )
İletişim: hassel-vl
|