Reklam gösterimini engelleyici yazılım kullandığınızı görüyoruz.
Sitemizin ayakta kalıp sizlere hizmet edebilmek için en büyük gelir kaynağı sayfamızda gösterilen reklamlardır.
Reklam gösterimde bizim sayfamıza ayrıcalık tanıyarak ayakta kalmamıza destek olmak ister misiniz ?

Silinmiş Konu   | Pugb Mod

Konu

#1
Pugb Modunu Yüklerken bu hatayı alıyorum 

./OynucazUp-nfsy1w1.sma(1) : error 010: invalid function or declaration
./OynucazUp-nfsy1w1.sma(1374) : warning 209: function "tumyasayanonunklani" should return a value
./OynucazUp-nfsy1w1.sma(1742) : error 088: number of arguments does not match definition
./OynucazUp-nfsy1w1.sma(1779) : error 088: number of arguments does not match definition

Kod:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fakemeta>
#include <fun>
#include <reapi>
#include <cstrike>
#include <hamsandwich>
#include <xs>


#define PLUGIN "Plug-in"
#define VERSION "1.0"
#define AUTHOR "Kerim Akovali"

#define SET_MODEL(%1,%2)        engfunc(EngFunc_SetModel, %1, %2)
#define RemoveEntity(%1)    engfunc(EngFunc_RemoveEntity,%1)

#define is_valid_player(%1) (1 <= %1 <= 32)


native g_useruid(id)
    native g_takimid(id)
    
native gorevpuan_ver(uid,puan,gorev)
    

new const gerisay[] = "gerisay_tr.wav"

new const rebicak_v[] = "models/GokTurk/v_tava.mdl"
new const rescout_v[] = "models/GokTurk/v_m241.mdl"
new const reawp_v[] = "models/GokTurk/v_kar98.mdl"

new const rebicak_p[] = "models/GokTurk/p_tava.mdl"
new const rescout_p[] = "models/GokTurk/p_m241.mdl"
new const reawp_p[] = "models/GokTurk/p_kar98.mdl"



new const iAchAmmo[19][] =
{
"",
"10",
"30",
"30",
"10",
"0",
"12",
"30",
"7",
"25",
"30",
"30",
"1",
"0",
"1",
"20",
"30",
"60",
"100"
}





new const iAchModel[19][256] =
{
"",
"models/GokTurk/w_kar98.mdl",
"models/w_ak47.mdl",
"models/w_m4a1.mdl",
"models/GokTurk/w_m241.mdl",
"models/w_smokegrenade.mdl",
"models/w_usp.mdl",
"models/w_aug.mdl",
"models/w_deagle.mdl",
"models/w_ump45.mdl",
"models/w_mac10.mdl",
"models/w_sg552.mdl",
"models/w_hegrenade.mdl",
"models/GokTurk/p_tava.mdl",
"models/w_medtrfix.mdl",
"models/w_kevlar.mdl",
"models/GokTurk/p_kask1.mdl",
"models/GokTurk/p_kask2.mdl",
"models/GokTurk/p_kask3.mdl"
}
new const iKaskModel[4][256] =
{
"",
"models/GokTurk/p_kask1.mdl",
"models/GokTurk/p_kask2.mdl",
"models/GokTurk/p_kask3.mdl"
}



new sure

#define MIN_ARMOURYS            2
#define GLOW_THICK_VALUE        10
new Float:salorigin[7][3]



new
parasutsure,
filename[256],
logfile[256];


new turcvar
new parasuty

new mapname[32]

#define OFFSET_CLIPAMMO        51
#define OFFSET_LINUX_WEAPONS    4

new g_entmodel[33], cvar_fallspeed

new const g_paramodel[] = "models/EpicParasut.mdl"
new const sound_name[] = { "misc/ElBasiSarki.wav" }
new const hasarses[] = { "misc/hasarses.wav" }






new bool:parasute[33];

// players offsets
#define m_pActiveItem 373

new g_HudID
new round = false
new takimolayi

new Array: silaharray


new Float:Oriucak[3]
new Float:Gideori[3]

new Ucakent
new camera

new Float:player_origin[33][3];


new bool:turneaq = false

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

silaharray = ArrayCreate( 512 )
g_HudID = CreateHudSyncObj(40);

get_mapname(mapname,31)
if((containi(mapname, "battleground") == -1))
{
server_cmd("amx_map battleground_v1");
}

get_configsdir(filename,255);
format(filename,255,"%s/battleground/%s.ini",filename,mapname);
get_configsdir(logfile,255);
format(logfile,255,"%s/battleground/%s-LOG.ini",logfile,mapname);    

register_clcmd("say /oyunbaslat","oyunbaslat",ADMIN_RCON);
register_clcmd("say /burdansal","saloriginr",ADMIN_RCON);
register_clcmd("say /turdurum", "elsoyle")
register_clcmd("say /atla","atlaucak");
register_clcmd("nightvision", "atlaucak")

register_concmd("chooseteam","haritacikar")
register_concmd("jointeam","block")
register_concmd("jointeam1","block")
register_concmd("jointeam2","block")
register_concmd("jointeam3","block")
register_concmd("jointeam4","block")
register_concmd("drop","dropg")


parasutsure = register_cvar("battleroyale_firlatsure", "15")
takimolayi = register_cvar("battleroyale_takimolayi", "1")
turcvar = register_cvar("battleroyale_tursure", "285")
parasuty = register_cvar("battleroyale_parasutsure", "25")
register_concmd("amx_belirleorigin","reload",ADMIN_RCON);
paracv = register_cvar("sv_parachute", "1")

register_forward( FM_ClientKill,       "FwdClientKill" );
register_event("TextMsg","restart","a","2&#Game_C"/*,"2&#Game_w"*/)
register_event( "DeathMsg" , "olunce" , "a" )
RegisterHam(Ham_TakeDamage,     "player", "FwdTakeDamage",      0);
register_logevent("elbitir", 2, "1=Round_Start");
register_forward(FM_PlayerPreThink,  "fwd_playerprethink")
RegisterHam(Ham_Killed, "player", "bacon_killed")
cvar_fallspeed = register_cvar("parachute_fallspeed", "170.0")
RegisterHookChain(RG_CBasePlayer_Spawn, "Fwd_PlayerSpawn_Post", true);
register_message( get_user_msgid( "StatusIcon" ), "Msg_StatusIcon" );
RegisterHam(Ham_Weapon_PrimaryAttack, "weapon_flashbang" , "Block_Zoom")
RegisterHam( Ham_Weapon_SecondaryAttack, "weapon_flashbang", "Block_Zoom" );
register_forward( FM_AddToFullPack, "fwdAddToFullPack_Post", 1 );
register_forward(FM_GetGameDescription, "fw_GetGameDescription")
register_event("CurWeapon",     "Event_Change_Weapon", "be", "1=1")

ayarlansa()
ayaryap()
set_task(3.0,"plg_oyunbaslat")
set_task(8.0,"ucakolustur")    
register_think("Ucak", "ucakthink")
register_think("camera", "camerathink")
}

public plugin_precache() {

precache_sound(sound_name)
precache_sound(hasarses)
precache_sound(gerisay)
precache_model(g_paramodel)
precache_model(iAchModel[1])        
precache_model(iAchModel[13])
precache_model(iAchModel[4])

precache_model(iKaskModel[1])
precache_model(iKaskModel[2])
precache_model(iKaskModel[3])    

precache_generic( "resource/TutorScheme.res" );
precache_generic( "resource/UI/TutorTextWindow.res" );

precache_generic( "gfx/career/icon_!.tga" );
precache_generic( "gfx/career/icon_!-bigger.tga" );
precache_generic( "gfx/career/icon_i.tga" );
precache_generic( "gfx/career/icon_i-bigger.tga" );
precache_generic( "gfx/career/icon_skulls.tga" );
precache_generic( "gfx/career/round_corner_ne.tga" );
precache_generic( "gfx/career/round_corner_nw.tga" );
precache_generic( "gfx/career/round_corner_se.tga" );
precache_generic( "gfx/career/round_corner_sw.tga" );

precache_model(rebicak_v)    
precache_model(rebicak_p)    

precache_model(rescout_v)    
precache_model(rescout_p)    

precache_model(reawp_v)    
precache_model(reawp_p)    

precache_model("models/Battleucak.mdl")
precache_model("models/Battleejder.mdl")
precache_model("models/rpgrocket.mdl")    
}


public ucakolustur()
{    
new map[33]

get_mapname(map,32)


if(equal(map,"battleground_v2f"))
{
Oriucak[0] = -2504.0
Oriucak[1] = 1447.0
Oriucak[2] = 505.0

Gideori[0] = 1580.0
Gideori[1] = -2778.0
Gideori[2] = 605.0        

}
else if(equal(map,"battleground_v1"))
{
Oriucak[0] = 2821.0
Oriucak[1] = -2568.0
Oriucak[2] = 3250.0    

Gideori[0] = -2353.0
Gideori[1] = 500.0
Gideori[2] = 3430.0        
}



Ucakent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))

