31.03.2011, 06:20
I don't think so....I tried this... and called it in gamemodeinit but no luck still have to get close to even see it.
Thanks though.
Please help!
Thanks though.
Please help!
Код:
public OnFilterScriptInit() { SetTimer("SpawnFire",60000,true); new rand = random(sizeof(gFireSpawn)); newfire = CreateDynamicCP(gFireSpawn[rand][0], gFireSpawn[rand][1], gFireSpawn[rand][2], 15.00, -1, -1, -1, 100.0); TogglePlayerDynamicCP(-1, newfire, 0);
Код:
public SpawnFire() { new string[128]; new rand = random(sizeof(gFireSpawn)); AddFire(gFireSpawn[rand][0], gFireSpawn[rand][1], gFireSpawn[rand][2]); TogglePlayerDynamicCP(-1, newfire, 1); format(string, sizeof(string), "A FIRE HAS BROKEN OUT!"); SendClientMessageToAll(COLOR_NICERED,string); return 1; }