Author Topic: Need Help.  (Read 6402 times)

0 Members and 1 Guest are viewing this topic.

Offline cool5

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Need Help.
« on: February 11, 2012, 11:19:07 am »
Hello,
         I'm totally new in scripting and I need help. I have just downloaded Windows server and I want to know how to add register, login and all other command that I need in server. How to add vehicles in server?
And most Important where to place these commands?

Offline Innocent Heart

  • Wiseguy
  • **
  • Posts: 51
  • Crime Investigation Department Owner
    • View Profile
    • Crime Investigaton Department
Re: Need Help.
« Reply #1 on: February 11, 2012, 11:22:43 am »
Hello,
         I'm totally new in scripting and I need help. I have just downloaded Windows server and I want to know how to add register, login and all other command that I need in server. How to add vehicles in server?
And most Important where to place these commands?

Does u Are Using Gups Script ???
Conatact Information :
Facebook:-www.facebook.com/dashingjaff
Youtube:-www.youtube.com/NooranScripter

====>My Server Info  < ========
ServerName :- CID-Server
Server Clan :- [D.R] Dakriders
Server Forum :- www.CidServer.tk
Clan Forum :-www.Drgang.tk
=====> DarkRiders Group <=====

Pm Me If U want To be Pro In Scripting !
Those Who Banned my Ip and My Freind's Ip They Are Big Fuckers...!

Offline MaDKiLLeR

  • Wiseguy
  • **
  • Posts: 51
  • Pawn / Squirrel / PHP / HTML
    • View Profile
    • Humza Khan
Re: Need Help.
« Reply #2 on: February 11, 2012, 11:58:02 am »
I'll suggest you start scripting in squirrel:

Squirrel Scripting Forum:

http://vcmp.liberty-unleashed.co.uk/forum/


Wiki:

http://liberty-unleashed.co.uk/VCWiki/Scripting/squirrel
- [VU_R]MaDKiLLeR

~ Site | Projects | IRC ~


Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Need Help.
« Reply #3 on: February 11, 2012, 05:25:36 pm »
Hello,
         I'm totally new in scripting and I need help. I have just downloaded Windows server and I want to know how to add register, login and all other command that I need in server. How to add vehicles in server?
And most Important where to place these commands?

Does u Are Using Gups Script ???
Don't listen to him!!! cool5, because your new to scripting, try studying script first.. It will give you a hint on making greater one's.. Register, Login and anything that has something to do with Accounts or Files should be ignored first because they are for advanced...

I'll suggest you start scripting in squirrel:

Mad, I really don't think that squirrel are for beginners.. Learning Pawn first have give them an extra boost when it comes to Squirrel...
I'm beginning to feel like a Lag God, Lag God

Offline cool5

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: Need Help.
« Reply #4 on: February 11, 2012, 06:11:10 pm »
Where can I study it?

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Need Help.
« Reply #5 on: February 11, 2012, 06:24:29 pm »
I'm beginning to feel like a Lag God, Lag God

Offline Innocent Heart

  • Wiseguy
  • **
  • Posts: 51
  • Crime Investigation Department Owner
    • View Profile
    • Crime Investigaton Department
Re: Need Help.
« Reply #6 on: February 11, 2012, 06:31:50 pm »
Conatact Information :
Facebook:-www.facebook.com/dashingjaff
Youtube:-www.youtube.com/NooranScripter

====>My Server Info  < ========
ServerName :- CID-Server
Server Clan :- [D.R] Dakriders
Server Forum :- www.CidServer.tk
Clan Forum :-www.Drgang.tk
=====> DarkRiders Group <=====

Pm Me If U want To be Pro In Scripting !
Those Who Banned my Ip and My Freind's Ip They Are Big Fuckers...!

yazeen

  • Guest
Re: Need Help.
« Reply #7 on: February 13, 2012, 05:48:44 pm »
Just because you are an Indian and your my friend i will give you a Step by Step instructions:

You can script your server in both ways:
1.Pawn server - PAWN is a scripting language created for VC:MP by VC:MP authors. You can compile your scripts using the software called Pawno. It will show you the errors and warning in your script if there is any.
2.Squirrel server- Squirrel server was created by the Liberty Unleashed team. Actually the remake of 0.3z PAWN server. It got more functions than in PAWN.

Alright. I recommend you use Pawn for a start so:

