View Single Post
Author Message
Serkan437
Junior Member
Join Date: Jul 2021
Old 07-28-2021 , 06:17   Hosties: Lastrequest compiling errors
Reply With Quote #1

So I'm trying to add a 3 seconds delay to the Only HS as in No Scope Battle. However the sp file is giving errors without even editing it

Code:
//// lastrequest.sp
//
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\include\sdktools_tempents.inc(197) : error 088: cannot return a value from a void function
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(39) : error 001: expected token: "-identifier-", but found "-integer value-"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(85) : error 017: undefined symbol "BASE_LR_Number"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(85) : error 009: invalid array size (negative, zero or out of bounds)
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(521) : error 139: could not find type "TopMenuObject"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(526) : error 139: could not find type "TopMenuAction"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(528) : error 017: undefined symbol "TopMenuAction_DisplayOption"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(532) : error 017: undefined symbol "TopMenuAction_SelectOption"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(581) : error 017: undefined symbol "MAX_DISPLAYNAME_SIZE"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(581) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(582) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(584) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(598) : error 017: undefined symbol "MAX_DISPLAYNAME_SIZE"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(598) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(599) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(600) : error 130: cannot coerce functions to values
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(644) : error 017: undefined symbol "EMP_FreeHandle"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(751) : error 017: undefined symbol "EMP_IsValidClient"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(755) : error 017: undefined symbol "EMP_LoopPlayers"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(755) : error 017: undefined symbol "TargetForLang"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(759) : error 017: undefined symbol "gShadow_Hosties_ChatBanner"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(760) : error 017: undefined symbol "EMP_IsValidClient"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(762) : error 017: undefined symbol "gShadow_Hosties_ChatBanner"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(805) : error 017: undefined symbol "EMP_StopTimer"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(822) : error 017: undefined symbol "EMP_LoopPlayers"
// C:\Users\Serkan\Desktop\Compiler\addons\sourcemod\scripting\lastrequest.sp(822) : error 017: undefined symbol "TargetForLang"
//
// Compilation aborted.
// 26 Errors.
Attached Files
File Type: sp Get Plugin or Get Source (lastrequest.sp - 39 views - 236.7 KB)

Last edited by Serkan437; 07-28-2021 at 07:07.
Serkan437 is offline