Raised This Month: $ Target: $400
 0% 

Little help with plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-15-2018 , 17:58   Re: Little help with plugin
Reply With Quote #8

first of all

PHP Code:
public eBombPickUp(id)
{
    if (
BombPickUp)
    {
        
announceEvent(id"PICKED_BOMB")
        
play_sound("newmisc/bombup")
   }
}

public 
eBombDrop()
{
    if (
BombDrop)
    {
        
announceEvent(g_Planter"DROPPED_BOMB")
        
play_sound("newmisc/bombdrop")
     }

You can't indent code like you did, after you fix that, check for any brackets you didn't close/open or anything like that while you were making modifications, cause i compiled fine.
__________________
stuff

Last edited by maqi; 06-15-2018 at 17:58.
maqi 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 04:32.


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