1.Download Pawn package
2.Install it to a folder
3.Open up Server.CFG and set the server configurations
4.Start vcmp-svr.exe

Note: Make sure you have port forwarded if you want your server to be in the list. :P
Note: click here to view a WIKIHOW guide on how to create a pawn server that i have written some months ago.

In order to edit or write your own Game modes you will need to download Pawno. Download GUPS (General used pawn scripts) from scripts showroom and try editing it. once your done press F5 and your scripts will compile and paste the YOUGAMEMODENAME.pwn and YOUGAMEMODENAME.amx files in your gamemodes folder and then in the Server.CFG file
[pawn]gamemode0 YOUGAMEMODENAME 1[/pawn] and save it
Then open up your server and check the scripts. Once you have enough knowledge in pawn switch to squirrel. You got no compile on this level :P . But squirrel is awesome and got more functions than pawn.


I hope that helps, [FS]Rocky

Offline cool5

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: Need Help.
« Reply #8 on: February 16, 2012, 11:19:25 am »
Quote
   new ReasonText[ 32 ], szMsg[ 128 ];
      switch

      case 0: ReasonText = "Timeout";
      case 1: ReasonText = "Quit";
      case 2: ReasonText = "Kick/Ban";
   }
   format( szMsg, 128, "** [%d] %s has left the server. (%s)", playerid, gPlayers[ playerid ], ReasonText );
   print( szMsg );
   
   return 1;
}

Error : error 001: expected token: "(", but found "case"

yazeen

  • Guest
Re: Need Help.
« Reply #9 on: February 16, 2012, 12:10:04 pm »
[pawn]    new ReasonText[ 32 ], szMsg[ 128 ];
     switch(ReasonText)
      {
      case 0: ReasonText = "Timeout";
      case 1: ReasonText = "Quit";
      case 2: ReasonText = "Kick/Ban";
   }
   format( szMsg, 128, "** [%d] %s has left the server. (%s)", playerid, gPlayers[ playerid ], ReasonText );
   print( szMsg );
   
   return 1;
}
[/pawn]

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Need Help.
« Reply #10 on: February 17, 2012, 04:38:46 am »
This should be at the mIRC/pawn Scripting board.
I'm beginning to feel like a Lag God, Lag God

Offline manas

  • Street Thug
  • *
  • Posts: 2
    • View Profile
Re: Need Help.
« Reply #11 on: February 17, 2012, 03:24:36 pm »
its just boring i thought the same and downloaded all and i got bored in seconds uninstalled it right away,but either way if you think to be it interesting but it isn't you will be more or less end up being a well known scripter.

But if you ask me i would say try to learn squirell cause pawn servers aren't stable and from what i have seen is that they have more crashes.Squirell in other side has many functions than the pawno and if you ask any decent scripter in vcmp i'm sure that they would say squirell.
« Last Edit: February 17, 2012, 03:40:09 pm by manas »

Offline Sephiroth

  • Wiseguy
  • **
  • Posts: 82
  • www.xe-servers.com www.ulk-gang.com
    • View Profile
    • ULK - United Legion of Killers
Re: Need Help.
« Reply #12 on: February 17, 2012, 05:26:25 pm »
Between the two servers, Squirrel does have more functions than pawn at the moment, yes.

but just to be clear; pawn doesn't have "more crashes" just because of the language. If you utilize pawn correctly it can be a very powerful and reliable asset to your server.

high quality signature
[03:49] <%Stormeus> I picked up PHP when I was around 10

yazeen

  • Guest
Re: Need Help.
« Reply #13 on: February 17, 2012, 05:44:23 pm »
But if you ask me i would say try to learn squirrel cause pawn servers aren't stable and from what i have seen is that they have more crashes.Squirrel in other side has many functions than the pawn and if you ask any decent scripter in vcmp i'm sure that they would say squirrel.
I totally agree with you Manas but it is recommended to use pawn for a start since newbies can't figure out the errors/warnings in the script if they start scripting in squirrel.  most of the decent sripters use squirrel because they have gained enough experience in pawn.  Once everyone have enough experience in pawn, they switch to squirrel, thats why i recommend the same to you...

Offline Ankur

  • Street Thug
  • *
  • Posts: 1
    • View Profile
Re: Need Help.
« Reply #14 on: February 18, 2012, 07:46:41 am »
these will help you tu understand pawn language too http://www.compuphase.com/pawn/pawn.htm