Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MatheuS

Pages: [1] 2
1
General Discussion / VCMP 0.4?
« on: May 19, 2014, 05:30:21 pm »
when is the specific date?

why not release it now?

the vcmp is losing players that are already abused this release.

2
0.4 Public Beta #2 / Launch Erro?
« on: March 31, 2014, 06:33:23 pm »


Game: GTA3  ???

3
Snippet Showroom / [Include] Language
« on: March 29, 2014, 04:17:19 am »
Hello, here I am sharing my scripts
My first include

download the here include
Clicky

Functions

GetPlayerLanguage(playerid);
SetPlayerLanguage(playerid,language);
SendLanguageMessage(playerid,color,english[],portuguese[]);
SendLanguageMessageToAll(color,english[],portuguese[]);

Examples

Code: [Select]
public OnPlayerCommandText( playerid, cmdtext[] )
{
if ( strcmp( cmd, "pt", true ) == 0 )
{
SendClientMessage(playerid, -1, "His language was changed to Portuguese");
SetPlayerLanguage(playerid,Portuguese);
return 1;
}
else if ( strcmp( cmd, "en", true ) == 0 )
{
SendClientMessage(playerid, -1, "His language was changed to English");
SetPlayerLanguage(playerid,English);
return 1;
}
else if ( strcmp( cmd, "language", true ) == 0 )
{
SendLanguageMessage(playerid,-1,"His language is English","Sua linguagem e Portuguese");
return 1;
}
else if ( strcmp( cmd, "languageall", true ) == 0 )
{
SendLanguageMessageToAll(-1,"Welcome","Bem Vindos");
return 1;
}
    return 0;
}

Credits: Me

Any error or doubt post here

Sorry for my english

4
VC:MP Clans / LBR | Legion Brazillian
« on: March 21, 2014, 01:00:27 am »


History & Information
Legion Brazilian clan originally created only for the brazilians and with the time is now a international clan. LBR it's a old clan known on VC:MP, founded the 14th July of 2009 by George. We had our ups and downs to through of the years but today, we have loyal members, friendly with a good experience in this game. Everybody are invited to join on LBR, following all steps for be a member. Click here for apply!
 
We are under the administration of George, Junior and Marcos. Our Division: [ LBR / LBR_R / LBR_T ]


Website & IRC
If you want know more about us simply register and join with us in our website. Click here!
If you want talk with us, join to our irc channel #lbr on Lunet (irc.liberty-unleashed.co.uk)


Scripting
We have members experimented with the scripting. This are the servers in where participated our clan:
 
[Xe] European Server: (LBR)George [Developer] - IP: 94.23.157.172:5190
[Xs] Evolution: (LBR)George & (LBR)Junior [Developers] - IP: 108.61.49.237:5192
BRASIL | Evolution DMS: (LBR)Lucas [Developer] - IP: 108.61.49.237:5184


Clan Members
Admins
George
Junior
Marcos

 
Members
Anta171
Replicante
Diogo
UisterX
Lance
Lucas
Matheus

Sami
Robson_BR
Andre_Fernandes

HeadsMan
Diego_Br
LordBlack

 
Total members: 16 Members.


Last News:
 
LordBlack accepted as trainee. 25-04-2014
Robson_Br promoted to Rockie. 10-4-2014
Andre_Fernandes promoted to Rockie. 10-4-2014
Matheus promoted to full. 30-1-2014
Lucas promoted to full. 30-1-2014
Franklin left. 21-2-2014
Victor Ferreira accepted as trainee. 22-2-2014
Diego Savio accepted as trainee. 22-2-2014
Heverton left. 27-2-2014

5
Snippet Showroom / My XP system
« on: March 18, 2014, 07:30:37 pm »
Variable
Code: [Select]
new pExp[MAX_PLAYERS]; // this variable is to Experience
new pTimeUP[MAX_PLAYERS]; // this variable is the time to get XP

Function's

Code: [Select]
public OnPlayerConnect(playerid)
{
    pExp[playerid] = GetPlayerExp(playerid);// takes the value of the line "Experience" in the player file
    pTimeUP[playerid] = SetTimer("UpXP",60*60000,true);
    }
    return 1;
}

Code: [Select]
public OnPlayerDisconnect(playerid, reason)
{
   SetPlayerExp(playerid,pExp[playerid]);
}
return 1;
}

Code: [Select]
stock UpXP(playerid)
{
   
    pExp[playerid] ++;
    new string[50];
    format(string,sizeof(string),"[XP] Congratulations you just won XP on our server",pExp[playerid]);
    SendClientMessage(playerid,-1,string);
        return 1;

}

Code: [Select]
public SetPlayerExp(playerid,Exp)
{
    format(INFO,256, REGISTERS, gPlayers[playerid]); //I created this in the WarChiefs, if you use another script just change
dini_IntSet(INFO,"EXP",Exp);
}
public GetPlayerExp(playerid)
{
    format(INFO,256, REGISTERS, gPlayers[playerid]);
new exp; exp = dini_Int(INFO,"EXP");
return exp;
}

See an Error? post here

Thanks, I have helped  :o

6
Snippet Showroom / [FUNCTION] ProxDetectorS
« on: March 18, 2014, 07:18:44 pm »
Code: [Select]
forward ProxDetectorS(Float:radi, playerid, targetid);
public ProxDetectorS(Float:radi, playerid, targetid)
{
    if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
//radi = 2.0; //Trigger Radius
GetPlayerPos(targetid, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
tempposz = (oldposz -posz);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return true;
}
}
return 0;
}

Eg.:

Using a command or a function

Code: [Select]
                        if (ProxDetectorS(8.0, playerid, plr))
       {
                            SendClientMessage(playerid, -1, "The player is near you!");
                       }
else
{
SendClientMessage(playerid, -1, "  The character is far from You!");
return true;
                }

That and an example, will not try to put it this way to be, and this is an example!

Any bug, post it here

Thank's

7
General Discussion / doubt
« on: November 19, 2013, 02:14:49 am »
servers are not loading, it is only here or is it general?

8
Snippet Showroom / Simple Water Change by Me
« on: October 14, 2013, 04:28:17 am »
New's

Code: [Select]
new Wathers[] [] = {
1,2,5,4,5,6,7,8,9,10,11,12,13,14,15
};

Public's / Forward

Code: [Select]
forward WeatherChange();
public WatherChange()
{
        new rand = random(sizeof(Wathers));
        SetWaterLevel(Wathers[rand][1]);
        return 1;
}

GameModeInit

Code: [Select]
SetTimer("WatherChange", 5000, 1); // Edit? 5000 to 16000... etc...

9
Snippet Showroom / Auto Message's System By Me
« on: September 21, 2013, 04:28:14 am »
          Auto Messages System


New's

[pawn]new gstring[128];
new Color[] = {
   0x20B2AAAA,
   0xFFFFFFAA,
   0x33AA33AA,
   0xE0FFFFAA,
   0x934FF6F6,
   0xF4005BF6,
   0xF68E00F6,
    0x00E7C6F6,
    0x5EB7E3F6,
    0xCD6CF6F6,
    0x685000F6
};
new Messages[][128] = {
   "Your Message 1",
        "Your Message 2",
   "Welcome To The Server" // exemple
};[/pawn]

Public's

[pawn]forward SendMessages();
public SendMessages()
{
   new random1 = random(sizeof(Messages));
   new random2 = random(sizeof(Color));
   format(gstring, sizeof(gstring), "%s", Messages[random1]);
   SendClientMessageToAll(Color[random2],gstring);
   return 1;
}[/pawn]

GameModeInit

 [pawn]SetTimer("SendMessages", 160000, 1);[/pawn]

========== By Me ==========

sorry for my bad english...

10
General Discussion / New Develolper?
« on: September 07, 2013, 03:35:37 am »
Stormeus new develolper the vc-mp?

Congratulations!

11
mIRC/pawn Scripting / Request.
« on: September 06, 2013, 05:40:32 am »
Hi, I'm Looking From A Simple System Login / Register

Note: Want A System In English, not Spanish,

How So Simple? -> With Level and Money

Thanks For Attention.  ;)

12
Snippet Showroom / System Admins Chat
« on: May 03, 2013, 01:27:42 am »
[pawn]#define RED               0xF0182DFF
#define COLOR_YELLOW      0xFFFF00AA

//OnPlayerCommandText

else if ( strcmp( cmd, "adminchat", true ) == 0)
   {
          new szMsg[ 128 ];
      {
      if(GetPlayerLevel(playerid) == 0)
         {
                for(new i=0;i<MAX_PLAYERS;i++)
                {
            if(IsPlayerConnected(i) && GetPlayerLevel(i) >= 1)
                {
                        format( szMsg, sizeof( szMsg ), "Admin > %s : %s", gPlayers[ playerid ],cmdtext[2]);
                  SendClientMessage(i,COLOR_YELLOW,szMsg);

                  }
            }

         }
         else SendClientMessage(playerid,RED,"You is not an administrator");
        }
      return 1;
      }

//This Chat with levels and For Administrators
=================================
//Chat To The Administrators In Rcon

else if ( strcmp( cmd, "adminchat", true ) == 0)
   {
          new szMsg[ 128 ];
      {
      if(GetPlayerLevel(playerid) == 0)
         {
                for(new i=0;i<MAX_PLAYERS;i++)
                {
            if(IsPlayerConnected(i) && IsPlayerAdmin(i))
                {
                        format( szMsg, sizeof( szMsg ), "Admin > %s : %s", gPlayers[ playerid ],cmdtext[2]);
                  SendClientMessage(i,COLOR_YELLOW,szMsg);

                  }
            }

         }
         else SendClientMessage(playerid,RED,"You is not an administrator Rcon");
        }
      return 1;
      }[/pawn]

If you find any bug speaks to me  ;)

13
Support / Error while compiling
« on: April 12, 2013, 08:52:18 pm »

Because you guys know this Giving This Error?

14
Snippet Showroom / Command anti-Insultes for Roleplay, RPG
« on: August 30, 2012, 07:02:38 am »
[pawn]else if ( strcmp( cmd, "fuck", true ) == 0 )
   {
      SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
      return 1;
   }[/pawn]

[pawn]else if ( strcmp( cmd, "bitch", true ) == 0 )
   {
      SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
      return 1;
   }[/pawn]

15
mIRC/pawn Scripting / how to put functions in pickups?
« on: August 01, 2012, 12:21:31 am »
How to put the functions in pickups please reply thank you ma

Pages: [1] 2