23.07.2013, 03:49
Quote:
No, dont.
There are some mistakes... Wait //EDIT Код:
CMD:explode(playerid, params[]) { if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command."); if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command."); { new Float, Float:y, Float:z; GetPlayerPos( playerid, x, y, z ); CreateExplosion(x, y, z, 11, 25.0); SetPlayerArmour(playerid, 1000000000.0); SetPlayerHealth(playerid, 1000000000.0); SetTimerEx("Explode", 500, 0, "d", playerid); } return 1; } forward Explode (playerid); public Explode (playerid { ClearAnimations(playerid); SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); return 1; } |
EDIT1: I just got it to compile with no errors, let me go test it IG now
EDIT2: It only creates one explosion then is done.