←  Problemy z pluginami

AMXX.pl: Support AMX Mod X i SourceMod

»

Server Top nie chce sie skompilowac

  • +
  • -
Pawelek.:* - zdjęcie Pawelek.:* 15.02.2016

Witam nie dam rady tego skompilowac proszę o pomoc daje limit .

 

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <csx>
#include <fakemeta>
#include <hamsandwich>


#define PLUGIN "Server Top"
#define VERSION "1.0"
#define AUTHOR "Pawelek"


public displayplr()
{
if (!get_pcvar_num(statsmarquee))
{
set_task(60.0,"displayplr",0,"",0,"a",1)
return PLUGIN_HANDLED
}
new Stats[8], Body[8], Name[31], Float:VertLoc2
new PlrAmt = get_pcvar_num(cvPlrAmt)
new VertLoc = get_pcvar_num(cvVertLoc)
new Float:FullTime = get_pcvar_float(cvFullTime)
new Float:TimeBetw = get_pcvar_float(cvTimeBetw)


if(VertLoc==1)
VertLoc2 = -0.74
else
VertLoc2 = 0.77


get_stats(statsm, Stats, Body, Name, 31)


statsm++


set_hudmessage(0, 240, 10, 0.70, VertLoc2, 0, TimeBetw, TimeBetw, 0.5, 0.15, -1)
show_hudmessage(0,"Server Top %d^n%s^nRank %d %d kills %d deaths", PlrAmt, Name, statsm, Stats[0], Stats[1]) 


if(statsm >= PlrAmt)
{
statsm = 0
set_task(FullTime,"displayplr",0,"",0,"a",1)
}
else
{
set_task(TimeBetw,"displayplr",0,"",0,"a",1)
}


return PLUGIN_CONTINUE

 


Użytkownik Pawelek.:* edytował ten post 15.02.2016 12:34
Odpowiedz