25.02.2014, 05:34
Код:
forward OnPlayerClickMap(); public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { SendClientMessage(playerid, -1, "Mortar strike set for go, starting in 5 second!"); SetTimerEx("mortar", 5000, false, "if", playerid, fX, fY, fZ); return 1; } forward mortar(playerid, fX, fY, fZ); public mortar(playerid, fX, fY, fZ) { CreateExplosion(Float:fX, Float:fY, Float:fZ, 0, 10.0); return 1; }