SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese > Lançamentos/Releases

Reply
 
Thread Tools Display Modes
Old 29/04/2010, 05:42 AM   #11
ipsBruno
Godfather
 
ipsBruno's Avatar
 
Join Date: Apr 2010
Location: Brazil, Caxias RS
Posts: 6,087
Reputation: 545
Default Re: Códigos Úteis

JTF Favor Colocar o Código da Seguinte Forma
Quote:
[ pawn]CODIGO[/pawn ]


GOD ON/OFF

pawn Code:
if(strcmp(cmd, "/godon", true) == 0)
{
SetPlayerHealth(playerid,99999);
SetPlayerArmour(playerid,99999);
return 1;
}
GodOff
pawn Code:
if(strcmp(cmd, "/godoff", true) == 0)
{
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,0);
return 1;
}

kkk[/color]

Last edited by ipsBruno; 11/07/2010 at 05:21 AM.
ipsBruno is offline   Reply With Quote
Old 29/04/2010, 05:44 AM   #12
JFT
Little Clucker
 
JFT's Avatar
 
Join Date: Nov 2009
Location: São Paulo - Suzano
Posts: 45
Reputation: 1
Default Re: Códigos Úteis

lol VOCE nunca foi pra de baixo da agua?Entaum pra tudo tem sua primeira vez ↓
pawn Code:
if (strcmp(cmdtext,"/agua", true)==0)
{
  SetPlayerInterior(playerid,0);
  SetPlayerPos(playerid,-1137.9557,-461.8962,-15.4766);
  new pname[MAX_PLAYER_NAME], string[256];
  GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  format(string, sizeof(string), "%s foi para ( /agua )", pname);
  SendClientMessageToAll(COR_OURO, string);
  SetPlayerInterior(playerid,0);
  return 1;
}
JFT is offline   Reply With Quote
Old 29/04/2010, 05:44 AM   #13
ipsBruno
Godfather
 
ipsBruno's Avatar
 
Join Date: Apr 2010
Location: Brazil, Caxias RS
Posts: 6,087
Reputation: 545
Default Re: Códigos Úteis

Limpando Chat
pawn Code:
if(strcmp(cmd, "/lc", true) == 0)
{
for(new i = 0; i < 15; i++)
{
SendClientMessageToAll(COLOR,"");
}
SendClientMessageToAll(COLOR,"[DrK] Chat Limpo!");
}
return 1;
}

@EDIT
pelo Amor de deu JTF pare de Floodar ou Vai Tomar BAN pelo seu bem pare
__________________
Baixar Músicas Grátis
ipsBruno is offline   Reply With Quote
Old 29/04/2010, 05:47 AM   #14
JFT
Little Clucker
 
JFT's Avatar
 
Join Date: Nov 2009
Location: São Paulo - Suzano
Posts: 45
Reputation: 1
Default Re: Códigos Úteis

cara eu não modifiquei nada seu não, essas coisas estou tirando do meu gm pra postar aqui pra algumas pessoas que estao iniciando ainda.

sem coments pra vc em cara

ANIMS SEX

pawn Code:
if (strcmp("/mulhersexo", cmdtext, true, 10) ==0){ApplyAnimation(playerid,"benchpress","gym_bp_up_B",4.1,0,1,1,1,1); return 1;}
 if (strcmp("/comermulher", cmdtext, true, 10) ==0){ApplyAnimation(playerid,"MD_END","END_SC1_SMO",4.1,0,1,1,1,1); return 1;}
 if (strcmp("/de4", cmdtext, true, 10) ==0){ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,0,1,1,1,1); return 1;}
 if (strcmp("/mulherfudida", cmdtext, true, 10) ==0){ApplyAnimation(playerid,"FINALE","FIN_Land_Die",4.1,0,1,1,1,1); return 1;}
JFT is offline   Reply With Quote
Old 29/04/2010, 07:12 AM   #15
andmeida10
High-roller
 
andmeida10's Avatar
 
Join Date: Jan 2010
Location: Aveiro - Portugal
Posts: 1,202
Reputation: 31
Default Re: Códigos Úteis

comando /procurar, Cria Checkpoint na localização de um outro player:


pawn Code:
new cmd[128], idx;
cmd = strtok(cmdtext, idx);

if(strcmp(cmd,"/procurar",true) == 0)
    {
              new tmp[256];
                new giveplayerid;
                tmp = strtok(cmdtext, idx);
        giveplayerid = strval(tmp);
                if(!strlen(tmp)) return SendClientMessage(playerid,COR_BRANCO,"USO: /procurar [id]");
                if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, COR_BRANCO, "id invalido.");
                new Float:X,Float:Y,Float:Z;
                GetPlayerPos(giveplayerid, X,Y,Z);
                SetPlayerCheckpoint(playerid, X,Y,Z, 6);
        return 1;
    }
__________________
andmeida10 is offline   Reply With Quote
Old 29/04/2010, 09:35 AM   #16
brunogysin
Huge Clucker
 
brunogysin's Avatar
 
Join Date: Feb 2010
Location: San Andreas
Posts: 317
Reputation: 4
Default Re: Códigos Úteis

