Rotating the screen in the round end "SMA"

In jos

descarca Rotating the screen in the round end "SMA"

Mesaj Scris de CelRau la data de Sam Noi 26, 2016 11:21 am

Descriere: Acest plugin este foarte simplu la sfarsitul fiecarei runde tise va roti ecranul

Descarcare: SURSELE MAI JOS
Spoiler:
#include < amxmodx >
#include < fakemeta >

#define PLUGIN "[ All mod ] Rotating the screen in the round end"
#define VERSION "1.0"
#define AUTHOR "Opo4uMapy"

enum // rotație
{
Float:x = 400.0, // x
Float:y = 999.0, // y
Float:z = 400.0 // z
}

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

register_logevent("RoundEnd", 2, "1=Round_End")
}

public RoundEnd()
{
for(new id = 1; id <= get_maxplayers(); id++)
{
if(!is_user_connected(id) || !is_user_alive(id))
continue

set_pev(id, pev_punchangle, Float:{x, y, z})
}
}[/sursa]

[sursa=SMA 1.1]#include < amxmodx >
#include < engine >

// x // y // z
enum { Float:x = 400.0, Float:y = 999.0, Float:z = 400.0 }

public plugin_init()
{
register_plugin( "[ All mod ] Rotating the screen in the round end", "1.1", "Opo4uMapy & Cristi. C" );

register_logevent( "RoundEnd", 2, "1=Round_End" );
}

public RoundEnd( )
{
static Client;
for( Client = 1; Client <= get_maxplayers( ); Client++ )
{
if( !is_user_connected( Client ) || !is_user_alive( Client ) )
continue;

entity_set_vector( Client, EV_VEC_punchangle, Float:{ x, y, z } );
}
}

Nume: Rotating the screen in the round end
Versiune: 1.0 & 1.1
Link oficial:-//-
Instalare:
1. Fisierul Rotating_screen.sma il puneti in addons/amxmodx/scripting
2. Fisierul Rotating_screen.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Cod:
Rotating_screen.amxx
avatar
CelRau
Registered user
Registered user

Mesaje : 184
Data de inscriere : 26/11/2016

Sus In jos

Sus


 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum