Categoria cu cereri de pluginuri si nu numai.
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
kosmo1994
- Membru, skill +1
- Posts: 278
- Joined: 12 May 2013, 10:15
- Detinator Steam: Nu
- CS Status: dr.legendcs.com
- Detinator server CS: dr.legendcs.com
- SteamID: dr.legendcs.com
- Has thanked: 77 times
- Been thanked: 26 times
-
Contact:
23 Jun 2013, 17:07
Am si eu un plugin pentru un server de respawn si nu da ce zice . :|
- aici e | Afiseaza codul
#include < amxmodx >
#include < fun >
#pragma semicolon 1
static const PLUGIN_NAME[ ] = "HE / SM";
static const PLUGIN_AUTHOR[ ] = "puMf..";
new g_iTimeReload[ 33 ];
public plugin_init( )
{
register_plugin( PLUGIN_NAME, "0.1", PLUGIN_AUTHOR );
set_task( 1.0, "old", _, _, _, "b", _ );
}
public old( id )
{
if( g_iTimeReload[ id ] < time( ) )
{
give_item( id, "weapon_smokegrenade" );
give_item( id, "weapon_hegrenade" );
g_iTimeReload[ id ] = time( ) + 15;
}
else
{
new iSeconds = g_iTimeReload[ id ] + time( );
set_hudmessage( 255, 0, 0, 0.04, 0.31, 0, 6.0, 1.0 );
show_hudmessage( id, "Au mai ramas %d secunde pana primesti HE/SM.", iSeconds );
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
El zice ca apare un mesaj in hud dupa ce imi arunc eu grenaziile care mi se da la inceput si dupa incepe numaratoarea de la 15 secunde pana la 0 si imi da iar cele 2 grenazi [ smoke/he ] .
Dar mie nu imi nicio grenada dupa ce arunc grenaziile mele din mana + nici macar mesaju nu apare ,cine poate sa-l rezolve
-
munir
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff
- Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
-
Contact:
23 Jun 2013, 18:43
Greseala de tipar =))
- | Afiseaza codul
#include < amxmodx >
#include < fun >
#pragma semicolon 1
static const PLUGIN_NAME[ ] = "HE / SM";
static const PLUGIN_AUTHOR[ ] = "puMf..";
new g_iTimeReload[ 33 ];
public plugin_init( )
{
register_plugin( PLUGIN_NAME, "0.1", PLUGIN_AUTHOR );
set_task( 1.0, "old", _, _, _, "b", _ );
}
public old( id )
{
if( g_iTimeReload[ id ] < time( ) )
{
give_item( id, "weapon_smokegrenade" );
give_item( id, "weapon_hegrenade" );
g_iTimeReload[ id ] = time( ) + 15;
}
else
{
new iSeconds = g_iTimeReload[ id ] - time( );
set_hudmessage( 255, 0, 0, 0.04, 0.31, 0, 6.0, 1.0 );
show_hudmessage( id, "Au mai ramas %d secunde pana primesti HE/SM.", iSeconds );
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
Retras
-
kosmo1994
- Membru, skill +1
- Posts: 278
- Joined: 12 May 2013, 10:15
- Detinator Steam: Nu
- CS Status: dr.legendcs.com
- Detinator server CS: dr.legendcs.com
- SteamID: dr.legendcs.com
- Has thanked: 77 times
- Been thanked: 26 times
-
Contact:
23 Jun 2013, 18:51
Tot la fel nu face nimica ,nici mesaju dar nici grenadele nu le da .
-
K1d0x
- Fost moderator
- Posts: 800
- Joined: 26 Feb 2012, 15:57
- Detinator Steam: Da
- CS Status: We Build Together ;3 RedFear
- Detinator server CS: PuB.RedFear.Ro
- SteamID: k1dox
- Reputatie: Fost moderator ajutator
- Location: Reșița
- Been thanked: 152 times
-
Contact:
24 Jun 2013, 00:30
Cum sa functioneze cand if( g_iTimeReload[ id ] < time( ) ) time si g_iTimeReload nu sunt definite :))
32slots.net - Sursa ta de încredere de KIT-uri CS 1.6
- RedFear.Ro România - | Afiseaza codul
Vă aştept cu un Register pe Forum
- Suntem în căutare de Dezvoltatori & Administratori :
HTML
PHP
MYSQL
C++
- Ofer Server CS spre administrare | Afiseaza codul
Condiții :
- Să dispui de timp liber
- Să ai cunoștințe AMXX & HLDS
Boostul este asigurat de către Mine (PM pentru. detalii)
[email protected]
-
kosmo1994
- Membru, skill +1
- Posts: 278
- Joined: 12 May 2013, 10:15
- Detinator Steam: Nu
- CS Status: dr.legendcs.com
- Detinator server CS: dr.legendcs.com
- SteamID: dr.legendcs.com
- Has thanked: 77 times
- Been thanked: 26 times
-
Contact:
24 Jun 2013, 05:09
K1d0x wrote:Cum sa functioneze cand if( g_iTimeReload[ id ] < time( ) ) time si g_iTimeReload nu sunt definite :))
Poti rezolva :-/
-
munir
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff
- Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
-
Contact:
24 Jun 2013, 10:13
K1d0x wrote:Cum sa functioneze cand if( g_iTimeReload[ id ] < time( ) ) time si g_iTimeReload nu sunt definite :))
Usor e sa te dai mare. Din pacate, nu era din cauza asta.
kosmo1994 wrote:Am si eu un plugin pentru un server de respawn si nu da ce zice . :|
- aici e | Afiseaza codul
#include < amxmodx >
#include < fun >
#pragma semicolon 1
static const PLUGIN_NAME[ ] = "HE / SM";
static const PLUGIN_AUTHOR[ ] = "puMf..";
new g_iTimeReload[ 33 ];
public plugin_init( )
{
register_plugin( PLUGIN_NAME, "0.1", PLUGIN_AUTHOR );
set_task( 1.0, "old", _, _, _, "b", _ );
}
public old( id )
{
if( g_iTimeReload[ id ] < time( ) )
{
give_item( id, "weapon_smokegrenade" );
give_item( id, "weapon_hegrenade" );
g_iTimeReload[ id ] = time( ) + 15;
}
else
{
new iSeconds = g_iTimeReload[ id ] + time( );
set_hudmessage( 255, 0, 0, 0.04, 0.31, 0, 6.0, 1.0 );
show_hudmessage( id, "Au mai ramas %d secunde pana primesti HE/SM.", iSeconds );
}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
El zice ca apare un mesaj in hud dupa ce imi arunc eu grenaziile care mi se da la inceput si dupa incepe numaratoarea de la 15 secunde pana la 0 si imi da iar cele 2 grenazi [ smoke/he ] .
Dar mie nu imi nicio grenada dupa ce arunc grenaziile mele din mana + nici macar mesaju nu apare ,cine poate sa-l rezolve
- | Afiseaza codul
#include < amxmodx >
#include < fun >
#pragma semicolon 1
static const PLUGIN_NAME[ ] = "HE / SM";
static const PLUGIN_AUTHOR[ ] = "puMf..";
new g_iTimeReload[ 33 ];
public plugin_init( )
{
register_plugin( PLUGIN_NAME, "0.1", PLUGIN_AUTHOR );
}
public client_putinserver( id )
{
set_task( 1.0, "old", id );
}
public old( id )
{
if( g_iTimeReload[ id ] < time( ) )
{
give_item( id, "weapon_smokegrenade" );
give_item( id, "weapon_hegrenade" );
g_iTimeReload[ id ] = time( ) + 15;
}
else
{
new iSeconds = g_iTimeReload[ id ] - time( );
set_hudmessage( 255, 0, 0, 0.04, 0.31, 0, 6.0, 1.0 );
show_hudmessage( id, "Au mai ramas %d secunde pana primesti HE/SM.", iSeconds );
}
set_task( 1.0, "old", id );
}
Testat si merge.
Retras
-
kosmo1994
- Membru, skill +1
- Posts: 278
- Joined: 12 May 2013, 10:15
- Detinator Steam: Nu
- CS Status: dr.legendcs.com
- Detinator server CS: dr.legendcs.com
- SteamID: dr.legendcs.com
- Has thanked: 77 times
- Been thanked: 26 times
-
Contact:
24 Jun 2013, 14:57
Merge pumf dar cum intru pe server baga numaratoarea dar eu am grenazi in mana le arunc imi da altele ,iar baga numaratoarea dupa 15 secunde imediat alte 15 secunde adica nu se opreste ..
-
Users browsing this forum: No registered users and 32 guests