engfunc(EngFunc_SetModel, Ucakent, "models/Battleejder.mdl")
engfunc(EngFunc_SetSize, Ucakent, { -32.0, -32.0, -36.0 }, { 32.0, 32.0, 96.0 })
engfunc(EngFunc_SetOrigin, Ucakent, Oriucak)

set_pev(Ucakent, pev_classname, "Ucak")
set_pev(Ucakent, pev_solid, SOLID_NOT)
set_pev(Ucakent, pev_movetype, MOVETYPE_NOCLIP)

set_pev(Ucakent, pev_nextthink, get_gametime() + 5.0)    
set_pev(Ucakent, pev_sequence, 23)
set_pev(Ucakent, pev_animtime, halflife_time())
set_pev(Ucakent, pev_framerate, 1.0)        
kamera()

}

public kamera()
{

camera = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))
engfunc(EngFunc_SetModel, camera, "models/rpgrocket.mdl")
entity_set_string(camera, EV_SZ_classname, "camera")
entity_set_int(camera, EV_INT_solid, SOLID_NOT)    
entity_set_int(camera, EV_INT_movetype, MOVETYPE_NOCLIP)

new Float:Ucakorin[3]


new map[33]

get_mapname(map,32)    
if(equal(map,"battleground_v1"))
{

Ucakorin[0] = 2821.0
Ucakorin[1] = -2538.0
Ucakorin[2] = 3340.0
}
else if(equal(map,"battleground_v2f"))
{
Ucakorin[0] = -2504.0
Ucakorin[1] = 1477.0
Ucakorin[2] = 700.0        
}




set_pev(camera,pev_origin,Ucakorin)

entity_set_size(camera, Float:{0,0,0}, Float:{0,0,0})


static Float:fVecPlayerOrigin[3], Float:fVecCameraOrigin[3], Float:fVecAngles[3], Float:fVecBack[3]

pev(Ucakent, pev_origin, fVecPlayerOrigin)



// See player from front ?
fVecAngles[0] = 80.0
set_pev(camera, pev_angles, fVecAngles)

angle_vector(fVecAngles, ANGLEVECTOR_FORWARD, fVecBack)

//Move back to see ourself (150 units)
//450
fVecCameraOrigin[0] = fVecPlayerOrigin[0] + (-fVecBack[0] * 250.0)
fVecCameraOrigin[1] = fVecPlayerOrigin[1] + (-fVecBack[1] * 250.0)
fVecCameraOrigin[2] = fVecPlayerOrigin[2] + (-fVecBack[2] * 250.0)

engfunc(EngFunc_TraceLine, fVecPlayerOrigin, fVecCameraOrigin, IGNORE_MONSTERS, Ucakent, 0)
static Float:flFraction
get_tr2(0, TR_flFraction, flFraction)
if( flFraction != 1.0 ) // adjust camera place if close to a wall
{
flFraction *= 250.0
fVecCameraOrigin[0] = fVecPlayerOrigin[0] + (-fVecBack[0] * flFraction)
fVecCameraOrigin[1] = fVecPlayerOrigin[1] + (-fVecBack[1] * flFraction)
fVecCameraOrigin[2] = fVecPlayerOrigin[2] + (-fVecBack[2] * flFraction)
}

fVecCameraOrigin[2] += 274
fVecCameraOrigin[1] -= 260
//fVecCameraOrigin[0] += 160

set_pev(camera, pev_origin, fVecCameraOrigin)


set_pev(camera, pev_nextthink, get_gametime() + 5.1)    
}



