This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Plugin Code & Compile Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-08-2024 , 23:43   Re: Plugin Code & Compile Help
Reply With Quote #2

Code:
#pragma newdecls required
https://wiki.alliedmods.net/SourcePa...ing_new_syntax

You have colons : added in event callback
Code:
// Event handler for player death
public Action Event_PlayerDeath(Handle:event, const char:eventName[], bool:dontBroadcast)
{
https://sm.alliedmods.net/new-api/events/EventHook


Please, do not generate code with AI, example ChatGPT
It just not work.
__________________
Do not Private Message @me

Last edited by Bacardi; 02-08-2024 at 23:46.
Bacardi is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode