• Welcome to Vice City Multiplayer.
 

Setting up a R2 Server made with Pawn

Started by thijn, February 25, 2010, 07:48:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thijn

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 ;)

- Thijn


Mitchel

nice tutorial, will be very useful for new users.

I found one mistake:

You wrote:

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


I think 'hoi' has to be replaced with 'hello' :D

Aaron


thijn

Quote from: Mitchel on February 25, 2010, 08:49:49 PM
nice tutorial, will be very useful for new users.

I found one mistake:

You wrote:

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


I think 'hoi' has to be replaced with 'hello' :D
hehe ye indeed, I've replaced it ;) Download is in the same place.


Ettans

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.  ;)

[AoD]NC

Thijn great <3

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

Btw: VC-MP car limit is 254?

Ettans

Seems so, although it's not recommended to have over 180.

thijn

Quote from: Ettans on February 26, 2010, 08: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.  ;)
Thanks for noticing that, I fixed it.

Quote from: [AoD]NC on February 26, 2010, 01:09:17 PM
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.


[AoD]NC

Em...

"When you type a command /hello"

I thought its not possible to do / commands ;o

maxorator

Quote from: thijn on February 26, 2010, 03:23:34 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.

thijn

#10
Quote from: maxorator on March 07, 2010, 03:50:49 PM
Quote from: thijn on February 26, 2010, 03:23:34 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.


BCKLUP

#11
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>")

thijn

Quote from: BCKLUP on March 14, 2010, 09:09:06 AM
Could it really work as a command with a "/" prefix instead of a "/c" or "!"?
Nope, Thats not possible it was a typo