public camerathink(cament)
{
static Float:Origin[3],Float:Vector[3]


pev(cament, pev_origin, Origin)



xs_vec_sub(Gideori, Origin, Vector)
new Float:num = floatsqroot(290.0*290.0 / (Vector[0]*Vector[0] + Vector[1]*Vector[1] + Vector[2]*Vector[2]))
Vector[0] *= num
Vector[1] *= num
Vector[2] ? (Vector[2] = 0.0) : (Vector[2] *= num)
set_pev(cament, pev_velocity, Vector)

new Float:speedh
speedh = floatsqroot(floatpower(Vector[0], 2.0) + floatpower(Vector[1], 2.0))    
if(speedh < 90.0)
{

Set_Entity_Invisible(cament, 1)
set_pev(cament, pev_nextthink, get_gametime() + 999999.1)
return
}



set_pev(cament, pev_nextthink, get_gametime() + 0.1)
return    
}
public ucakthink(ucakente)
{
static Float:Origin[3],Float:Vector[3], Float:Angle[3]

pev(ucakente, pev_origin, Origin)


xs_vec_sub(Gideori, Origin, Vector)
vector_to_angle(Vector, Angle)
new Float:num = floatsqroot(300.0*300.0 / (Vector[0]*Vector[0] + Vector[1]*Vector[1] + Vector[2]*Vector[2]))
Vector[0] *= num
Vector[1] *= num
Vector[2] ? (Vector[2] = 0.0) : (Vector[2] *= num)
set_pev(ucakente, pev_velocity, Vector)
Angle[0] = 0.0
Angle[2] = 0.0
set_pev(ucakente, pev_angles, Angle)

new Float:speedh
speedh = floatsqroot(floatpower(Vector[0], 2.0) + floatpower(Vector[1], 2.0))    
if(speedh <= 90.0)
{    
Set_Entity_Invisible(ucakente,1)
for (new idry = 1; idry <=33; idry++)
{
if(!is_user_connected(idry) || get_user_team(idry) == 2 || is_user_bot(idry))
{
    continue
}
new Flags = pev(idry, pev_flags)

if(Flags & FL_FROZEN)
{
    
    set_pev(idry, pev_flags, Flags & ~FL_FROZEN)
    
    
    set_hudmessage(0, 255, 0, 0.29, 0.12, 0, 6.0, 5.0)
    
    ShowSyncHudMsg(idry, g_HudID, "UCAKTAN ATLADINIZ UYGUN BIR YERE DUSEBILIRSINIZ AMACINIZ SILAHLARI BULARAK DIGER INSANLARI OLDURMEK!")           
    set_pev(idry, pev_origin, salorigin[random_num(1,6)])
    attach_view(idry,idry)
    parasute[idry] = true
    set_task(3.0,"lentrr",idry+12317)
    
    
}        
}
set_pev(ucakente, pev_nextthink, get_gametime() + 999999.1)
}    
set_pev(ucakente, pev_nextthink, get_gametime() + 0.1)

return    
}
public atlaucak(id)
{

new Flags = pev(id, pev_flags)

if(Flags & FL_FROZEN)
{
set_pev(id, pev_flags, Flags & ~FL_FROZEN)


new Float:orife[3]
new szWeapon[20]
if(pev_valid(Ucakent))
{
pev(Ucakent, pev_classname, szWeapon, charsmax(szWeapon));
if(equal(szWeapon,"Ucak"))
{
    pev(Ucakent,pev_origin,orife)
}
}
set_hudmessage(0, 255, 0, 0.29, 0.12, 0, 6.0, 5.0)

ShowSyncHudMsg(id, g_HudID, "UCAKTAN ATLADINIZ E ILE PARASUT BASINIZ")           
set_pev(id,pev_origin,orife)

attach_view(id,id)
parasute[id] = true
set_task(3.0,"lentrr",id+12317)
}
}
public lentrr(id)
{
id -=12317
if(is_user_connected(id))
{
parasute[id] = true

}
}
public Event_Change_Weapon(id)
{
new weaponID = read_data(2)

switch(weaponID)
{
case CSW_P228: {
set_pev(id, pev_viewmodel2, "models/v_p228.mdl")
set_pev(id, pev_weaponmodel2, "models/p_p228.mdl")
}
case CSW_ELITE: {
set_pev(id, pev_viewmodel2, "models/v_elite.mdl")
set_pev(id, pev_weaponmodel2, "models/p_elite.mdl")
}
case CSW_FIVESEVEN: {
set_pev(id, pev_viewmodel2, "models/v_fiveseven.mdl")
set_pev(id, pev_weaponmodel2, "models/p_fiveseven.mdl")
}
case CSW_USP: {
set_pev(id, pev_viewmodel2, "models/v_usp.mdl")
set_pev(id, pev_weaponmodel2, "models/p_usp.mdl")
}
case CSW_GLOCK18: {
set_pev(id, pev_viewmodel2, "models/v_glock18.mdl")
set_pev(id, pev_weaponmodel2, "models/p_glock18.mdl")
}
case CSW_DEAGLE: {
set_pev(id, pev_viewmodel2, "models/v_deagle.mdl")
set_pev(id, pev_weaponmodel2, "models/p_deagle.mdl")
}
case CSW_HEGRENADE: {
set_pev(id, pev_viewmodel2, "models/v_hegrenade.mdl")
set_pev(id, pev_weaponmodel2, "models/p_hegrenade.mdl")
}
case CSW_SMOKEGRENADE: {
set_pev(id, pev_viewmodel2, "models/v_smokegrenade.mdl")
set_pev(id, pev_weaponmodel2, "models/p_smokegrenade.mdl")
}
case CSW_FLASHBANG: {
set_pev(id, pev_viewmodel2, "models/v_flashbang.mdl")
set_pev(id, pev_weaponmodel2, "models/p_flashbang.mdl")
}
case CSW_KNIFE: {
set_pev(id, pev_viewmodel2, rebicak_v)
set_pev(id, pev_weaponmodel2, rebicak_p)
}
case CSW_AWP: {
set_pev(id, pev_viewmodel2, reawp_v)
set_pev(id, pev_weaponmodel2, reawp_p)        
}
case CSW_SCOUT: {
set_pev(id, pev_viewmodel2, rescout_v)
set_pev(id, pev_weaponmodel2, rescout_p)                
}
case CSW_AK47: {
set_pev(id, pev_viewmodel2, "models/v_ak47.mdl")
set_pev(id, pev_weaponmodel2, "models/p_ak47.mdl")                
}
case CSW_M4A1: {
set_pev(id, pev_viewmodel2, "models/v_m4a1.mdl")
set_pev(id, pev_weaponmodel2, "models/p_m4a1.mdl")                        
}
case CSW_AUG: {
set_pev(id, pev_viewmodel2, "models/v_aug.mdl")
set_pev(id, pev_weaponmodel2, "models/p_aug.mdl")        
}
case CSW_UMP45: {
set_pev(id, pev_viewmodel2, "models/v_ump45.mdl")
set_pev(id, pev_weaponmodel2, "models/p_ump45.mdl")        
}
case CSW_MAC10:  {
set_pev(id, pev_viewmodel2, "models/v_mac10.mdl")
set_pev(id, pev_weaponmodel2, "models/p_mac10.mdl")                        
}
case CSW_SG552: {
set_pev(id, pev_viewmodel2, "models/v_sg552.mdl")
set_pev(id, pev_weaponmodel2, "models/p_sg552.mdl")                        
}
}



return PLUGIN_CONTINUE
}
public haritacikar(id)
{

show_motd(id,"https://i.hizliresim.com/3prZ64.jpg","GokTurk Pub-G")

return PLUGIN_HANDLED
}
public fw_GetGameDescription()
{
// Return the mod name so it can be easily identified
forward_return(FMV_STRING, "Battleground")

return FMRES_SUPERCEDE;
}
public elsoyle(id)
{
renkli_yazi(id,"!n[ !tBILGI !n] !n[ !gTur !t%s !n]", turneaq ? "DEVAM EDIYOR":"BITTI")
return 1;
}
public klankazandi(idet)
{
for (new id = 1; id <=33; id++)
{
if (!is_user_connected(id) || !is_user_alive(id) || g_takimid(id) != g_takimid(idet) || g_takimid(id) == 0 || get_member(id, m_iTeam) != TEAM_TERRORIST || is_user_bot(id))
{
continue
}
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0)

new islem,formatex3[30]

islem = (get_user_frags(id)*200)+100


if(get_playersnum() == 8 || get_playersnum() >= 8)
{  
ShowSyncHudMsg(idet, g_HudID, "Corba Parasi Cikti Oldurmeniz %i-Aldiginiz Exp %i",get_user_frags(id),islem)            
formatex(formatex3,29,"%i",islem)
server_cmd("amx_xpveruid %i %i",g_useruid(idet),str_to_num(formatex3))
gorevpuan_ver(g_useruid(idet),1,7)
}    
else
{
ShowSyncHudMsg(idet, g_HudID, "Server 8 kisiden az oldugu icin puan alamadiniz-Oldurmen : %i",get_user_frags(id))            
}
}  
}
public olunce()
{
new olduren = read_data( 1 );
new olen = read_data( 2 );

if(!is_valid_player(olen))
{
return PLUGIN_HANDLED
}
if(olen != olduren && is_valid_player(olduren))
{
gorevpuan_ver(g_useruid(olduren),1,1)
}
gorevpuan_ver(g_useruid(olen),1,2)


parasute[olen] = false
if(pev_valid(g_entmodel[olen]))
{    
new szWeapon[20]
pev(g_entmodel[olen], pev_classname, szWeapon, charsmax(szWeapon));

if(equal(szWeapon,"parachute"))
{            

engfunc(EngFunc_RemoveEntity, g_entmodel[olen])
g_entmodel[olen] = 0
parasute[olen] = false
}
}    
if(get_member(olen, m_iTeam) == TEAM_CT)
{
if(!is_user_alive(olen))
{
rg_round_respawn(olen)
}
return PLUGIN_HANDLED
}
if(get_member(olen, m_iTeam) != TEAM_TERRORIST || is_user_bot(olen) || is_user_bot(olduren))
{
return PLUGIN_HANDLED
}
if(!is_valid_player(olduren) && is_user_connected(olen) && get_member(olen, m_iTeam) == TEAM_TERRORIST)
{
rg_set_user_team(olen, TEAM_SPECTATOR)  
renkli_yazi(olen,"!n[ !yBILGI !n] !gOldugnuz Icin Spectrator Takimina Atildiniz")
}

if(is_user_connected(olen) && get_member(olen, m_iTeam) == TEAM_TERRORIST)
{
rg_set_user_team(olen, TEAM_SPECTATOR)  
renkli_yazi(olen,"!n[ !yBILGI !n] !gOldugnuz Icin Spectrator Takimina Atildiniz")
}




remove_task(olen+1231)    

new players[32],inum;
get_players(players,inum,"ae","TERRORIST")

new formatex1[30]
formatex(formatex1,charsmax(formatex1),"YasayanKisi: %i",inum)
for (new id = 1; id <=33; id++)
{
if (!is_user_connected(id))
{
continue
}
tutor_mesaj_olustur(id,formatex1,1)
}

set_task(1.0,"atspec",olen+76)


if(get_playersnum() == 1)
{
return PLUGIN_HANDLED
}

if(!turneaq)
{
return PLUGIN_HANDLED       
}  
if(!sonakalancek())
{
remove_task(6767)
plg_oyunbaslat()
remove_task(3499)

return PLUGIN_HANDLED
}    


if(inum == 1 || inum <=1)
{

round = true
new idet= sonakalancek()
new adminismi[32]
get_user_name(idet,adminismi,31)        
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
remove_task(3499)
remove_task(762)
remove_task(532)
turneaq = false
set_task(5.0,"sonakalan",3499)
elbitir()
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0)
new islem,formatex3[30]

new szLine[512]
formatex(szLine,511,"^"%s^" ^"%i^" ^"SonaKaldi^" ",adminismi,g_takimid(idet))
write_file(logfile,szLine)        
islem = (get_user_frags(idet)*200)+100

if(get_playersnum() == 8 || get_playersnum() >= 8)
{  
ShowSyncHudMsg(idet, g_HudID, "Corba Parasi Cikti Oldurmeniz %i-Aldiginiz Exp %i",get_user_frags(idet),islem)            
formatex(formatex3,29,"%i",islem)
server_cmd("amx_xpveruid %i %i",g_useruid(idet),str_to_num(formatex3))
gorevpuan_ver(g_useruid(idet),1,3)
}    
else
{
ShowSyncHudMsg(idet, g_HudID, "Server 8 kisiden az oldugu icin puan alamadiniz-Oldurmen : %i",get_user_frags(idet))            
}
return PLUGIN_HANDLED
}