Banco Um Belo Int pra Quem tem roubo ao banco.
como todos sabe so tem um int de banco mais ele e piqueno aki vai um banco melho dessendo as escada la em baixo tem um cofre
pawn Code:
//------------------------------------------------------------------- Banco ------------------------------------------------------------------
CreateObject(17946, 1497.0859375, -1023.6884765625, -30.122741699219, 0, 0, 1.2689208984375);
CreateObject(14577, 1493.8380126953, -990.33563232422, -26.209354400635, 0, 0, 180.65002441406);
CreateObject(3029, 1464.7061767578, -996.89575195313, -33.189796447754, 0, 0, 270.67498779297);
CreateObject(2167, 1452.1405029297, -995.50921630859, -33.125667572021, 0, 0, 182.62005615234);
CreateObject(16378, 1460.7563476563, -984.96087646484, -32.388977050781, 0, 0, 89.325012207031);
CreateObject(3029, 1466.2574462891, -981.86248779297, -33.170303344727, 0, 0, 91.310028076172);
CreateObject(9362, 1459.5942382813, -993.24084472656, -32.360973358154, 0, 0, 358.01498413086);
CreateObject(3089, 1436.6374511719, -986.71655273438, -29.810319900513, 0, 0, 358.01501464844);
CreateObject(1491, 1436.1748046875, -986.72924804688, -27.290340423584, 0, 0, 0);
CreateObject(13007, 1439.7946777344, -976.84436035156, -25.174789428711, 0, 0, 269.9599609375);
CreateObject(14576, 1433.8212890625, -971.8349609375, -31.349132537842, 0, 0, 358.01147460938);
CreateObject(3051, 1484.9412841797, -972.84246826172, -31.761213302612, 0, 0, 47.640014648438);
CreateObject(3051, 1484.9152832031, -971.67730712891, -31.756624221802, 0, 0, 47.63671875);
CreateObject(1491, 1436.1782226563, -986.48120117188, -22.324222564697, 174.68005371094, 0, 0);
CreateObject(2959, 824.48358154297, 9.3638944625854, 1003.1796875, 0, 0, 0);
CreateObject(1829, 820.59545898438, 8.6665687561035, 1003.6597290039, 0, 0, 119.10000610352);
CreateObject(2946, 1447.4727783203, -971.30810546875, -26.956371307373, 0, 0, 0);
CreateObject(2946, 1447.5021972656, -968.13781738281, -26.955871582031, 0, 0, 179.65002441406);
//----------------------------------------------------------------------------------------------------------------------------------------------------------
olhe os SS
http://img87.imageshack.us/gal.php?g=gallery3g.jpg
__________________

Ganhe Ate $27 Dólares ao dia só Falando sobre o site rápido e fácil Crick no banner ai em cima e Ganhe algo de bom na sua vida.

Free image hosting with gallery etc. In Portuguese and English soon
http://www.imghosting.cz.cc/


brunogysin is offline   Reply With Quote
Old 29/04/2010, 12:57 PM   #17
GuikBretas
Huge Clucker
 
GuikBretas's Avatar
 
Join Date: Jul 2009
Posts: 410
Reputation: 10
Default Re: Códigos Úteis

pawn Code:
#define COLOR_ORANGE 0xFFA500AA

new mensagens[1][256] = { //Mude o 1 se for colocar mais mensagens
"[SERVER] Seja bem-vindo ao server Noob RP, onde só joga NOOB e tem mensagem Noob kkkk",
};

new cores[] = {
COLOR_ORANGE
};

forward RandomMSG();

public OnGameModeInit()
{
    SetTimer("RandomMSG",150000,1);
    return 1;
}

public RandomMSG()
{
    new string[256];
    new random1 = random(sizeof(mensagens));
    new random2 = random(sizeof(cores));
    format(string, sizeof(string), "%s", mensagens[random1]);
    SendClientMessageToAll(cores[random2],string);
    return 1;
}
__________________

I see you on the dark side of the moon
GuikBretas is offline   Reply With Quote
Old 29/04/2010, 03:18 PM   #18
RoamPT
High-roller
 
RoamPT's Avatar
 
Join Date: Nov 2007
Location: Toronto, Canada
Posts: 1,111
Reputation: 26
Default Re: Códigos Úteis

Andei a limpar esses double posts desnecessários, se voltar a ver mais algum este tópico vai à vida, não é este o objectivo do tópico!
__________________
RoamPT is offline   Reply With Quote
Old 04/05/2010, 03:57 PM   #19
Ambrósio
Huge Clucker
 
Ambrósio's Avatar
 
Join Date: Dec 2009
Location: Foz do Iguaçu - Brasil
Posts: 447
Reputation: 20
Default Re: Códigos Úteis

[size=10pt]
Retornar a tela de seleção de skins

pawn Code:
if(!strcmp(cmdtext, "/class", true))
{
  ForceClassSelection(playerid);
  SetPlayerHealth(playerid,0);
  return 1;
}
__________________
Ambrósio is offline   Reply With Quote
Old 06/05/2010, 04:14 PM   #20
SlashPT
High-roller
 
SlashPT's Avatar
 
Join Date: Sep 2009
Location: Hell
Posts: 1,973
Reputation: 116
Default Re: Códigos Úteis

mais facil simplesmente

carrega no F4 Enquanto jogas e

pawn Code:
if(!strcmp(cmdtext, "/class", true))
{
  SetPlayerHealth(playerid,0);
  return 1;
}
__________________

Zh3r0Jansish
SlashPT is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Menus Úteis [SKIN|CARROS|ARMAS] SlashPT Lançamentos/Releases 25 02/05/2014 03:56 PM
[Include] [INC]Várias e Uteis Funções andmeida10 Lançamentos/Releases 28 14/12/2012 01:49 PM
[PEDIDO] Codigos Hashtag Português/Portuguese 7 16/11/2011 10:09 PM


All times are GMT. The time now is 01:08 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.