DestroyObject when /rcon unloadfs MAP ?
#3

pawn Код:
new Object[2]; //2 stands for the number of objects on your server

public OnFilterScriptInit()
{
    SendClientMessageToAll(LIGHTGREEN, "Stunting Map Loaded.");
    Object[0] = CreateObject(11539, -706.177063, 1637.122314, 84.878685, 0.0000, 0.0000, 146.2500);
    Object[1] = CreateObject(7474, -736.698425, 1763.900757, 2.589478, 0.0000, 0.0000, 1.7189);
        //Like this line, but a lot :p
    return 0;
}

public OnFilterScriptExit()
{
    SendClientMessageToAll(RED, "Stunting Map Disabled.");
    DestroyObject(Object[0]);
    DestroyObject(Object[1]);

    return 0;//1
}
Reply


Messages In This Thread
DestroyObject when /rcon unloadfs MAP ? - by Yaszine - 21.01.2011, 16:29
Re: DestroyObject when /rcon unloadfs MAP ? - by Sergei - 21.01.2011, 16:57
Re: DestroyObject when /rcon unloadfs MAP ? - by iMonk3y - 21.01.2011, 16:57
Re : DestroyObject when /rcon unloadfs MAP ? - by Yaszine - 21.01.2011, 17:11
Re: DestroyObject when /rcon unloadfs MAP ? - by admantis - 21.01.2011, 17:39
Re: DestroyObject when /rcon unloadfs MAP ? - by Kwarde - 21.01.2011, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)