21.01.2011, 16:57
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
}