[AJUDA] SUGESTХES PARA CMD DE ADM
#1

Olб Galera do Fуrum Sa-mp,gostaria de pedir a sugestгo de vocкs sobre comandos "engraзados" pra adm e postassem aki os cmds tipo

/pulardeparaquedas seria legal mas eu n sei fazer

podem me ajudar?

Vlw
Reply
#2

Код:
//----------------------------------[Paraquedistas]------------------------------------------------
	if(strcmp(cmd, "/paraquedistas", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /paraquedistas [playerid1] [playerid2] [playerid3] [playerid4]");
				return 1;
			}
			new para1;
			new para2;
			new para3;
			new para4;
			para1 = strval(tmp);
			tmp = strtok(cmdtext, idx);
			para2 = strval(tmp);
			tmp = strtok(cmdtext, idx);
			para3 = strval(tmp);
			tmp = strtok(cmdtext, idx);
			para4 = strval(tmp);
			if (PlayerInfo[playerid][pAdmin] >= 1337)
			{
				if (IsPlayerConnected(para1)){ GivePlayerWeapon(para1, 46, 0); SetPlayerPos(para1,1536.0, -1360.0, 1350.0);SetPlayerInterior(para1,0);PlayerInfo[para1][pInt] = 0;SendClientMessage(para1, COLOR_WHITE, "Vai!! Vai!! Vai!!");}
				if ((IsPlayerConnected(para2)) && (para2>0)) { GivePlayerWeapon(para2, 46, 0); SetPlayerPos(para2,1536.0, -1345.0, 1350.0);SetPlayerInterior(para2,0);PlayerInfo[para2][pInt] = 0;SendClientMessage(para2, COLOR_RED, "Vai!! Vai!! Vai!!");}
				if ((IsPlayerConnected(para3)) && (para3>0)) { GivePlayerWeapon(para3, 46, 0); SetPlayerPos(para3,1552.0, -1345.0, 1350.0);SetPlayerInterior(para3,0);PlayerInfo[para3][pInt] = 0;SendClientMessage(para3, COLOR_RED, "Vai!! Vai!! Vai!!");}
				if ((IsPlayerConnected(para4)) && (para4>0)) { GivePlayerWeapon(para4, 46, 0); SetPlayerPos(para4,1552.0, -1360.0, 1350.0);SetPlayerInterior(para4,0);PlayerInfo[para4][pInt] = 0;SendClientMessage(para4, COLOR_RED, "Vai!! Vai!! Vai!!");}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   Vocк nгo pode usar esse comando!");
			}
		}
		return 1;
	}
Reply
#3

Matar id, Punir id ...

This forum requires that you wait 120 seconds between posts. Please try again in 96 seconds.
Reply
#4

pawn Код:
if(strcmp(cmd, "/banir", true) == 0)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
        return SendClientMessage(playerid, CORAKI, "USO: /banir [ID]");
    }
    new ID;
    tmp = strtok(cmdtext, idx);
    ID = strval(tmp);
    SendClientMessage(ID,CORAKI, "Vocк Foi banido Deste Servidor, Isto Significa Que Vocк Nгo Й Chuck Norris");
    Ban(ID);
}
Cara Eu Adoro Esse Comando
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)