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(classname, 31, key, 31, value, 31)
if(equal(classname, "trigger_once"))
{
if(equal(key, "target") && equal(value, "start"))
{
DispatchKeyValue("classname", "trigger_multiple")
DispatchSpawn(ent)
}
}
}