if(olen==olduren)
{


if(is_user_connected(olen) && get_member(olen, m_iTeam) == TEAM_TERRORIST)
{
rg_set_user_team(olen, TEAM_SPECTATOR)  
}


if(inum == 1 || inum <=1)
{
new idet= sonakalancek()
new adminismi[32]
get_user_name(idet,adminismi,31)      
new szLine[512]
formatex(szLine,511,"^"%s^" ^"%i^" ^"SonaKaldi^" ",adminismi,g_takimid(idet))
write_file(logfile,szLine)                     
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
remove_task(3499)
remove_task(762)
remove_task(532)
turneaq = false
set_task(5.0,"sonakalan",3499)
elbitir()
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0)
new islem,formatex3[30]

islem = (get_user_frags(idet)*200)+100
if(get_playersnum() == 8 || get_playersnum() >= 8)
{  
    ShowSyncHudMsg(idet, g_HudID, "Corba Parasi Cikti Oldurmeniz %i-Aldiginiz Exp %i",get_user_frags(idet),islem)            
    formatex(formatex3,29,"%i",islem)
    server_cmd("amx_xpveruid %i %i",g_useruid(idet),str_to_num(formatex3))
    gorevpuan_ver(g_useruid(idet),1,3)
}    
else
{
    ShowSyncHudMsg(idet, g_HudID, "Server 8 kisiden az oldugu icin puan alamadiniz-Oldurmen : %i",get_user_frags(idet))            
}
return PLUGIN_HANDLED
}  

}  
else
{


if(inum == 1 || inum <=1)
{

new idet= sonakalancek()
new adminismi[32]
get_user_name(idet,adminismi,31)        
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
new szLine[512]
formatex(szLine,511,"^"%s^" ^"%i^" ^"SonaKaldi^" ",adminismi,g_takimid(idet))                

write_file(logfile,szLine)                     
remove_task(3499)
remove_task(762)
remove_task(532)
turneaq = false
set_task(5.0,"sonakalan",3499)
elbitir()
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0)
new islem,formatex3[30]

islem = (get_user_frags(idet)*200)+100
if(get_playersnum() == 8 || get_playersnum() >= 8)
{  
    ShowSyncHudMsg(idet, g_HudID, "Corba Parasi Cikti Oldurmeniz %i-Aldiginiz Exp %i",get_user_frags(idet),islem)            
    formatex(formatex3,29,"%i",islem)
    server_cmd("amx_xpveruid %i %i",g_useruid(idet),str_to_num(formatex3))
    gorevpuan_ver(g_useruid(idet),1,3)
    
}    
else
{
    ShowSyncHudMsg(idet, g_HudID, "Server 8 kisiden az oldugu icin puan alamadiniz-Oldurmen : %i",get_user_frags(idet))            
}
return PLUGIN_HANDLED
}

}

if(is_user_connected(olduren) && is_valid_player(olduren))
{
if(get_pcvar_num(takimolayi))
{
if(g_takimid(olduren) && tumyasayanonunklani(olduren))
{
    
    renkli_yazi(0,"!n[ !tBILGI !n] !gOyunu !n[ !t%i !n] !gAdli Klan Kazaniyor",g_takimid(olduren))
    new szLine[512]
    formatex(szLine,511,"^"%i^" ^"%i^" ^"SonaKaldi^" ",g_takimid(olduren),g_takimid(olduren))
    write_file(logfile,szLine)          
    remove_task(3499)
    remove_task(762)
    remove_task(532)
    turneaq = false
    set_task(5.0,"sonakalan",3499)
    elbitir()
    
    klankazandi(olduren)          
    return PLUGIN_HANDLED  
}
else
{
    
    new atat = birinicek(olduren)
    
    if(g_takimid(atat) && tumyasayanonunklani(atat) && (round))
    {
        new szLine[512]
        formatex(szLine,511,"^"%i^" ^"%i^" ^"SonaKaldi^" ",g_takimid(atat),g_takimid(atat))
        write_file(logfile,szLine)                       
        renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%i !n] !gUID'li Klan Oyunu !n[!t KAZANDI !n]",g_takimid(atat))
        
        remove_task(3499)
        remove_task(762)
        remove_task(532)
        turneaq = false
        set_task(5.0,"sonakalan",3499)
        elbitir()
        
        klankazandi(atat)  
        return PLUGIN_HANDLED
    }
}

}

}

kontrol()

return PLUGIN_HANDLED
}
public taskkontrol()
{
//turneaq = false
//set_task(3.0,"taskkontrol",6767)

if(get_playersnum() == 1 || !turneaq)
{
return PLUGIN_HANDLED
}    

if(!sonakalancek())
{
turneaq = false
plg_oyunbaslat()
remove_task(762)
return PLUGIN_CONTINUE
}

new players[32],inum;
get_players(players,inum,"ae","TERRORIST")    
if(inum == 1 || inum <=1)
{
turneaq = false
new idet= sonakalancek()
if(!is_valid_player(idet))
{
remove_task(3499)
remove_task(762)
turneaq = false
remove_task(532)
set_task(5.0,"sonakalan",3499)                
elbitir()
}
else
{
new adminismi[32]
get_user_name(idet,adminismi,31)      
renkli_yazi(idet,"!n[ !yBILGI !n] !gOldugnuz Icin Spectrator Takimina Atildiniz")  
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
new szLine[512]
formatex(szLine,511,"^"%s^" ^"%i^" ^"SonaKaldi^" ",adminismi,g_takimid(idet))
write_file(logfile,szLine)                  
remove_task(3499)
turneaq = false
remove_task(762)
remove_task(532)
set_task(5.0,"sonakalan",3499)
elbitir()
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0)
new islem,formatex3[30]

islem = (get_user_frags(idet)*200)+100

if(get_playersnum() == 8 || get_playersnum() >= 8)
{  
    ShowSyncHudMsg(idet, g_HudID, "Corba Parasi Cikti Oldurmeniz %i-Aldiginiz Exp %i",get_user_frags(idet),islem)            
    formatex(formatex3,29,"%i",islem)
    server_cmd("amx_xpveruid %i %i",g_useruid(idet),str_to_num(formatex3))
    gorevpuan_ver(g_useruid(idet),1,3)
}    
else
{
    ShowSyncHudMsg(idet, g_HudID, "Server 8 kisiden az oldugu icin puan alamadiniz-Oldurmen : %i",get_user_frags(idet))            
}      
}
return PLUGIN_CONTINUE
}

if(get_pcvar_num(takimolayi))
{
round = true
new atat = birinicekl()
if(g_takimid(atat) && tumyasayanonunklani(atat) && (round))
{
new szLine[512]
formatex(szLine,511,"^"%i^" ^"%i^" ^"SonaKaldi^" ",g_takimid(atat),g_takimid(atat))
write_file(logfile,szLine)                  
renkli_yazi(0,"!n[ !tBILGI !n] !gOyunu !n[ !t%i !n] !gAdli Klan Kazaniyor",g_takimid(atat))

remove_task(3499)
turneaq = false
remove_task(762)
remove_task(532)
set_task(5.0,"sonakalan",3499)
elbitir()

klankazandi(atat)      
return PLUGIN_CONTINUE
}


}    
return PLUGIN_CONTINUE
}
public ayaryap()
{
new ent = 0, entsremoved = 0
while ((ent = find_ent_by_class(ent, "armoury_entity"))) {
if(pev_valid(ent))
{    
RemoveEntity(ent)
entsremoved++
}
}
/*
ent = 0
while ((ent = find_ent_by_class(ent, "func_tracktrain"))) {
if(pev_valid(ent))
{    
RemoveEntity(ent)
entsremoved++
}
}
*/    
new ents = 0
while ((ents = find_ent_by_class(ents, "weapon_box"))) {
if(pev_valid(ents))
{
RemoveEntity(ents)
entsremoved++
}
}    
new target = -1, classname[] = "func_bomb_target"
while ((target = find_ent_by_class(target, classname)))
{
if(pev_valid(target))
{    
RemoveEntity(target)
}
}    
classname = "info_bomb_target"
while ((target = find_ent_by_class(target, classname)))
{
if(pev_valid(target))
{
RemoveEntity(target)
}
}
if(file_exists(filename))
{
new szLine[248];

new maxlines,txtlen;
maxlines = file_size(filename,1);


for (new idr = 6; idr <= maxlines; idr++)
{    
read_file(filename,idr,szLine,247,txtlen)
if(szLine[0])
{
    ArrayPushArray(silaharray,szLine)
}
}
}
}
public plugin_end()
{
ArrayDestroy( silaharray );
}
public bacon_killed(victim, attacker, shouldgib)
{
if(!is_user_bot(victim))
{
parachute_reset(victim)    
}    
}

