
用到的变量:scorebl,scoregr
register_forward(FM_Pla
public think(id)
{
if(SuicGetRoundTime() == 0)
{
if(scorebl > scoregr && SuicGetPla
{
SuicDrawCenterTif(id,"MISUCCESS",3.0)
set_task(5.0,"quit")
}
if(scorebl < scoregr && SuicGetPla
{
SuicDrawCenterTif(id,"MIFAIL",3.0)
set_task(5.0,"quit")
}
if(scorebl > scoregr && SuicGetPla
{
SuicDrawCenterTif(id,"MIFAIL",3.0)
set_task(5.0,"quit")
}
if(scorebl < scoregr && SuicGetPla
{
SuicDrawCenterTif(id,"MISUCCESS",3.0)
set_task(5.0,"quit")
}
if(scorebl == scoregr)
{
SuicDrawCenterTif(id,"BATTLEDRAW",3.0)
set_task(5.0,"quit")
}
}
}
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Warning: Possibly unintended assignment on line 25
Warning: Possibly unintended assignment on line 31
Warning: Symbol is assigned a value that is never used: "killer" on line 86
Warning: Symbol is assigned a value that is never used: "spawnname" on line 147
Header size: 828 bytes
Code size: 4712 bytes
Data size: 1108 bytes
Stack/heap size: 16384 bytes; estimated max. usage=525 cells (2100 bytes)
Total requirements: 23032 bytes
4 Warnings.
Done.