• Welcome to Vice City Multiplayer.
 
Menu

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.

Show posts Menu

Messages - goudewup

#1
ShowRoom (pawn) / Re: Extra config options!
February 22, 2010, 05:00:53 PM
the one can be done with notepad the other needs pawno  ::)
#2
mIRC/pawn Scripting / Re: [Pawn] Can't move when spawned?
February 18, 2010, 07:43:31 PM
nowhere in my old script are any world boundaries...
#3
ShowRoom (pawn) / Re: Extra config options!
February 18, 2010, 07:38:33 PM
yes but then you have to edit your script in order to turn them on or off.. ;)
#4
ShowRoom (pawn) / Extra config options!
February 17, 2010, 06:00:43 PM
Heya, here i am with my first release!
It is a quite simple script, but hey atleast it's something.  :-*

What is it?
This script creates a extra file called config.ini in wich are a lot more options for you that you can change without having to touch pawno!

Download & Installation
You need to download the dini and dutils includes (credits to Dracoblue!) and put these in your pawn/includes folder.
Then you put this code at OnGameModeInit()

         if(dini_Exists("config.ini"))
{
  SetGameModeText(dini_Get("config.ini", "name"));
ShowPlayerMarkers(dini_Bool("config.ini", "playermarkers"));
SetWorldTime(dini_Int("config.ini", "time"));
SetGravity(dini_Int("config.ini", "gravity"));
SetGamespeed(dini_Int("config.ini", "gamespeed"));
SetWaterLevel(dini_Float("config.ini", "waterlevel"));
PerfectHandling(dini_Bool("config.ini", "perfecthandling"));
Flyingcars(dini_Bool("config.ini", "flycars"));
Taxiboostjump(dini_Bool("config.ini", "taxijump"));

}
else{
dini_Create("config.ini");
print("config.ini created");
dini_Set("config.ini", "name", "changeme");
SetGameModeText("changeme");
dini_BoolSet("config.ini", "playermarkers", 1);
ShowPlayerMarkers(1);
dini_IntSet("config.ini", "time", 12);
SetWorldTime(12);
dini_IntSet("config.ini", "gravity", 100);
SetGravity(100);
dini_IntSet("config.ini", "gamespeed", 100);
SetGamespeed(100);
dini_FloatSet("config.ini", "waterlevel", 6.0);
SetWaterLevel(6.0);
dini_BoolSet("config.ini", "perfecthandling", 0);
PerfectHandling(0);
dini_BoolSet("config.ini", "flycars", 0);
Flyingcars(0);
dini_BoolSet("config.ini", "taxijump", 0);
Taxiboostjump(0);
}

And then you're done!

Usage
All you have to do is run your server and you're done!
Altough you most likely want to change some things in the config, for the changes to change effect you need to restart your server.

Hope ya like it! ;)
#5
mIRC/pawn Scripting / Re: [Pawn] Can't move when spawned?
February 17, 2010, 05:36:06 PM
I started with the default mode now, but i already got a problem waiting for you!  :-[

I have a command that is supposed to work like !v [vehicleid] and then it spawn the vehicle. But it doesn't work...


public OnPlayerText(playerid, cmdtext[])
{
new cmd[256], idx, tmp[256];
cmd = strtok(cmdtext, idx);

if(strcmp(cmd, "!v", true) == 0)
{
    new carid, car;
    tmp = strtok(cmdtext, idx);
    carid = strval(tmp);
    if(strlen(carid) == 0) return SendClientMessage(playerid, COLOR_RED, "USAGE: !v [vehicleid]");
    new Float:X, Float:Y, Float:Z, Float:A;
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, A);
    car = CreateVehicle(carid, X, Y, Z, A, 1, 1, 0);
    PutPlayerInVehicle(playerid, car);
    SendClientMessage(playerid, 0xFFFFFFFF, "A car has spawned for you!");
    return 0;
}
return 1;
}


Man, i'd never tought making a VC:MP server was hard for someone who can make a SA:MP RP  :-X
#6
General Discussion / Re: Suggestions for Version 0.4
February 17, 2010, 03:51:53 PM
Ok, here is my big idea:
instead of adding functions i think we are better of with you removing some.
Sounds wierd? let me explain it.
There are some things that irritate me, and probally others too..
Like the default /kill and /me commands, and that all custom commands are prefixed with /c.
The /kill and /me commands should be removed because they are very easy to script and because they are standard we can't change them now.
Ofcourse the /c prefix should also be removed because well, that's just silly.

And another one: the drowned and died messages.
I think they should be removed too, not everyone wants them or want them in this color. Like on a RP server this could cause much metagaming.

One more: the "I don't know that command" message.
Well this is just like the other problems i stated here, it is easy to script and now you can't change it wich is very irritating...

I hope you guys can do something with this ;)
#7
mIRC/pawn Scripting / Re: [Pawn] Can't move when spawned?
February 17, 2010, 02:47:22 PM
the wierd thing is that i only get it on my own server...

So now i removed the toggle and it still didn't move.
Then i looked at other scripts and saw that they had this code:

public OnPlayerConnect(playerid)
{
   SetWaterLevel(6.0);
SetGamespeed(100);
SetGravity(100);
return 1;
}


But when i add this to my server my character just starts jumping into one direction and i still can't control him..

Any suggestions?
#8
mIRC/pawn Scripting / [Pawn] Can't move when spawned?
February 17, 2010, 02:32:51 PM
Hey all, i got some wierd problems with my server...
(i downloaded the package yesterday from vicecitymultiplayer.com, so i run the newest & pawn-using one)

When i spawn i can only move my camera and rotate, i can't walk or move forward in any way...

I think this code will do for now:


public OnPlayerSpawn(playerid,classid,teamid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}


Did i forget something?
#9
Support / Re: When i join a server singleplayer starts?
February 15, 2010, 05:33:33 PM
I reinstalled it and it works now :)
Thanks for the help all!
#10
mIRC/pawn Scripting / Re: Wich is the best script?
February 14, 2010, 07:30:47 PM
The best one isn't in this list.
Because the best one is a well-worked out and original gamemode.. ;)
Really, we don't need 30 servers that are exactly the same, originallity is key to a good server!
#11
Support / Re: When i join a server singleplayer starts?
February 14, 2010, 03:36:11 PM
I do have the SA Hud mod, but i lost the original dll...
can you upload your d3d8.dll?

edit: i removed the dll and now it works!
but now in the chat is says CRC32 checksum failed: '/data/default.ide/'
is that because i have mods installed?
#12
Support / When i join a server singleplayer starts?
February 14, 2010, 10:59:55 AM
Hey there,

I got a little problem, when i join a server singleplayer starts.
I have the 1.0 exe, and i installed vc-mp in "D:/Program Files/Rockstar Games/GTA Vice City/" that's where my normal VC is installed also.

I have no idea what to do now, can anyone here help me?