public parachute_reset(id)
{
if(g_entmodel[id] > 0)
engfunc(EngFunc_RemoveEntity, g_entmodel[id])    

g_entmodel[id] = 0
}
public afkmilao(id)
{
id -=5431
if(is_user_connected(id))
{
if(same_origin(id))
{
    user_kill(id)
}
}
}
public same_origin(id)
{
new Float:origin[3];
pev(id, pev_origin, origin);
for(new i = 0; i < 2; i++)
if(origin[i] != player_origin[id][i])
return 0;
return 1;
}  
public originlan(id)
{
    id -=31123
    if(is_user_connected(id))
    {
        pev(id,pev_origin,player_origin[id])
    }    
}
public fwd_playerprethink(id)
{
    if(!is_user_alive(id) && !is_user_connected(id) || is_user_bot(id))
        return FMRES_IGNORED
    if(!get_pcvar_num(paracv))
    {
        return FMRES_IGNORED
    }
    
    static Float:frame, flags; flags  = pev(id, pev_flags)
    if((flags & FL_ONGROUND))
    {
        if(g_entmodel[id] > 0)
        {
            
            if(pev_valid(g_entmodel[id]))
            {    
                new szWeapon[20]
                pev(g_entmodel[id], pev_classname, szWeapon, charsmax(szWeapon));
                
                if(equal(szWeapon,"parachute"))
                {                    
                    engfunc(EngFunc_RemoveEntity, g_entmodel[id])
                    g_entmodel[id] = 0
                    return FMRES_IGNORED
                }
            }
        }
    }
    
    
    if(pev(id, pev_button) & IN_USE)
    {
        
        static Float:velocity[3]
        pev(id, pev_velocity, velocity)
        
        if(velocity[2] < 0.0)
        {
            if(g_entmodel[id] < 1)
            {
                g_entmodel[id] = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))
                if(g_entmodel[id] > 0)
                {
                    engfunc(EngFunc_SetModel, g_entmodel[id], g_paramodel)
                    set_pev(g_entmodel[id], pev_classname,    "parachute")
                    set_pev(g_entmodel[id], pev_aiment,       id)
                    set_pev(g_entmodel[id], pev_owner,        id)
                    set_pev(g_entmodel[id], pev_movetype,      MOVETYPE_FOLLOW)
                    set_pev(g_entmodel[id], pev_sequence,      0)
                    set_pev(g_entmodel[id], pev_gaitsequence, 1)
                    set_pev(g_entmodel[id], pev_frame,       0.0)
                    set_pev(g_entmodel[id], pev_fuser1,       0.0)
                }
            }
            else if(g_entmodel[id] > 0)
            {
                new szWeapon[20]
                pev(g_entmodel[id], pev_classname, szWeapon, charsmax(szWeapon));
                
                if(equal(szWeapon,"parachute"))
                {                
                    static Float:fallspeed; fallspeed = get_pcvar_float(cvar_fallspeed) * -1.0
                    velocity[2] = (velocity[2] + 40.0 < fallspeed) ? velocity[2] + 40.0 : fallspeed
                    set_pev(id, pev_velocity, velocity)
                    
                    set_pev(id, pev_sequence, 3), set_pev(id, pev_gaitsequence, 1)
                    set_pev(id, pev_frame, 1.0),  set_pev(id, pev_framerate, 1.0)
                    if(pev(g_entmodel[id], pev_sequence) == 0)
                    {
                        frame = pev(g_entmodel[id], pev_fuser1) + 1.0
                        set_pev(g_entmodel[id], pev_fuser1, frame)
                        set_pev(g_entmodel[id], pev_frame,  frame)
                        
                        if(frame > 100.0)
                        {
                            set_pev(g_entmodel[id], pev_animtime,       0.0)
                            set_pev(g_entmodel[id], pev_framerate,    0.4)
                            set_pev(g_entmodel[id], pev_sequence,       1)
                            set_pev(g_entmodel[id], pev_gaitsequence, 1)
                            set_pev(g_entmodel[id], pev_frame,       0.0)
                            set_pev(g_entmodel[id], pev_fuser1,       0.0)
                        }
                    }
                }
            }
        }
        else if(g_entmodel[id] > 0 && pev_valid(g_entmodel[id]))
        {
            new szWeapon[20]
            pev(g_entmodel[id], pev_classname, szWeapon, charsmax(szWeapon));
            
            if(equal(szWeapon,"parachute"))
            {            
                engfunc(EngFunc_RemoveEntity, g_entmodel[id])
                
                g_entmodel[id] = 0
            }
        }
    }    
    return FMRES_IGNORED
}
public dropg(id)
{
    return PLUGIN_HANDLED
}

public fwdAddToFullPack_Post( es_handle, e, ent, host, hostflags, player, pset )
{
    if(player){
        if(is_valid_player(host) && is_valid_player(ent))
        {
            if(is_user_connected(host) && is_user_connected(ent))
            {
                if(!is_user_bot(host) && !is_user_bot(ent))
                {
                    if(is_user_alive(host) && host != ent && g_takimid(host) && g_takimid(ent) && is_user_alive(ent) && g_takimid(host) == g_takimid(ent) && get_pcvar_num(takimolayi)){
                        set_es( es_handle, ES_RenderFx, kRenderFxGlowShell );
                        set_es( es_handle, ES_RenderColor, 0,255,0 );
                        set_es( es_handle, ES_RenderAmt, 85 );
                    }
                }
            }    
        }
    }
}


public Block_Zoom( const entity )
{
    return HAM_SUPERCEDE;
}

public ayarlansa()
{
    new szLine[248];
    new birincidegera[4][6]
    new txtlen;    
    for (new id = 0; id <=5; id++)
    {  
        read_file(filename,id,szLine,247,txtlen)
        parse(szLine,birincidegera[0],5,birincidegera[1],5,birincidegera[2],5)          
        salorigin[id+1][0] = floatstr(birincidegera[0])
        salorigin[id+1][1] = floatstr(birincidegera[1])
        salorigin[id+1][2] = floatstr(birincidegera[2])
        
    }  
}

public client_putinserver(id)
{
    if(is_user_connected(id))
    {
        if(!is_user_bot(id))
        {
            if(get_member(id, m_iTeam) != TEAM_SPECTATOR)
            {
                rg_set_user_team(id, TEAM_SPECTATOR)  
            }
            user_kill(id)
            remove_task(id+11)
            set_task(0.5,"oldur",id+11)
            parachute_reset(id)
            parasute[id] = false    
        }        
    }
    
}
public oldur(id)
{
    id-=11
    if(is_user_connected(id))
    {
        if(!is_user_bot(id))
        {    
            if(get_member(id, m_iTeam) != TEAM_SPECTATOR)
            {
                rg_set_user_team(id, TEAM_SPECTATOR)  
            }
            user_kill(id)
            
            remove_task(id+11)
        }
    }
}
public restart()
{
    remove_task(532)
    remove_task(534)
    remove_task(3499)
}
public block(id)
{
    return PLUGIN_HANDLED
}
public blocke(id)
{
    return PLUGIN_HANDLED
}

public Msg_StatusIcon( msgid, msgdest, id ) {
    static szMsg[ 8 ];
    get_msg_arg_string( 2, szMsg, 7 );
    
    if( equal( szMsg, "buyzone" ) && get_msg_arg_int( 1 ) ) {
        set_pdata_int( id, 235, get_pdata_int( id, 235 ) & ~( 1 << 0 ) );
        return PLUGIN_HANDLED;
    }
    
    return PLUGIN_CONTINUE;
}  


