[Problema] Cambio de map
#7

pawn Код:
CMD:explode(playerid, params[])
{
    new string[64];
    if(pInfo[playerid][pAdmin] < 2) return SCM(playerid, COLOR_RED, "You are not admin.");
    if(sscanf(params, "i", params[0])) return SCM(playerid, -1, "{32CD32}Use:{FFFFFF} /explode (playerid).");
    if(!IsPlayerConnected(params[0])) return SCM(playerid, COLOR_RED, "Player is not connected.");
    new Float:X, Float:Y, Float:Z;
        GetPlayerPos(params[0], X, Y, Z);
    CreateExplosion(X, Y, Z, 7, 10);
    format(string, sizeof(string), "Admin {00BFFF}%s (%d) {FFFFFF}has exploded you.", GetName(playerid), playerid);
    SendClientMessage(params[0], -1, string);
    return 1;
}
Reply


Messages In This Thread
[Problema] Cambio de map - by Loox - 25.01.2013, 22:26
Respuesta: [Problema] Cambio de map - by Loox - 26.01.2013, 13:03
Re: [Problema] Cambio de map - by OneBlaack - 26.01.2013, 13:46
Re: [Problema] Cambio de map - by Daniel-92 - 26.01.2013, 14:13
Respuesta: Re: [Problema] Cambio de map - by Loox - 26.01.2013, 14:23
Respuesta: [Problema] Cambio de map - by Loox - 26.01.2013, 15:26
Respuesta: [Problema] Cambio de map - by OTACON - 26.01.2013, 15:35
Respuesta: [Problema] Cambio de map - by Loox - 26.01.2013, 15:39

Forum Jump:


Users browsing this thread: 1 Guest(s)