[Ajuda] Ajuda Por Favor E [Urgente]
#1

Bom Pessoal Queriia Saber Aonde Coloco Esses Codiigos
Que Fiica POstando Igual A Esse Daqui o
https://sampforum.blast.hk/showthread.php?tid=122282
Aonde Coloco e Como Coloco , Soou Meiio Novatu
Tou Coomeзando Aiinda Gostariia De Sabeer Issu Muiito Briigado '
Reply
#2

Jб que й novato, aprenda: vocк nгo terб professores particulares aqui.

Leia o tutorial, lб explica tudo, se vocк nгo conseguiu й por 2 motivos:

- Ou й porque nгo sabe ler
- Ou й porque й muito avanзado para vocк

Se й muito avanзado, procure outras coisas para adquirir conhecimento e quando souber mais, volte nisso.
Reply
#3

pawn Код:
// No topo do gamemode junto com as outras new e forward
new guerra;
forward guerrat();

// de ctrl + f e Escreve Public OnCommandText e dentro dela vocк ponha esse comando
if(strcmp(cmd,"/guerra", true) == 0)
  {
       
      new Float:X,Float:Y,Float:Z;        
      GetPlayerPos(playerid, X,Y,Z);
      guerra = GangZoneCreate(X-100,Y-100,X+100,Y+100);        
      GangZoneShowForAll(guerra,COR);
      SetTimer("guerrat",60000,1);      
      new pName[MAX_PLAYER_NAME];
      GetPlayerName(playerid, pName, sizeof(pName));      
      format(string, sizeof(string), "[NOTICIA DE ULTIMA HORA] O General %s e o Exйrcito acabam de iniciar uma guerra!!", pName);
      SendClientMessageToAll(COR, string);
    return 1;
  }
// e no final do GameMode fora de tudo vocк ponha isso
public guerrat()
    {
    GangZoneDestroy(guerra);    
    GangZoneHideForAll(guerra);
    return 1;
    }
Reply
#4

Quote:
Originally Posted by matheus_alcapone
Посмотреть сообщение
pawn Код:
// No topo do gamemode junto com as outras new e forward
new guerra;
forward guerrat();

// de ctrl + f e Escreve Public OnCommandText e dentro dela vocк ponha esse comando
if(strcmp(cmd,"/guerra", true) == 0)
  {
       
      new Float:X,Float:Y,Float:Z;        
      GetPlayerPos(playerid, X,Y,Z);
      guerra = GangZoneCreate(X-100,Y-100,X+100,Y+100);        
      GangZoneShowForAll(guerra,COR);
      SetTimer("guerrat",60000,1);      
      new pName[MAX_PLAYER_NAME];
      GetPlayerName(playerid, pName, sizeof(pName));      
      format(string, sizeof(string), "[NOTICIA DE ULTIMA HORA] O General %s e o Exйrcito acabam de iniciar uma guerra!!", pName);
      SendClientMessageToAll(COR, string);
    return 1;
  }
// e no final do GameMode fora de tudo vocк ponha isso
public guerrat()
    {
    GangZoneDestroy(guerra);    
    GangZoneHideForAll(guerra);
    return 1;
    }
Matheus, o cara й novato, й nesse geraзгo que tem que botar a ideia na cabeзa que precisam aprender a pensar. Vocк dando tudo na mгo o fуrum nunca vai mudar, vai continuar essa merda que estб. Vamos ensinar a pensar velho...
Reply
#5

Quote:
Originally Posted by matheus_alcapone
Посмотреть сообщение
pawn Код:
// No topo do gamemode junto com as outras new e forward
new guerra;
forward guerrat();

// de ctrl + f e Escreve Public OnCommandText e dentro dela vocк ponha esse comando
if(strcmp(cmd,"/guerra", true) == 0)
  {
       
      new Float:X,Float:Y,Float:Z;        
      GetPlayerPos(playerid, X,Y,Z);
      guerra = GangZoneCreate(X-100,Y-100,X+100,Y+100);        
      GangZoneShowForAll(guerra,COR);
      SetTimer("guerrat",60000,1);      
      new pName[MAX_PLAYER_NAME];
      GetPlayerName(playerid, pName, sizeof(pName));      
      format(string, sizeof(string), "[NOTICIA DE ULTIMA HORA] O General %s e o Exйrcito acabam de iniciar uma guerra!!", pName);
      SendClientMessageToAll(COR, string);
    return 1;
  }
// e no final do GameMode fora de tudo vocк ponha isso
public guerrat()
    {
    GangZoneDestroy(guerra);    
    GangZoneHideForAll(guerra);
    return 1;
    }
naaao entendii quandu voce fala no topo da gm
Reply
#6

Joao mais com isso que eu expliquei pra ele ja terб uma base sobre pawn.
Reply
#7

eem podem responder por faavor , nao entendo quandu fala no topo da gamemoder
Reply
#8

No comeзo do GameMode de pois das includes
Reply
#9

tiipu aqui teem esse negocio no comeзo
#include < a_samp >
#include < a_http >
#include < core >
#include < float >
#include < time >
#include < file >
#include < a_objects >
#include < Dini >
#include < seif_walk >
#include < servermoneyGM >
#include < AC_Balkan_Security >

#pragma tabsize 0
eu coloco em que parte ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)