public sonakalancek()
{
    for (new id = 1; id <=33; id++)
    {
        if (!is_user_connected(id) || !is_user_alive(id) || get_member(id, m_iTeam) != TEAM_TERRORIST || is_user_bot(id))
        {
            continue
        }
        return id
    }  
    return 0
}
public tumyasayanonunklani(attacker)
{
    new sayi
    for (new id = 1; id <=33; id++)
    {
        if (!is_user_connected(id) || !is_user_alive(id) || g_takimid(id) !=g_takimid(attacker) || g_takimid(id) == 0 || get_member(id, m_iTeam) != TEAM_TERRORIST || is_user_bot(id))
        {
            continue
        }
        sayi++
    }  
    new players[32],inum;
    get_players(players,inum,"ae","TERRORIST")    
    
    if(sayi == inum)
    {
        return true
    }
    else
    {
        return false
    }
}
public birinicekl()
{
    for (new id = 1; id <=33; id++)
    {
        if (!is_user_connected(id) || !is_user_alive(id) || get_member(id, m_iTeam) != TEAM_TERRORIST || is_user_bot(id))
        {
            continue
        }
        return id
    }  
    return 0    
}
public birinicek(idet)
{
    for (new id = 1; id <=33; id++)
    {
        if (!is_user_connected(id) || !is_user_alive(id) || id == idet || get_member(id, m_iTeam) != TEAM_TERRORIST || is_user_bot(id))
        {
            continue
        }
        return id
    }  
    return 0
}
public atspec(id)
{
    id -= 76
    if(is_user_connected(id) && get_member(id, m_iTeam) == TEAM_TERRORIST && !is_user_bot(id))
    {
        rg_set_user_team(id, TEAM_SPECTATOR)  
    }
}
public plg_oyunbaslat()
{
    server_cmd("amx_cvar sv_restart 1")
    round = false
    elbitir()
    renkli_yazi(0,"!n[ !tBILGI !n] !gLutfen !n[ !tEJDER'DEN !n] !gAtladiktan Sonra !n[ !tPARASUT !n] !gBasiniz")
    sure = get_pcvar_num(parasutsure)
    set_cvar_num("sv_parachute",1)
    
    set_task(1.0,"firlatsure",7623)
    
    server_cmd("amx_cvar mp_freeforall 1")
    
    for (new id = 1; id <=33; id++)
    {
        if (!is_user_connected(id) || is_user_bot(id))
        {
            continue
        }
        if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
        {
            rg_set_user_team(id, TEAM_TERRORIST)  
            rg_round_respawn(id)
        }
        
    }  
}
public kontrol()
{
    if(get_playersnum() == 1)
    {
        return PLUGIN_HANDLED
    }
    if(!turneaq)
    {
        return PLUGIN_HANDLED       
    }
    if(!sonakalancek())
    {
        turneaq = false
        plg_oyunbaslat()
        remove_task(3499)
        remove_task(762)
        return PLUGIN_CONTINUE
    }
    
    new players[32],inum;
    get_players(players,inum,"ae","TERRORIST")    
    if(inum == 1 || inum <=1)
    {
        turneaq = false
        new idet= sonakalancek()
        if(!is_valid_player(idet))
        {
            remove_task(3499)
            turneaq = false
            remove_task(762)
            remove_task(532)
            set_task(5.0,"sonakalan",3499)                
            elbitir()
        }
        else
        {
            new adminismi[32]
            get_user_name(idet,adminismi,31)        
            renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
            renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
            renkli_yazi(0,"!n[ !tBILGI !n] !n[ !g%s !n] !gAdli Kisi Oyunu !n[!t KAZANDI !n]",adminismi)
            new szLine[512]
            formatex(szLine,511,"^"%s^" ^"%i^" ^"SonaKaldi^" ",adminismi,g_takimid(idet))
            write_file(logfile,szLine)                  
            remove_task(3499)
            turneaq = false
            remove_task(762)
            remove_task(532)
            set_task(5.0,"sonakalan",3499)
            elbitir()
            set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 5.0)
            new islem,formatex3[30]
            
            islem = (get_user_frags(idet)*200)+100
            
            if(get_playersnum() == 8 || get_playersnum() >= 8)
            {  
                ShowSyncHudMsg(idet, g_HudID, "Corba Parasi Cikti Oldurmeniz %i-Aldiginiz Exp %i",get_user_frags(idet),islem)            
                formatex(formatex3,29,"%i",islem)
                server_cmd("amx_xpveruid %i %i",g_useruid(idet),str_to_num(formatex3))
                gorevpuan_ver(g_useruid(idet),1,3)
            }    
            else
            {
                ShowSyncHudMsg(idet, g_HudID, "Server 8 kisiden az oldugu icin puan alamadiniz-Oldurmen : %i",get_user_frags(idet))            
            }    
        }
        return PLUGIN_CONTINUE
    }
    
    if(get_pcvar_num(takimolayi))
    {
        round = true
        new atat = birinicekl()
        if(g_takimid(atat) && tumyasayanonunklani(atat) && (round))
        {
            new szLine[512]
            formatex(szLine,511,"^"%i^" ^"%i^" ^"SonaKaldi^" ",g_takimid(atat),g_takimid(atat))
            write_file(logfile,szLine)                 
            renkli_yazi(0,"!n[ !tBILGI !n] !gOyuncu Cikis Yapti !n[ !g%i !n] !gUID'li Klan Oyunu !n[!t KAZANDI !n]",g_takimid(atat))
            
            remove_task(3499)
            turneaq = false
            remove_task(762)
            remove_task(532)
            set_task(5.0,"sonakalan",3499)
            elbitir()
            
            klankazandi(atat)        
            return PLUGIN_CONTINUE
        }
        
        
    }    
    return PLUGIN_CONTINUE
}
public FwdClientKill( id ) {
    if(!is_user_alive(id) )
        return FMRES_IGNORED;
    
    if(cs_get_user_team( id ) == CS_TEAM_T ) {
        server_cmd("amx_xpaluid %i 250",g_useruid(id))
        renkli_yazi(id,"!n[ !tKUFUR !n] !gKufur Ettiginiz Icin !n[!t 250 !n] !gXP Kaybettin")
        return FMRES_SUPERCEDE;
    }
    return FMRES_IGNORED;
}

public client_disconnect(id)
{
    taskkontrol()
    
    
    remove_task(id+31123)
    remove_task(id+5431)
    remove_task(id+1231)
    
    parachute_reset(id)
    parasute[id] = false
    remove_task(id+11)
    remove_task(id+317)
    new players[32],inum;
    get_players(players,inum,"ae","TERRORIST")        
    new formatex1[30]
    
    formatex(formatex1,charsmax(formatex1),"YasayanKisi: %i",inum)
    for (new id = 1; id <=33; id++)
    {
        if (!is_user_connected(id))
        {
            continue
        }
        tutor_mesaj_olustur(id,formatex1,1)
    }  
}


public sonakalan()
{
    plg_oyunbaslat()
    remove_task(3499)
    remove_task(532)
    remove_task(534)    
    new idr = sonakalancek()
    if(is_user_connected(idr) && is_valid_player(idr) && get_member(idr, m_iTeam) == TEAM_TERRORIST && !is_user_bot(idr))
    {      
        rg_set_user_team(idr, TEAM_SPECTATOR)  
    }
    
}

stock tutor_mesaj_olustur(id, mesaj[], stil){
    if( is_user_connected( id ) && !is_user_bot(id))
    {
        
        message_begin(MSG_ONE_UNRELIABLE , get_user_msgid("TutorClose"), {0, 0, 0}, id)
        message_end()
        
        message_begin(MSG_ONE_UNRELIABLE , get_user_msgid("TutorText"), {0, 0, 0}, id)
        write_string(mesaj)
        write_byte(0)
        write_short(0)
        write_short(0)
        write_short(1<<stil)
        message_end()
        
    }
}

public FwdTakeDamage(victim, inflictor, attacker, Float:damage, damagebits)
{
    
    if(!is_valid_player(attacker) || is_user_bot(victim) || is_user_bot(attacker))
    {
        return HAM_HANDLED
    }
    
    
    if(get_member(victim, m_iTeam) != TEAM_TERRORIST || get_member(attacker, m_iTeam) != TEAM_TERRORIST)
    {
        return HAM_SUPERCEDE
    }
    
    if(get_pcvar_num(takimolayi))
    {  
        if(g_takimid(attacker)==g_takimid(victim) && g_takimid(victim) != 0 && g_takimid(attacker) != 0)
        {
            return HAM_SUPERCEDE    
        }
    }
    
    
    //emit_sound(victim, CHAN_AUTO, hasarses , VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    client_cmd(victim, "spk %s", hasarses)
    if(get_pdata_int(victim, 75) == HIT_HEAD)
    {    
        gorevpuan_ver(g_useruid(attacker),1,10)
    }    
    if(get_user_weapon(attacker) == CSW_AWP)
    {
        if(get_pdata_int(victim, 75) == HIT_HEAD)
        {    
            gorevpuan_ver(g_useruid(attacker),1,4)
        }
    }    
    return HAM_HANDLED
}




public remove_weapons()
{
    
    new ents = 0
    
    while((ents = find_ent_by_class(ents, "silahent")))
    {
        if(pev_valid(ents))
        {
            
            entity_set_origin(ents, Float:{99999.0,99999.0,99999.0})
            entity_set_vector(ents, EV_VEC_angles, Float:{99999,99999,99999})
        }
    }
}


stock ham_strip_weapon(id,weapon[])
{
    if(!equal(weapon,"weapon_",7)) return 0;
    
    new wId = get_weaponid(weapon);
    if(!wId) return 0;
    
    new wEnt;
    while((wEnt = engfunc(EngFunc_FindEntityByString,wEnt,"classname",weapon)) && pev(wEnt,pev_owner) != id) {}
    if(!wEnt) return 0;
    
    if(get_user_weapon(id) == wId) ExecuteHamB(Ham_Weapon_RetireWeapon,wEnt);
    
    if(!ExecuteHamB(Ham_RemovePlayerItem,id,wEnt)) return 0;
    ExecuteHamB(Ham_Item_Kill,wEnt);
    
    set_pev(id,pev_weapons,pev(id,pev_weapons) & ~(1<<wId));
    
    return 1;
}

public elbitir()
{
    remove_weapons()
}

