Raised This Month: $ Target: $400
 0% 

[Help] Change Map Entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 06-04-2013 , 08:58   [Help] Change Map Entity
Reply With Quote #1

Well, i got a map from CSO.
But the problem is:

Round 1: The main door auto break so player can move out from the room
But from Round 2 until.... The main door doesn't auto break. -> Player can't move out and stuck in the room

My friend said: "we need to change trigger_once to trigger_multiple".
So how to change with amxx ?

I tried and nothing. Here is my code:
PHP Code:
public pfn_keyvalue(ent)
{
    new 
classname[32], key[32], value[32]
    
copy_keyvalue(classname31key31value31)

    if(
equal(classname"trigger_once"))
    {
        if(
equal(key"target") && equal(value"start"))
        {
            
DispatchKeyValue("classname""trigger_multiple")
            
DispatchSpawn(ent)
        }
    }


Last edited by dias; 06-04-2013 at 08:59.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
 



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:19.


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