• Welcome to Vice City Multiplayer.
 

Suggestions for Version 0.4

Started by matthiasvegh, July 25, 2007, 02:14:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

creepers

#255
Quote from: Boss on January 22, 2010, 10:06:36 AM
Quote from: creepers on January 22, 2010, 09:28:50 AM
for snipers and RPGs, incase a cheater spawns an RPG and spam everyone with rockets, you can disable the aim button
What's wrong with either setting their damage to 0, removing all of the players weapons once he selects these or just simply bannig the player once he switches to them?
theres a setting for weapon damage?
you have a point on the instant ban thing. but when some innocent player gets it accidentally......

but skip that you can just ban the person who killed someone with an RPG or sniper if its needed.

i has more suggestionzzzzz:
object/vehicle streaming? not possible i think
use camera for no-HUD pictures
NPC!
use of animationz on spawn area. also music
everythin else on SAMP..... which is possible for VCMP

btw for the server files..... can some scripters make basic gamemodes for new people who want to host a server?
December 18, 2007
January 6, 2008

Boss

Quote from: creepers on January 22, 2010, 11:01:14 AM
theres a setting for weapon damage?
SetWeaponDamage(id,damage);

Quote from: creepers on January 22, 2010, 11:01:14 AM
you have a point on the instant ban thing. but when some innocent player gets it accidentally......
I dunno how cheats work, but if they switch to the newly added weapon then there's no way someone can get these as a pickup (as long as you don't place the pickup yourself).

Quote from: creepers on January 22, 2010, 11:01:14 AM
but skip that you can just ban the person who killed someone with an RPG or sniper if its needed.
You've got the point. My way prevents them from scoring one extra frag though. :x

Quote from: creepers on January 22, 2010, 11:01:14 AM
object/vehicle streaming? not possible i think
I think you can use CreateVehicle for vehicles. And nothing for objects.

Quote from: creepers on January 22, 2010, 11:01:14 AM
use camera for no-HUD pictures
You can actually do it with even your fists. :o

Quote from: creepers on January 22, 2010, 11:01:14 AM
NPC!
Quote from: creepers on January 22, 2010, 11:01:14 AM
use of animationz on spawn area. also music
Jeez, are we close to 1.0 or something?

Quote from: creepers on January 22, 2010, 11:01:14 AM
everythin else on SAMP..... which is possible for VCMP
Yeah, and let's then rename VCMP into SAMP:VC. lol

Quote from: creepers on January 22, 2010, 11:01:14 AM
btw for the server files..... can some scripters make basic gamemodes for new people who want to host a server?
There is a basic mode located at "gamemodes/mode.amx".

creepers

i can't say a thing.......:x

nice talkin with u lol
ill be remaking my server with the new functions. thx
December 18, 2007
January 6, 2008

[AoD]NC

Just maybe something that could be NOW useful and probably wont take much time for coding :].

SetGravity for a PLAYER
SetGamespeed for a PLAYER

Now its only possible to change it for everyone but i want only for 1 player. If someone played MTA:SA on servers like BombDaBase, then if a player kill you, the game speed is slower but only for the killed player and it looks simply cool rofl. :D

Aaron

It would be nice for an option to disable the teamkill message, I hate having every players nick color white for a free for all server..

Please :)

goudewup

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

Boss

Quote from: goudewup on February 17, 2010, 02:51:53 PM
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.
That was done because it is assumed that scripters would be unable to reproduce them, therefore resulting in a reduced servers' functionality. I agree, nevertheless, that it is sufficient to just add them in default mode, since most of the "newb scripts" are based upon it.

Quote from: goudewup on February 17, 2010, 02:51:53 PM
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...
You can prevent this message from being displayed by adding "return 1" in the end of your OnPlayerCommandText. Therefore you can add a custom one directly before the return.

[AoD]NC

Quote from: Boss on February 17, 2010, 03:00:02 PM
Fixed in 0.4.

rofl

My next suggestion: remove the "car bonus things" like for entering ambulance u get +20 hp or smthing like that :/.

I have somewhere seen the memory code for this at gtaforums but cant find it now :p.

Cypher

Quote from: [AoD]NC on February 17, 2010, 03:06:22 PM
Quote from: Boss on February 17, 2010, 03:00:02 PM
Fixed in 0.4.

rofl

My next suggestion: remove the "car bonus things" like for entering ambulance u get +20 hp or smthing like that :/.