public reload(id,level,cid)
{
    
    new argument[32]
    
    read_argv(1,argument,31)
    
    new szLine[512]
    new origin[3],angle[3],Float:originF[3],Float:angleF[3]
    
    pev(id,pev_origin,originF)
    pev(id,pev_origin,angleF)
    
    origin[0] = floatround(originF[0])
    origin[1] = floatround(originF[1])
    origin[2] = floatround(originF[2])
    
    angle[0] = floatround(angleF[0])
    angle[1] = floatround(angleF[1])
    angle[2] = floatround(angleF[2])    
    
    formatex(szLine,511,"^"%i^" ^"%i^" ^"%i^" ^"%i^" ^"%i^" ^"%i^"",origin[0],origin[1],origin[2],angle[0],angle[1],angle[2])
    renkli_yazi(id,"Origin: %i %i %i ;; Angle: %i %i %i  Kordinatlarina kaydedildi",origin[0],origin[1],origin[2],angle[0],angle[1],angle[2])
    write_file(filename,szLine)
    
    return PLUGIN_HANDLED
}
public silahlarikoy()
{
    /*
    new szLine[248];
    
    new maxlines,txtlen;
    maxlines = file_size(filename,1);
    new line
    new turs,Float:flColor[3]  
    
    
    for (new id = 6; id <= maxlines; id++)
    {
        */
        
        new turs
        new szLine[248]    
        new Float:origind[3],Float:angled[3]
        new birincidegera[4][6],birincidegerb[4][6]
        new saybakem
        new ents = 0
        
        while((ents = find_ent_by_class(ents, "silahent")))
        {
            if(pev_valid(ents))
            {
                saybakem++
                ArrayGetArray(silaharray,saybakem,szLine,247)
                
                
                turs = random_num(1,18)  
                new silahentid
                silahentid = ents
                if(pev_valid(ents))
                {            
                    /*
                    new silahentid
                    silahentid = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"))
                    
                    set_pev(silahentid,pev_classname,"silahent");
                    */
                    
                    engfunc(EngFunc_SetModel,silahentid, iAchModel[turs]);
                    
                    set_pev(silahentid, pev_owner, turs);
                    set_pev(silahentid,pev_iuser2,str_to_num(iAchAmmo[turs]))  
                    
                    if(szLine[0])
                    {
                        parse(szLine,birincidegera[0],5,birincidegera[1],5,birincidegera[2],5,birincidegerb[0],5,birincidegerb[1],5,birincidegerb[2],5)        
                        
                        origind[0] = floatstr(birincidegera[0])
                        origind[1] = floatstr(birincidegera[1])
                        origind[2] = floatstr(birincidegera[2])
                        
                        
                        entity_set_int(silahentid, EV_INT_solid, SOLID_TRIGGER)
                        
                        entity_set_origin(silahentid, origind)
                        angled[1] = random_float(0.0, 180.0)    
                        entity_set_vector(silahentid, EV_VEC_angles, angled)  
                    }
                    else
                    {
                        ArrayGetArray(silaharray,random_num(1,ArraySize(silaharray)),szLine,247)
                        parse(szLine,birincidegera[0],5,birincidegera[1],5,birincidegera[2],5,birincidegerb[0],5,birincidegerb[1],5,birincidegerb[2],5)        
                        
                        origind[0] = floatstr(birincidegera[0])
                        origind[1] = floatstr(birincidegera[1])
                        origind[2] = floatstr(birincidegera[2])
                        
                        
                        entity_set_int(silahentid, EV_INT_solid, SOLID_TRIGGER)
                        
                        
                        entity_set_origin(silahentid, origind)
                        angled[1] = random_float(0.0, 180.0)        
                        entity_set_vector(silahentid, EV_VEC_angles, angled)
                        
                    }    
                    entity_set_size(silahentid,Float:{ -10.0, -10.0, -10.0 },Float:{ 10.0, 10.0, 10.0 }    )    
                    drop_to_floor(silahentid)
                }
            }
        }  
    }
    
    
    public saloriginr(id)
    {
        
        if(get_user_flags(id) & ADMIN_RCON)
        {
            pev(id,pev_origin,salorigin[1])
            pev(id,pev_origin,salorigin[2])
            pev(id,pev_origin,salorigin[3])
            pev(id,pev_origin,salorigin[4])
            pev(id,pev_origin,salorigin[5])
            pev(id,pev_origin,salorigin[6])
            
        }
        
    }
    public Fwd_PlayerSpawn_Post(id)
    {
        if (is_user_alive(id))
        {
            remove_task(id+317)
            strip_user_weapons(id)
        }
        set_task(2.0,"kontrollan",id+1231)
        if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
        {
            rg_set_user_team(id, TEAM_TERRORIST)
        }    
        
    }
    public kontrollan(id)
    {
        id -= 1231
        if(is_user_connected(id) && is_user_alive(id))
        {
            if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
            {
                rg_set_user_team(id, TEAM_TERRORIST)
            }            
        }
    }
    public oyunbaslat(id)
    {
        
        if(get_user_flags(id) & ADMIN_RCON)
        {
            elbitir()
            round = false  
            remove_task(532)
            remove_task(534)    
            renkli_yazi(0,"!n[ !tBILGI !n] !gLutfen !n[ !tEJDER'DEN !n] !gAtladiktan Sonra !n[ !tPARASUT !n] !gBasiniz")
            sure = get_pcvar_num(parasutsure)
            set_task(1.0,"firlatsure",762)
            
            server_cmd("amx_cvar mp_freeforall 1")
            for (new id = 1; id <=33; id++)
            {
                if (!is_user_connected(id) || is_user_bot(id))
                {
                    continue
                }
                if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
                {
                    rg_set_user_team(id, TEAM_TERRORIST)  
                }
                
                if(get_member(id, m_iTeam) == TEAM_TERRORIST)
                {    
                    if(!is_user_alive(id))
                    {
                        rg_round_respawn(id)            
                    }
                    strip_user_weapons(id)        
                }
            }      
        }
        
        
        
    }
    public unFreeze(Uid)
    {
        if(is_user_connected(Uid))
        {
            set_view( Uid, CAMERA_NONE )
            new Flags = pev(Uid, pev_flags)
            
            if(Flags & FL_FROZEN)
            {
                set_pev(Uid, pev_flags, Flags & ~FL_FROZEN)
            }
        }
    }
    public bosfonk(id)
    {
        set_task(3.0,"bosfonk",id)
    }
    
    
    public firlatsure()
    {
        remove_task(762)
        if(sure == 10)
        {
            turneaq = false
            round = false
            emit_sound(0, CHAN_AUTO, gerisay, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
        }
        if(sure == 2)
        {
            
        }
        if(sure <=1 || sure == 1)
        {
            new map[33]
            
            get_mapname(map,32)
            if(equal(map,"battleground_v2f"))
            {
                Oriucak[0] = -2504.0
                Oriucak[1] = 1447.0
                Oriucak[2] = 505.0
                
                Gideori[0] = 1580.0
                Gideori[1] = -2778.0
                Gideori[2] = 605.0        
                
            }
            else if(equal(map,"battleground_v1"))
            {
                Oriucak[0] = 2821.0
                Oriucak[1] = -2568.0
                Oriucak[2] = 3200.0    
                
                Gideori[0] = -2353.0
                Gideori[1] = 500.0
                Gideori[2] = 3430.0        
            }    
            
            if(pev_valid(Ucakent))
            {
                new szWeapon[20]
                pev(Ucakent, pev_classname, szWeapon, charsmax(szWeapon));
                
                if(equal(szWeapon,"Ucak"))
                {            
                    //renkli_yazi(0,"ucak origin ayar")    
                    engfunc(EngFunc_SetOrigin, Ucakent, Oriucak)
                    Set_Entity_Invisible(Ucakent, 0)
                    set_pev(Ucakent, pev_nextthink, get_gametime() + 1.0)
                }
            }
            if(pev_valid(camera))
            {
                new szWeapon[20]
                pev(camera, pev_classname, szWeapon, charsmax(szWeapon));
                
                if(equal(szWeapon,"camera"))
                {            
                    //renkli_yazi(0,"camera origin ayar")    
                    
                    set_pev(camera,pev_origin,{2821.0,-2538.0,3500.0})
                    
                    static Float:fVecPlayerOrigin[3], Float:fVecCameraOrigin[3], Float:fVecAngles[3], Float:fVecBack[3]
                    
                    pev(Ucakent, pev_origin, fVecPlayerOrigin)
                    
                    
                    
                    // See player from front ?
                    fVecAngles[0] = 80.0
                    set_pev(camera, pev_angles, fVecAngles)
                    
                    angle_vector(fVecAngles, ANGLEVECTOR_FORWARD, fVecBack)
                    
                    //Move back to see ourself (150 units)
                    fVecCameraOrigin[0] = fVecPlayerOrigin[0] + (-fVecBack[0] * 450.0)
                    fVecCameraOrigin[1] = fVecPlayerOrigin[1] + (-fVecBack[1] * 450.0)
                    fVecCameraOrigin[2] = fVecPlayerOrigin[2] + (-fVecBack[2] * 450.0)
                    
                    engfunc(EngFunc_TraceLine, fVecPlayerOrigin, fVecCameraOrigin, IGNORE_MONSTERS, Ucakent, 0)
                    static Float:flFraction
                    get_tr2(0, TR_flFraction, flFraction)
                    if( flFraction != 1.0 ) // adjust camera place if close to a wall
                    {
                        flFraction *= 450.0
                        fVecCameraOrigin[0] = fVecPlayerOrigin[0] + (-fVecBack[0] * flFraction)
                        fVecCameraOrigin[1] = fVecPlayerOrigin[1] + (-fVecBack[1] * flFraction)
                        fVecCameraOrigin[2] = fVecPlayerOrigin[2] + (-fVecBack[2] * flFraction)
                    }
                    
                    //fVecCameraOrigin[2] += 274
                    //fVecCameraOrigin[1] -= 260
                    //fVecCameraOrigin[0] += 160
                    
                    set_pev(camera, pev_origin, fVecCameraOrigin)    
                    Set_Entity_Invisible(camera, 0)
                    set_pev(camera, pev_nextthink, get_gametime() + 1.0)
                }
            }
            
            
            renkli_yazi(0,"!n[ !tBILGI !n] !gFirlatilmaniza !tSon !g[!t%i!g]",sure)
            turneaq = true
            
            round = false
            
            round = false
            server_cmd("amx_cvar mp_freeforall 1")
            set_task(1.0,"silahlarikoy")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            set_hudmessage(0, 0, 255, 0.29, 0.12, 0, 6.0, 20.0)
            
            ShowSyncHudMsg(0, g_HudID, "UCAKTASINIZ  <N> TUSU ILE ATLAYABILIRSINIZ N OLMUYOR ISE /Atla YAZINIZ")           
            for (new id = 1; id <=33; id++)
            {
                if (!is_user_connected(id) || is_user_bot(id) || get_member(id, m_iTeam) == TEAM_CT)
                {
                    continue
                }
                
                client_cmd(id, "spk %s", sound_name)    
                if(is_user_alive(id))
                {
                    
                    unFreeze(id)
                    if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
                    {
                        user_kill(id)
                        rg_set_user_team(id, TEAM_TERRORIST)    
                        if(!is_user_alive(id))
                        {
                            rg_round_respawn(id)            
                        }                
                    }
                }
                if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
                {
                    rg_set_user_team(id, TEAM_TERRORIST)  
                }
                if(get_member(id, m_iTeam) == TEAM_TERRORIST)
                {
                    if(!is_user_alive(id))
                    {
                        rg_round_respawn(id)            
                    }
                    strip_user_weapons(id)                    
                }
                strip_user_weapons(id)        
                if(get_user_flags(id) & ADMIN_MAP)
                {
                    give_item(id,"weapon_knife")
                    set_user_health(id,get_user_health(id) + 20)
                }else if(get_user_flags(id) & ADMIN_LEVEL_B){
                    set_user_health(id,get_user_health(id) + 10)
                    give_item(id,"weapon_flashbang")
                }else if(get_user_flags(id) & ADMIN_SLAY){
                    set_user_health(id,get_user_health(id) + 15)            
                }else if(get_user_flags(id) & ADMIN_VOTE){
                    set_user_health(id,get_user_health(id) + 10)            
                }else if(get_user_flags(id) & ADMIN_RESERVATION){
                    set_user_health(id,get_user_health(id) + 5)            
                }
                
                new Flags = pev(id, pev_flags)
                
                if(~Flags & FL_FROZEN)
                {
                    set_pev(id, pev_flags, Flags | FL_FROZEN)
                }    
                //renkli_yazi(id,"kisi originayar")    
                set_pev(id,pev_origin,{3353.0,1665.0,450.0})
                //renkli_yazi(0,"kisioriginayarbitti")    
                if(pev_valid(camera))
                {
                    attach_view(id,camera)    
                }            
                //renkli_yazi(0,"camera geldi gecti")    
                
                //set_pev(id, pev_origin, salorigin[random_num(1,6)])
            }  
            
            
            
            
            remove_task(532)
            remove_task(534)        
            set_task(get_pcvar_float(parasuty),"parakapat",534)
            set_task(get_pcvar_float(turcvar),"oyunbitir",532)
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")
            renkli_yazi(0,"!tFirlatildiniz !gN !tTUSU ILE ATILINIZ N ATMIYOR ISE /ATLA yazabilirsiniz")      
            renkli_yazi(0,"!n[ !tBILGI !n] !gLutfen !n[ !tEJDER'DEN !n] !gAtladiktan Sonra !n[ !tPARASUT !n] !gBasiniz")
            renkli_yazi(0,"!n[ !tBILGI !n] !gLutfen !n[ !tEJDER'DEN !n] !gAtladiktan Sonra !n[ !tPARASUT !n] !gBasiniz")
            round = false
            
        }
        else
        {
            renkli_yazi(0,"!n[ !tBILGI !n] !gFirlatilmaniza !tSon !g[!t%i!g]",sure)
            set_task(1.0,"firlatsure",762)
            turneaq = false
            round = false
            sure -= 1
            for (new id = 1; id <=33; id++)
            {
                if (!is_user_connected(id) || is_user_bot(id) || get_member(id, m_iTeam) == TEAM_CT)
                {
                    continue
                }
                
                
                if(is_user_alive(id))
                {
                    if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
                    {
                        rg_set_user_team(id, TEAM_TERRORIST)  
                        
                    }
                    set_entvar(id, var_health, 100.0)
                }  
                else
                {
                    if(get_member(id, m_iTeam) == TEAM_SPECTATOR)
                    {            
                        rg_set_user_team(id, TEAM_TERRORIST)
                    }                
                    if(get_member(id, m_iTeam) == TEAM_TERRORIST)
                    {
                        set_entvar(id, var_health, 100.0)
                        if(!is_user_alive(id))
                        {
                            rg_round_respawn(id)            
                        }
                        strip_user_weapons(id)                    
                    }
                }
                
                set_entvar(id, var_health, 100.0)
                strip_user_weapons(id)                 
            }          
        }  
    }
    public oyunbitir()
    {
        renkli_yazi(0,"Oyunun Zamani bittigi icin tur sona Erdi kazanan Yok!")  
        renkli_yazi(0,"Oyunun Zamani bittigi icin tur sona Erdi kazanan Yok!")  
        renkli_yazi(0,"Oyunun Zamani bittigi icin tur sona Erdi kazanan Yok!")  
        renkli_yazi(0,"Oyunun Zamani bittigi icin tur sona Erdi kazanan Yok!")  
        plg_oyunbaslat()
        remove_task(532)
    }
    public parakapat(id)
    {
        remove_task(534)
        set_cvar_num("sv_parachute",1)
    }
    
    
    
    
    stock rg_set_rendering(index, fx = kRenderFxNone, Float:color[3] = {255.0, 255.0, 255.0}, Float:amount = 16.0)
{
    if(pev_valid(index))
    {
        set_entvar(index, var_renderfx, fx)
        set_entvar(index, var_rendercolor, color)
        set_entvar(index, var_renderamt, amount)
    }
    // return 1
}
stock Set_Entity_Invisible(ent, Invisible = 1)
{
    if(!pev_valid(ent)){
        set_pev(ent, pev_effects, Invisible == 0 ? pev(ent, pev_effects) & ~EF_NODRAW : pev(ent, pev_effects) | EF_NODRAW)
        return    
    }
}
stock renkli_yazi(const id, const input[], any:...)
{
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
    
    replace_all(msg, 190, "!n", "^x01"); // Default Renk(Sarı)
    replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk
    replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı )
    
    if (id) players[0] = id; else get_players(players, count, "ch");{
        for (new i = 0; i < count; i++)
        {
            if (is_user_connected(players[i]))
            {
                
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
            
        }
    }
}

./OynucazUp-nfsy1w1.sma(1) : error 010: invalid function or declaration
./OynucazUp-nfsy1w1.sma(1374) : warning 209: function "tumyasayanonunklani" should return a value
./OynucazUp-nfsy1w1.sma(1742) : error 088: number of arguments does not match definition
./OynucazUp-nfsy1w1.sma(1779) : error 088: number of arguments does not match definition



#2
@GUNCEL


#3
@Emir456
forumdaki sıkıntılardan dolayı yetkililer geç gelebilir.


#4
@Emir456 bu Hatanın aynısını bende serverimde alıyorum fakat csduraginda böyle bir hata yok oynucazın Sahipleriyle Konuştum yasaklanmış bir kod olabilir dedi Ben Pluginden Anlamıyorum Pluginden anlıyan birisinin yanıt vermesini beklemek zorundayız aynı durum bendede var olursa bende yükliyeceğim Dilimi Keseni Ben Keserim !




                [ Youtube Kanalıma Abone Olurmusun ? ]
                [ ENFazlaGörüntülenenKonum ]
                [C S 1 . 6 P R O P U B L İ C P L A Y E R]
                   [                 + 1 7                    ]
                [ F A C E B O O K A D R E S İ M ]

#5
Beklemedeyiz


#6
dener misin


.sma aa.sma (Dosya Boyutu: 62.99 KB | İndirme Sayısı: 3)

                                                                                                                                               | Facebook |                                  | Instagram | 
#7
./OynucazUp-2ln0n7w.sma(1374) : warning 209: function "tumyasayanonunklani" should return a value
./OynucazUp-2ln0n7w.sma(1742) : error 088: number of arguments does not match definition
./OynucazUp-2ln0n7w.sma(1779) : error 088: number of arguments does not match definition

bu hata gene


#8
Oynucaz amxmodx compiler kaçıncı versiyon kullanıyor? sorunsuz görünüyor eklenti.



                                                                                                                                               | Facebook |                                  | Instagram | 
#9
eywallah


#10
bilmiyorum ama o dediğim hataları alıyorum




Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
Silinmiş Konu   | [PUGB] MOD özel Ak47 skini ByCS 1 332 07-12-2018, Saat: 14:30
Son Yorum: Demirhann

Task