[Ajuda] Olha aqui so iniciante em pawno ^^
#1

OLБ PESSOAL ,

Queria pedir ajuda de vocкs para colocar alguns sistemas em minha GameMode ,
seriam eles . . . :
→ Sistema : /agendar cadeia
→ Sistema : /agendar ban
→ Sistema : /bantemp[orario]

Entгo queria muito adicionar isso , poнs so iniciante em minha GameMode .
Contato meu :
******** : www.********.com/MatheusSiqueiraOficial
E-mail : matheuse303@gmail.com
Skype : matheus.siqueira901

quem poder me ajudar agradeзo ,
OBSERVAЗГO : Poderiam postar completo como eu fasso para adicionar e download da include e tals ?

Код HTML:
 GameMode : 
// Cadeia ( Carandiru ) ( Cadeia Administrativa )
if(strcmp(cmd, "/cadeia",true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	        new tempo[20];
	        new tempo2;
	        if(PlayerInfo[playerid][pAdmin] < 2)
	        {
	            SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo esta autorizado para usar este comando!");
	            return 1;
	        }
			if(PlayerInfo[playerid][pAdmin] <= 4)
			{
				if(PlayerInfo[playerid][pJailed] != 0)
				{
					SendClientMessage(playerid, COLOR_GREY, "Vocк nгo pode prender quem jб estб Preso!");
					return 1;
				}
			}
	        tmp = strtok(cmdtext, idx);
	        tempo = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "USE: /cadeia [ ID ] [ Tempo ] [ Motivo ]");
				return 1;
			}
			if(!strlen(tempo))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "USE: /cadeia [ ID ] [ Tempo ] [ Motivo ]");
				return 1;
			}
			new length = strlen(cmdtext);
			while ((idx < length) && (cmdtext[idx] <= ' '))
			{
				idx++;
			}
			new offset = idx;
			new result[64];
			while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
			{
				result[idx - offset] = cmdtext[idx];
				idx++;
			}
			result[idx - offset] = EOS;
			if(!strlen(result))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "USE: /cadeia [ ID ] [ Tempo ] [ Motivo ]");
				return 1;
			}
			if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1340  && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342)
			{
				SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo pode dar cadeia para um Administrador Dono !");
				return 1;
			}
			if(admtrampando[playerid] < 1 && PlayerInfo[giveplayerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342)
			{
				SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/trabalhar)");
				return 1;
			}
			giveplayerid = ReturnUser(tmp);
			tempo2 = strval(tempo);
		    if(IsPlayerConnected(giveplayerid))
		    {
		      if(giveplayerid != INVALID_PLAYER_ID)
   			  {
   			        if(PlayerInfo[giveplayerid][pSex] == 1)
					{
						SetPlayerSkin(giveplayerid, 42);
					}
					else
					{
					    SetPlayerSkin(giveplayerid, 69);
					}
		            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
					GetPlayerName(playerid, sendername, sizeof(sendername));
                    format(string, sizeof(string), "ADM CMD: %s Colocou %s por [%d] Minutos na cadeia. Motivo: %s", sendername, giveplayer, tempo2, (result));
                    SendClientMessageToAll(COLOR_LIGHTRED, string);
					format(string, sizeof(string), "* Vocк foi colocado no Carandiru Pelo Admin %s.", sendername);
					SendClientMessage(giveplayerid, COLOR_LIGHTRED, string);
					GameTextForPlayer(giveplayerid, "~b~Bem Vindo ao ~n~~r~Cadeia", 5000, 3);
					ResetPlayerWeaponsEx(giveplayerid);
					WantedPoints[giveplayerid] = 0;
      				SetPlayerWantedLevel(giveplayerid, 0);
					PlayerInfo[giveplayerid][pJailed] = 2;
					PlayerInfo[giveplayerid][pJailTime] = tempo2 * 60;
		            SetPlayerPos(giveplayerid, 268.58, 1857.94, 9.81);
					SetPlayerWorldBounds(giveplayerid, 337.5694,101.5826,1940.9759,1798.7453); //285.3481,96.9720,1940.9755,1799.0811
					SetPlayerSkin(giveplayerid,42);
					SetPlayerChatBubble(giveplayerid, ".", COLOR_RED, 1, 1);
		        }
			}
			else
			{
			    SendClientMessage(playerid, COLOR_GREY, "   O jogador estб offline !");
			    return 1;
			}
	    }
	    return 1;
	}
// Sу lembrando . . .
Gostaria de fazer um sistema tipo do ' Brasil PlayForever RPG ' que ativa MV(Moedas Verdes = VIP ) por meio de um um Cуdigo gerado ex " alsdkзl566-456545w-wmnahrkskko-asdkkask+- " sу isso mesmo ^^


Obrigado desde- jб .

www.********.com/bfgsamp | Pбgina do servidor meu |
www.brasilfastergame.forumeiros.com | Fуrum servidor meu |

Obrigado desde-jб ^^

TENHAM PACIКNCIA COMIGO POR FAVOR SOU NOVATO EM PAWNO , ESPERO QUE ME AJUDEM (; ^^
Reply
#2

Algumas coisas importantes para vocк ler.

https://sampforum.blast.hk/showthread.php?tid=470602
https://sampforum.blast.hk/showthread.php?tid=120278

https://sampforum.blast.hk/showthread.php?tid=267034
http://forum.sa-mp.com/announcement.php?f=34
https://sampforum.blast.hk/showthread.php?tid=118857

https://sampforum.blast.hk/showthread.php?tid=252966
https://sampforum.blast.hk/showthread.php?tid=144744
https://sampforum.blast.hk/showthread.php?tid=497801
Reply
#3

---------------------------------------------------
@Schocc -

Entendi entгo que nгo posso me tornar um script ? Entendi que veio aqui para falar isso e nгo apra ajudar-me

Entendi que so " Burro para aprender script " ? mais em fim obrigado pelos bons tуpicos . . .
---------------------------------------------------
Reply
#4

ScripterInicianteBR, nгo й porque vocк й iniciante que vamos te dar o cуdigo pronto! Podemos te passar link de tutoriais, filterscript ou artigos, e vocк deverб estuda-los e modifica-los como quiser.

Ganhando tudo pronto vocк nunca irб aprender a programar, e sempre irб depender de outras pessoas.
Reply
#5

Sim *--*
entгo poderia me passar " FilterScript / Artigos " para me ajudar ?
Reply
#6

Tб aн...

Reply
#7

pelo o que eu entendi vocкs nгo querem me ajudar mais em fim vo procurar algo q me ajude obrigado . . .
Reply
#8

ai cara me add skype guilherme.fernandes852 que eu ajudo
Reply
#9

gettime
getdate
Reply
#10

Quote:
Originally Posted by TheHiredKillers
Посмотреть сообщение
ai cara me add skype guilherme.fernandes852 que eu ajudo
amigo vc conseguiria me dar uma mгo ??, tbm sou iniciante sei bastantinha coisa jб porem, ainda me bugo na hora de criar comandos.

Eu quero criar minha prуpria gm mais nгo й fбcil, eu sei mais sem ajuda fica ainda mais difнcil.

jб li diversos tуpicos jб estudei varias gms consigo editar algumas. Mas ainda nгo consigo criar meus prуprios comandos.

Aberto a ajuda de outras pessoas tbm.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)