Ajuda Por Favor E [Urgente] -
Marllon11 - 31.10.2012
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 '
Re: Ajuda Por Favor E [Urgente] - Joao Pedro - 31.10.2012
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.
Re: Ajuda Por Favor E [Urgente] -
MatheusAlcapone - 31.10.2012
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;
}
Re: Ajuda Por Favor E [Urgente] - Joao Pedro - 31.10.2012
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...
Re: Ajuda Por Favor E [Urgente] -
Marllon11 - 31.10.2012
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
Re: Ajuda Por Favor E [Urgente] -
MatheusAlcapone - 31.10.2012
Joao mais com isso que eu expliquei pra ele ja terб uma base sobre pawn.
Re: Ajuda Por Favor E [Urgente] -
Marllon11 - 31.10.2012
eem podem responder por faavor , nao entendo quandu fala no topo da gamemoder
Re: Ajuda Por Favor E [Urgente] -
MatheusAlcapone - 31.10.2012
No comeзo do GameMode de pois das includes
Re: Ajuda Por Favor E [Urgente] -
Marllon11 - 31.10.2012
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 ?