Vice City Multiplayer
June 25, 2022, 01:52:23 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: LC:MP 0.3z Released! http://forum.vicecitymultiplayer.com/index.php?topic=251.0
 
   Home   Help Search Members Login Register  
Pages: [1]
  Print  
Author Topic: Setting up a R2 Server made with Pawn  (Read 5074 times)
0 Members and 1 Guest are viewing this topic.
thijn
VC:MP Veteran
*****
Offline Offline

Posts: 736


[VU]-Member Squirrel-Scripter XE-Admin & SvM Owner


View Profile
« on: February 25, 2010, 08:48:32 pm »

As i've helped alot of people on the scripting section here at the forums,
I though I would make a tutorial where i could link to when I get basic question like even starting it, config, cars, skins and such things.

The tutorial is 16 pages long (with 1 small credits page) so, Please take your time.

Tutorial can be found here

It would be the best if there were no mirrors, as i will update it once there is something missing // mistakes were made.

Also, Please report any mistakes or things you would like to be added.

Hope you learn something with it Wink

- Thijn
« Last Edit: February 25, 2010, 08:51:09 pm by thijn » Logged


Mitchel
Street Thug
*
Offline Offline

Posts: 1


View Profile
« Reply #1 on: February 25, 2010, 09:49:49 pm »

nice tutorial, will be very useful for new users.

I found one mistake:

You wrote:

Code:
So our final /hello command will be:
if(strcmp("/hoi", cmdtext, true) == 0)

I think 'hoi' has to be replaced with 'hello' Cheesy
Logged
Aaron
VC:MP Beta Tester
Crime Boss
****
Offline Offline

Posts: 287


View Profile
« Reply #2 on: February 25, 2010, 10:25:21 pm »

nice one thijn
Logged
thijn
VC:MP Veteran
*****
Offline Offline

Posts: 736


[VU]-Member Squirrel-Scripter XE-Admin & SvM Owner


View Profile
« Reply #3 on: February 25, 2010, 10:30:42 pm »

nice tutorial, will be very useful for new users.

I found one mistake:

You wrote:

Code:
So our final /hello command will be:
if(strcmp("/hoi", cmdtext, true) == 0)

I think 'hoi' has to be replaced with 'hello' Cheesy
hehe ye indeed, I've replaced it Wink Download is in the same place.
Logged


Ettans
VC:MP Beta Tester
Made Man
****
Offline Offline

Posts: 111


View Profile
« Reply #4 on: February 26, 2010, 09:53:00 am »

By the way, I noticed you have #define COLOR_RED 0xFF0000AA; in the tutorial, you don't need to end defines with a semi-colon. Other than that, nice job, must have taken a lot of time.  Wink
Logged
[AoD]NC
VC:MP Beta Tester
VC:MP Veteran
****
Offline Offline

Posts: 648


AoD forever!


View Profile WWW
« Reply #5 on: February 26, 2010, 02:09:17 pm »

Thijn great <3

But anyway i will use it, when a new server patch will be released.

Btw: VC-MP car limit is 254?
Logged

Status > <

http://www.youtube.com/user/1234sdg131
~VCMP 0.4~
Objects testing (2010) http://www.youtube.com/watch?v=kxFnuCr3yKY | Gameplay 15.03.11 http://www.youtube.com/watch?v=AyaNc9IZQBY | Gameplay 18.03.11 http://www.youtube.com/watch?v=NOp5-QM0o10 | Fun testing+chat http://www.youtube.com/watch?v=PiBm0sLcudU
[img]http://img406.imageshack.us/img406/9201/fdsfdm.jpg[
Ettans
VC:MP Beta Tester
Made Man
****
Offline Offline

Posts: 111


View Profile
« Reply #6 on: February 26, 2010, 03:26:58 pm »

Seems so, although it's not recommended to have over 180.
Logged
thijn
VC:MP Veteran
*****
Offline Offline

Posts: 736


[VU]-Member Squirrel-Scripter XE-Admin & SvM Owner


View Profile
« Reply #7 on: February 26, 2010, 04:23:34 pm »

By the way, I noticed you have #define COLOR_RED 0xFF0000AA; in the tutorial, you don't need to end defines with a semi-colon. Other than that, nice job, must have taken a lot of time.  Wink
Thanks for noticing that, I fixed it.

Btw: VC-MP car limit is 254?
Its defined in the include script, But indeed its the MAX so over 180 will be unstable too.
Logged


[AoD]NC
VC:MP Beta Tester
VC:MP Veteran
****
Offline Offline

Posts: 648


AoD forever!


View Profile WWW
« Reply #8 on: March 06, 2010, 10:29:48 pm »

Em...

"When you type a command /hello"

I thought its not possible to do / commands ;o
Logged

Status > <

http://www.youtube.com/user/1234sdg131
~VCMP 0.4~
Objects testing (2010) http://www.youtube.com/watch?v=kxFnuCr3yKY | Gameplay 15.03.11 http://www.youtube.com/watch?v=AyaNc9IZQBY | Gameplay 18.03.11 http://www.youtube.com/watch?v=NOp5-QM0o10 | Fun testing+chat http://www.youtube.com/watch?v=PiBm0sLcudU
[img]http://img406.imageshack.us/img406/9201/fdsfdm.jpg[
maxorator
VC:MP Developer
Crime Boss
********
Offline Offline

Posts: 260



View Profile
« Reply #9 on: March 07, 2010, 04:50:49 pm »

Its defined in the include script, But indeed its the MAX so over 180 will be unstable too.
Not sure why the include gives that amount, but the real maximum is 200.
Logged
thijn
VC:MP Veteran
*****
Offline Offline

Posts: 736


[VU]-Member Squirrel-Scripter XE-Admin & SvM Owner


View Profile
« Reply #10 on: March 07, 2010, 09:21:04 pm »

Its defined in the include script, But indeed its the MAX so over 180 will be unstable too.
Not sure why the include gives that amount, but the real maximum is 200.
Ah okies, Thanks for the info. Will edit it in my tut.

EDIT: Changed it in the tutorial, also changed the /hello typo. Download is at the same location again.
« Last Edit: March 07, 2010, 09:26:29 pm by thijn » Logged


BCKLUP
Street Thug
*
Offline Offline

Posts: 15


View Profile
« Reply #11 on: March 14, 2010, 10:09:06 am »

Could it really work as a command with a "/" prefix instead of a "/c" or "!"?
btw, Good job but next time tell them something difficult like "strtok" commands(commands with parameters like "/c ban <playerid>")
« Last Edit: March 14, 2010, 10:12:58 am by BCKLUP » Logged
thijn
VC:MP Veteran
*****
Offline Offline

Posts: 736


[VU]-Member Squirrel-Scripter XE-Admin & SvM Owner


View Profile
« Reply #12 on: March 14, 2010, 11:43:53 am »

Could it really work as a command with a "/" prefix instead of a "/c" or "!"?
Nope, Thats not possible it was a typo
Logged


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!