Fiaaa
Участник
- Сообщения
- 33
- Реакции
- 0
Хочу создать плагин для того чтобы зомби не могли ставить пропы. (wcs)
но выходят эти ерроры
Помоите пожалуйста
C-подобный:
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <wcs>
#include <zombieplague>
#pragma semicolon 1
public Plugin wcs_block =
{
name = "[WCS] BLOCK ZM PROP",
author = "FiaLD",
description = "BLOCK ZOMBIE PROP",
version = "1.0",
}
public void OnPluginStart()
{
HookEvent("player_death", Event_PlayerDeath);
AddCommandListener(Event_PlayerDeath, "CreateProp");
AddCommandListener(Event_PlayerDeath, "PropMenu");
}
public Action Event_PlayerDeath(client, Event hEvent, const char[] sEvName, bool bDontBroadcast)
{
if (ZP_IsPlayerZombie(client))
{
// Block
return Plugin_Handled;
}
return Plugin_Continue;
}
//// wcs_block.sp
//
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(20) : error 100: function prototypes do not match
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(25) : error 100: function prototypes do not match
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(26) : warning 217: loose indentation
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(26) : error 100: function prototypes do not match
//
// 3 Errors.
//
// Compilation Time: 0,36 sec
// ----------------------------------------
//
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(20) : error 100: function prototypes do not match
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(25) : error 100: function prototypes do not match
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(26) : warning 217: loose indentation
// C:\Users\leony\Desktop\compile\scripting\wcs_block.sp(26) : error 100: function prototypes do not match
//
// 3 Errors.
//
// Compilation Time: 0,36 sec
// ----------------------------------------
Последнее редактирование: