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.


Messages - USA.Ghost

Pages: [1] 2 3
1
General Discussion / Re: can anyone help me plz
« on: August 21, 2013, 12:15:57 pm »
at the top of your gamemode:
new funct;
to OnGameModeInit
[pawn]public OnGameModeInit()
{
SetTimer("mymessages", 60000, 1);
return 1;
}[/pawn]
add this public func
[pawn]public mymessages()
{
if(funct == 0){ SendClientMessageToAll(0x04A36BFF, "TIP: tip 1 here"); funct++;}
if(funct == 1){ SendClientMessageToAll(0x04A36BFF, "TIP: tip 2 here"); funct++;}
if(funct == 2){ SendClientMessageToAll(0x04A36BFF, "TIP: tip 3 here"); funct++;}
if(funct == 3){ SendClientMessageToAll(0x04A36BFF, "TIP: tip 4 here"); funct++;}
if(funct == 4){ SendClientMessageToAll(0x04A36BFF, "TIP: tip 5 here"); funct++;}
if(funct == 5){ SendClientMessageToAll(0x04A36BFF, "TIP: tip 6 here"); funct = 0;}

}[/pawn]

you need pawno to compile it
replace tip - here with your tip
if it doesnt work tell me
it gives one tip every minute
replace TIP: with HINT: to give a hint

2
mIRC/pawn Scripting / Re: Want anything in pawn? Ask here!
« on: April 05, 2013, 12:55:56 pm »
I think Ghost you Say Me a u give me Cmds and Function
/c kidnapper !calltaxi and Etc.............

~Stealing server scripts not allowed~

3
ShowRoom (pawn) / Re: 100% Racing Script Pawn Full By Me
« on: April 03, 2013, 11:13:18 am »
Best Code Ever

[pawn]         else   if (strcmp(cmd, "done", true) == 0)
   {
SendClientMessage(playerid, COLOR_RED, "If Success Try Again");
TryAgain();
  return 1;
   }[/pawn]

[pawn]stock TryAgain()
{
SendClientMessage(playerid,RED, " DO It Again ");
  }
 return 1;
}[/pawn]

Error: undefined symbol: playerid
Error: undefined symbol: RED

4
mIRC/pawn Scripting / Re: Help me!Come in !
« on: March 26, 2013, 04:09:59 pm »
Did You put
Code: [Select]
#include <a_vcmp>You Put it ?

Or

You May Put That On "OnPlayerCommandText"
To Find "OnPlayerCommandText"
Press "Ctrl (Control) + F"
And Copy Paste The "OnPlayerCommandText"
And Paste The Code At There.

use this:
[pawn]}
else if (strcmp(cmd, "!rules", true) == 0){
          SendClientMessageToAll(COLOR_YELLOW, "put the first rule");
          SendClientMessageToAll(COLOR_YELLOW, "put the second rule");
       return 1;[/pawn]
Sorry You Wrong
it Should Be :
on Top :
[pawn]#define DGREEN            0x04A36BFF[/pawn]
[pawn]
else if (strcmp(cmd, "!rules", true) == 0){
          SendClientMessageToAll(DGREEN, "put the first rule");
          SendClientMessageToAll(DGREEN, "put the second rule");
       return 1;
}
[/pawn]
#define DGREEN
this does not need

DO NOT BUMP OLD TOPICS

5
Support / HELP ME
« on: March 22, 2013, 09:20:45 am »
Hi guys,
I am a beginner on ms vc++ and raknet and i need your help
1. How can you make a pawn reader in raknet
2. How can you get the location of your program
3. What is the masterserver of VC:MP (since i wanna make my own server)

Thanks

6
mIRC/pawn Scripting / Re: Nesk became a zombie. Take this.
« on: March 16, 2013, 08:36:10 am »
Okay, that's good for you. I normally wouldn't have a problem with this since I was in the same boat at one point, but it seems like you're just showing off now; your signature isn't even valid Pawn or C#. If it were valid, you would have simply created an infinite loop that hangs the script.

But the signature was a joke lol if i want to post a real script, why wouldnt i post it in topics instead of signature lol

7
here is fake bots
[pawn]new RandomMSG[][]=
{

    "[BOT] : Is Online Now",
    "[BOT] : Is Active Now",
    "[BOT] : Is Now Going",
    "[BOT] : Irc admin Active",
    "[BOT] : Server Protector Online",
    "[BOT] : Help Center Online",
    "[BOT] : Server Is Online"

};
forward SendMSG();
new RandomMSG2[][]=
{

    "[BOT] : HELLO VCMP",
    "[BOT] : How Are You All",
    "[BOT] : Dont HAck Or Get Ban",
    "[BOT] : Dont Abuse Or Ban",
    "[BOT] : use /c getcar and get any vehicle",
    "[BOT] : I Am Created By Spider",
    "[BOT] : Server Is Created By Spider"

};
forward SendMSG2();[/pawn]

[pawn]public SendMSG()
{
    new randMSG = random(sizeof(RandomMSG));
    SendClientMessageToAll(0xFF007FFF, RandomMSG[randMSG]); // Replace the "COLOR" with your defined color.
}
public SendMSG2()
{
    new randMSG2 = random(sizeof(RandomMSG2));
    SendClientMessageToAll(0xFF007FFF, RandomMSG2[randMSG2]); // Replace the "COLOR" with your defined color.
}      [/pawn]

[pawn]SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
SetTimer("DisplayBots",1000*60*1,1);
SetTimer("timechange", 10000, false);[/pawn]

[pawn]         else if ( strcmp( cmd, "botoff", true ) == 0 )
   {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else
      {
 KillTimer(1);
 KillTimer(2);
 KillTimer(3);
 KillTimer(4);
      }
      return 1;
   }
          else if (strcmp(cmd, "setbot", true) == 0) {
      new setbots[256];
      tmp = strtok(cmdtext, idx);
      if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_RED, "You need to Rcon login first!");
      else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c setbot text");
      else {
         format(file, sizeof(file), "/Bots/Bots.ini", "Bots");
   format(setbots,sizeof(setbots),"Bot %s : %s",gPlayers[playerid],cmdtext[7]);
         dini_Set(file, "Bots", setbots);
      }
      return 1;
   }      
         else if ( strcmp( cmd, "boton", true ) == 0 )
   {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else
      {
SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
      }
      return 1;
   }[/pawn]

[pawn]      //=========BOT REPLY
      else if (strcmp(cmd, "f9 n u", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "f9 and u", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "fine and you", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
       return 1;
      }
      else if (strcmp(cmd, "thanks", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] your welcome");
       return 1;
      }
      else if (strcmp(cmd, "are you a bot", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] Yes i am a bot");
       return 1;
      }
      else if (strcmp(cmd, "is this server is sq", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] no");
       return 1;
      }
      else if (strcmp(cmd, "is this server is pawn", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] yes");
       return 1;
      }
      else if (strcmp(cmd, "id", true) == 0 )
      {
 SendClientMessage(playerid, RED," [BOT] our account on fb mrockx mani");
       return 1;
      }[/pawn]

[pawn]public DisplayBots()
{
new Msg[256];
      new xgv[256];
   format(file, sizeof(file), "/Bots/Bots.ini");
   xgv = dini_Get(file, "Bots");
   
          format(Msg,sizeof(Msg),"[BOT] %s Online You Can CHat Now",xgv);
         SendClientMessageToAll(COLOR_YELLOW, Msg);

}
public timechange()
{
SetWorldTime(21,10);
SetTimer("timechange2", 100000, false);
}
public timechange2()
{
SetWorldTime(25,10);
SetTimer("timechange3", 100000, false);
}      
public timechange3()
{
SetWorldTime(1,10);
SetTimer("timechange4", 100000, false);
}      
public timechange4()
{
SetWorldTime(5,10);
SetTimer("timechange5", 100000, false);
}      
public timechange5()
{
SetWorldTime(10,10);
}         [/pawn]
all here
need any help ask here
any bug post here


thnks for the msg code, now i can create even more advanced bot system

8
Snippet Showroom / Re: [SNIPPET]Team System Full ANd Final By Me
« on: March 15, 2013, 08:43:46 am »
beginning
[pawn]new TEAM[MAX_PLAYERS];
new REQUEST[MAX_PLAYERS];
new DENY[MAX_PLAYERS];[/pawn]

now in onplayerspawn when team-mate spawn he got spawn to you
[pawn]new plr;
new Float:x, Float:y, Float:z;
if (TEAM[playerid] != 255) {
      while (TEAM[ plr ] == playerid  ) {
      plr++
}
while (TEAM[ plr ] != playerid ) {
GetPlayerPos(plr, x, y, z);
SetPlayerPos(playerid, x, y, z, 0, 0);
}
}[/pawn]

now cmds
[pawn]            else if ( strcmp( cmd, "!team", true ) == 0 )
{
new plr;
tmp = strtok( cmdtext, idx );
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREY, "Usage: !team [Nick/ID]" );     
else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );   
else if(TEAM[ plr ] != 255) SendClientMessage(playerid, GREEN," Player Is ALready In A Team");
else
{
SendClientMessage(plr, RED, " Player Wants To Team WIth You do /c accept or deny");
REQUEST[ plr ] = 1;
 }
      return 1;
   }
            else if ( strcmp( cmd, "!leaveteam", true ) == 0 )
{
new plr;
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if(REQUEST[playerid] == 0) SendClientMessage(playerid, GREEN," You are not in any team");
else
{
SendClientMessage(plr, RED, " Player Dont Want TO Team With You ANyMore");
TEAM[ plr ] = 255;
TEAM[ playerid ] = 255;
 }
      return 1;
   }
               else if ( strcmp( cmd, "!accept", true ) == 0 )
{
new plr;
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if(REQUEST[playerid] == 0) SendClientMessage(playerid, GREEN," You DOnt Have A Request");
else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );   
else
{
SendClientMessage(plr, RED, " You ARe Now In Team");
TEAM[ plr ] = playerid;
TEAM[ playerid ] = plr;
GetPlayerPos( plr, x, y, z );
SetPlayerPos( playerid, x, y + 1.0, z, 0, 0 );
 }
      return 1;
   }
                  else if ( strcmp( cmd, "!deny", true ) == 0 )
{
new plr;
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if(REQUEST[playerid] == 0) SendClientMessage(playerid, GREEN," You DOnt Have A Request");
else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, COLOR_RED, "Error: Unknown player" );   
else
{
SendClientMessage(plr, RED, " You ARe Not In Team");
TEAM[ plr ] = 255;
TEAM[ playerid ] = 255;
DENY[ playerid ] = 1;
DENY[ plr ] = 1;
 }
      return 1;
   }[/pawn]

CREDITS = SPIDER(MAIN IDEA) AND USA.GHOST(FIX BUG TO ONLY WORK WITH PLAYERID 0)

SAW A BUG FEEL FREE TO POST

9
mIRC/pawn Scripting / Re: Nesk became a zombie. Take this.
« on: March 15, 2013, 08:30:06 am »
I agree with "young people should learn programming".. Nice script btw..
lol im young and... YOU DONT KNOW HOW MUCH PROGRAMMING LANGUAGES I KNOW, INCLUDING:
Code: [Select]
ms vb 2010
pawn
sq(i dont know it a lot, only basics)
ntsys(cmd)
... (I KNOW EVEN MORE)

10
mIRC/pawn Scripting / Re: NEED HELP WITH PSA
« on: March 12, 2013, 03:07:42 pm »
COME ON, WHY ARENT ANY OF YOU POSTING???????

11
Support / Re: HACKER HACKED MY SERVER :(((
« on: March 11, 2013, 07:07:10 pm »
OK , So  Im gonna put this straight , I was having fun with my friends on my server , a player named "JADAJA" came to my server and said by SammY im gonna ban you and a minute later a message came that "You have been banned from the server" .

Now the problem is i can't connect to my server , my server's banned files are empty . there is no entry in the Bans.ini . Now I can't connect to my server . Pls help .

Regards ,
Sammy

check vcmp-server.banlist (open it with notepad) and remove 127.0.0.1

12
Support / Re: Why I can not see my server in the Internet tab
« on: March 11, 2013, 06:56:51 pm »
As the subject said:Why I can not see my server in the Internet tab.

open server.cfg change announce 0 to announce 1

13
mIRC/pawn Scripting / Re: [PAWN]Bug list 0.3z
« on: March 10, 2013, 07:29:48 pm »
Interiors:
SetPlayerInterior and GetPlayerInterior are not implemented
add DisableInteriorEnterExits func as in sa-mp. I think any devs wanna disable default entrances.
SetPlayerInterior make like that
[pawn]public SetInteriorPlayer(playerid, interiorid)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid, X, Y,Z, 0, interiorid);
return 1;
}

Here, it works fine (if it dosent work replace SetPlayerPos(playerid,X,Y,Z,0,interiorid) to SetPlayerPos(playerid, X,Y,Z,interiorid,interiorid)

14
mIRC/pawn Scripting / Re: Help me!Come in !
« on: March 10, 2013, 05:33:12 pm »
i need help !
What can i do? Add to rules this command

plz help me ~

WTF WTF WTF????? NOONE KNOWS SUCH A SIMPLE CMD?????????? Here

[pawn]public OnPlayerText(playerid, cmdtext)
{
new cmd;
new idx;
cmd = strtok(cmdtext, idx);
if (strcmp(cmd, "!rules", true) == 0) {
SendClientMessageToAll(0xFFFFFF,"1st line of rules");// 0xFFFFFF = COLOR RED
SendClientMessageToAll(0xFFFFFF,"2nd line of rules");
SendClientMessageToAll(0xFFFFFF,"3rd line of rules");
SendClientMessageToAll(0xFFFFFF,"4th line of rules");
//make more if you want more lines, make less if you want less lines
return 1;
}
return 1;//DO NOT RETURN 0 OR ELSE THE MESSAGE WILL NOT BE SENT(EVERYONE WILL BE MUTED)
}[/pawn]

and you who posted wrong ones, GO LEARN TO SCRIPT!

15
mIRC/pawn Scripting / Re: Show Your Skills Here!!! (HELP)
« on: March 10, 2013, 05:26:42 pm »
if you want the protector, first, PM me the ddos/crash tool then i can see how it works and make for you a protector :)

Pages: [1] 2 3