I have somewhere seen the memory code for this at gtaforums but cant find it now :p.
Nah is a bad idea.  :(

[LCK]Stoku

Quote from: Cypher on February 17, 2010, 04:25:18 PM
Quote from: [AoD]NC on February 17, 2010, 03:06:22 PM
Quote from: Boss on February 17, 2010, 03:00:02 PM
Fixed in 0.4.

rofl

My next suggestion: remove the "car bonus things" like for entering ambulance u get +20 hp or smthing like that :/.

I have somewhere seen the memory code for this at gtaforums but cant find it now :p.
Nah is a bad idea.  :(
It's a great idea. I've found ASM stuff to disable it. If someone doesnt want armour and wants SWAT vehicle then what? Or gamemode without shotguns, but with COP cars? It can be easly added with scripting stuff.

Ettans

You can also do it server-side. If the player enters the Enforcer, get his/her armour level. When he/she exits the Enforcer, check if it's bigger than before, if yes, remove it. You can use this to remove the shotgun and also extra health.

[LCK]Stoku

#266
Quote from: Ettans on February 20, 2010, 10:17:13 PM
You can also do it server-side. If the player enters the Enforcer, get his/her armour level. When he/she exits the Enforcer, check if it's bigger than before, if yes, remove it. You can use this to remove the shotgun and also extra health.
Wouldn't it be easier to disable it in client with really short hack? IMO disabling it with scripting is pointless. You can add shotgun/monies from taxi/armour/health with less lines of code than disabling it.

//Edit:
Boss: Theres onPlayerHealthChange callback in the squirrel server.

[AoD]NC

Quote from: [LCK]Stoku on February 20, 2010, 10:43:58 PM
Wouldn't it be easier to disable it in client with really short hack? IMO disabling it with scripting is pointless. You can add shotgun/monies from taxi/armour/health with less lines of code than disabling it.

+1

@Ettans
Ok and how do you see the HP bonus remove via scripting? Lets say you will use the scripting callback health change and if new hp > old hp... Then okay you enter the ambulance and the bonus is removed. But what about !heal command or heal pickups? Then the hp bonus will be removed too, but e.g. i will that players can be healed via cmd or pickup...

And what about Shotgun bonus from police? How do you want to remove the shotgun? Its not possible in vcmp u can only remove ALL weps, what i DONT want.

Boss

Quote from: Ettans on February 20, 2010, 10:17:13 PM
You can use this to remove the shotgun
Impossible.

Quote from: [AoD]NC on February 20, 2010, 11:37:57 PM
Ok and how do you see the HP bonus remove via scripting? Lets say you will use the scripting callback health change and if new hp > old hp... Then okay you enter the ambulance and the bonus is removed. But what about !heal command or heal pickups? Then the hp bonus will be removed too, but e.g. i will that players can be healed via cmd or pickup...
1) There is no "OnHealthChange" callback.
2) There are OnVehicleEnter and OnVehicleExit callbacks.
3) You check vehicleid in both. If the ID is ambulance, you store player's HP in 1st and set it in 2nd, ensuring that player leaves the ambulance with as many HP as he entered with. Same for enforcer.
4) This method restores player's health/armor if he was damaged while in the vehicle, so it's still rather lame.

[Saint]

#269
for pawn Scripting

add Scripting Callbacks


  • OnPlayerEnterCheckpoint
  • OnPlayerEnterRaceCheckpoint
  • OnPlayerInteriorChange
  • OnPlayerKeyStateChange
  • OnPlayerLeaveCheckpoint
  • OnPlayerLeaveRaceCheckpoint
  • OnPlayerObjectMoved
  • OnPlayerRequestSpawn
  • OnPlayerStateChange

Scripting Functions

AttachObjectToPlayer - Attach an object to a player
CreateObject - Create an object
DestroyObject - Destroy an object
GetObjectPos - Get an object's position
GetObjectRot - Get an object's rotation
IsValidObject - Check if an object exists
MoveObject - Move an object
SetObjectPos - Set an object's position
SetObjectRot - Set an object's rotation
StopObject - Stop an object (moving)

CreatePlayerObject - Create an player-object
DestroyPlayerObject - Destroy an object
GetPlayerObjectPos - Get an object's position
GetPlayerObjectRot - Get an object's rotation
IsValidPlayerObject - Check if an object exists
MovePlayerObject - Move an object
SetPlayerObjectPos - Set an object's position
SetPlayerObjectRot - Set an object's rotation
StopPlayerObject - Stop an object (moving)

TextDrawAlignment - Set a textdraw's alignment
TextDrawBackgroundColor - Set the background color of a textdraw
TextDrawBoxColor - Set the color of a textdraw's box
TextDrawColor - Set the color of a textdraw
TextDrawCreate - Create a textdraw
TextDrawDestroy - Destroy a textdraw
TextDrawFont - Set a textdraw's font
TextDrawHideForAll - Hide a textdraw for all players
TextDrawHideForPlayer - Hide a textdraw for a specific player
TextDrawLetterSize - Set the size of a textdraw's text
TextDrawSetOutline - Set the outline thickness of a textdraw
TextDrawSetProportional - Set a textdraw's text proportion
TextDrawSetShadow - Toggle a shadow behind a textdraw's text
TextDrawSetString - Set the text in a textdraw
TextDrawShowForAll - Show a textdraw for all players
TextDrawShowForPlayer - Show a textdraw for a certain player
TextDrawTextSize - Set the size of a textdraw
TextDrawUseBox - Toggle whether a textdraw should have a box or not

DisablePlayerCheckpoint - Disable a player's checkpoint
IsPlayerInCheckpoint - Check if a player is in a checkpoint
SetPlayerCheckpoint - Set a player's checkpoint

DisablePlayerRaceCheckpoint - Disable a player's race checkpoint
IsPlayerInRaceCheckpoint - Check if a player is in a race checkpoint
SetPlayerRaceCheckpoint - Set a player's race checkpoint

CreatePickup(model, type, Float:X, Float:Y, Float:Z);
DestroyPickup(pickup);

pickup tupe's http://wiki.sa-mp.com/wiki/PickupTypes

MAX_PLAYERS for online 200  :-[


88.83.197.243:7778