Suggestions Thread
#21

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
native GetVehicleAngularVelocity( vehicleid, &Float: X, &Float: Y, &Float: Z ); // We have set, now we need get.
Calculate difference euler angles from previous onplayerupdate angles from getvehiclequaternionrot, the difference is your angular velocity (omega).

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
native IsVehicleOccupied( vehicleid ); // Should be a native IMHO. Creating two loops; vehicles and players seems insufficient.
A vehicle can have multiple passengers and multiple drivers (while glitches happen) so this is a kinda grey area. my math plugin has functions for that tho, maybe you find some use for it and benchmark if it's faster than pawn versions of that.

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
native GetTotalVehiclesAroundPosition( playerid, &count, Float: Radius = 30.0 ); // Very, very useful.
now we are getting really silly?

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
WEAPON_STATE_FIRING - For GetPlayerWeaponState
Detect animation, keypresses, onplayergivedamage and onplayertakedamage with ammo change and you can get to do VERY reliable ammo frozen hack detection.

Quote:
Originally Posted by RaZVaN ^ xD
Посмотреть сообщение
Callbacks to handle money of casinos, or disable that games.
You CAN do that already, disable enexes and use scripted ones without games.

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
- Allow colours past the 256th character in textdraws.
- TakePlayerScreenshot(playerid) - Save in scriptfiles (Server Sided Function).
Textdraws limit is a specific one, if you need that long textdraw you are doing something wrong.

Screenshots? what for again?
Reply
#22

Quote:
Originally Posted by JernejL
Посмотреть сообщение
You CAN do that already, disable enexes and use scripted ones without games.
There are still workers in casinos, so you can still play games.
Reply
#23

Quote:
Originally Posted by Vince
Посмотреть сообщение
No. More DirectX stuff will completely destroy the feel of the game. This is still a mod for GTA SA, not a standalone game.
LOL? Absurd! DirectX is just a renderer, there are already complete 3rd party libraries for handling GUI(e.g. CEGUI, etc.). btw. you could argue that way that the dialogs are also destroying "the feel of the game"... You are saying non-sense...
EDIT: Also emulating GUI with TextDraws is not funny...
Reply
#24

pawn Код:
native GetVehiclePlayerInSeat( vehicleid, seatid ); //returns the player in that seat
Reply
#25

Quote:
Originally Posted by Sergei
Посмотреть сообщение
There are still workers in casinos, so you can still play games.
You weren't listening were you? if you disable enexes there's no workers inside, it's a function that has been there since 0.2a or so.
Reply
#26

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
pawn Код:
native GetVehiclePlayerInSeat( vehicleid, seatid ); //returns the player in that seat
There is already that function

https://sampwiki.blast.hk/wiki/GetPlayerVehicleSeat
Reply
#27

Quote:
Originally Posted by JoBullet
Посмотреть сообщение
EDIT: Also emulating GUI with TextDraws is not funny...
I disagree.

[ame]http://www.youtube.com/watch?v=PI-K13IpUgw[/ame]

And that was just a early version, i have much more complex stuff in-place now, you are just lazy.
Reply
#28

pawn Code:
native DisableVehicleMarkers()
It would be awesome.
Reply
#29

Quote:
Originally Posted by Lightning[SV]
View Post
pawn Code:
native DisableVehicleMarkers()
Need it!

pawn Code:
native SetOriginalObjectsDrawDistance(Float:DrawDistance); // Change default objects draw distance for all players
Reply
#30

Quote:
Originally Posted by Y_Less
View Post
I'll give you a hint (which generally applies to all requests). If you can script it already, it probably won't be added (especially if there's a version already released publicly, because then there is ZERO cost to you using it and NOT ZERO cost to it being redone in the server). If you want to request things, bear this in mind and stick to requesting things you can't already do - they won't be just ignored out of hand.
Try to give acceptable suggestions, we want to help Kalcor with good suggestions, not with things we already know he won't add. Post only the most acceptable suggestions, not every stupidity.
Reply
#31

pawn Code:
SetPlayerDialogPos(playerid, dialogid, Float:X, Float:Y);
ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[], Float:X, Float:Y)
+ Tick boxes and scroll bars in dialogs. Pwease SA:MP Team!!
Reply
#32

Add playback of multiple audio streams.
pawn Code:
native PlayAudioStreamForPlayer(playerid, streamid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0)
native StopAudioStreamForPlayer(playerid, streamid)
native StopAllAudioStreamsForPlayer(playerid)
Sorry for bad English
Reply
#33

Quote:
Originally Posted by Sr_Piky
View Post
1- Add IsPlayerStreamingAudio or something like this.
In addition to PlayAudioStreamForPlayer(playerid, url[], Float: posX = 0.0, Float: posY = 0.0, Float: posZ = 0.0, Float: distance = 50.0, usepos = 0)

AttachPlayerAudioStreamToVehicle(playerid, vehicleid)
AttachPlayerAudioStreamToPlayer(playerid, toplayerid)
AttachPlayerAudioStreamToObject(playerid, objectid)
AttachPlayerAudioStreamToPlayerObject(playerid, objectid)

IsPlayerStreamingAudio(playerid)

I guess steams need to be recalculated ever very often anyways (due to when you move away form the source), so i guess it can also be attached (as it just requires a moving coordinate); If the object/player/vehicle is not streamed, do not hear the music.
Reply
#34

SA-MP is pretty impressive nowadays. I can't really think of many more suggestions to improve it, but one useful thing it does lack that a lot of big servers would probably appreciate is per-player pickup functionality.
Reply
#35

PHP Code:
SetPlayerGravity(playeridFloat:gravity); 
GetPlayerGravity(playerid, &Float:gravity); 
RemovePlayerWeapon(playeridslot);// similar ResetPlayerWeapons  
SetPlayerStamina(playeridFloatstamina); 
GetPlayerStamina(playerid, &Floatstamina); 
callback OnVehicleTakeDamage(vehicleidissueridFloat:amountweaponid
Reply
#36

Inbuilt client sided plugins in the client samp which can be read by server side amx file for custom key mapping, that is to be able to read keyboard keys other then default GTA SA controls.
Reply
#37

pawn Code:
native SetPlayerOxigen(playerid, Float:oxigen);
native GetPlayerOxigen(playerid, &Float:oxigen);
If it's possible controll user statistic like that:

or / and progress bar


Change all in game parameters.

And better we want be able to create custom bars and panels!
Reply
#38

Quote:
Originally Posted by White_116
View Post
pawn Code:
RemovePlayerWeapon(playerid, slot);// similar ResetPlayerWeapons
GivePlayerWeapon with ammo 0

Quote:
Originally Posted by White_116
View Post
pawn Code:
callback OnVehicleTakeDamage(vehicleid, issuerid, Float:amount, weaponid)
Yeah!!! VERY NEED!!! Agree!!!
Reply
#39

pawn Code:
native DisableFoodMachines();
// or
native DisableFoodMachinesForPlayer(playerid);
Disable all food machines (soda/food).

The machines object can be removed using RemoveBuilding, but i can drink yet.
Reply
#40

some interesting functions
pawn Code:
native GetTextDrawAlpha(text: id); // it shall return a value from 0.0 to 1.0
native SetTextDrawAlpha(text:id, Float: alpha); // it shall set the textdraw alpha.
native GetPlayerTextDrawAlpha(playertext: id); // it shall return a value from 0.0 to 1.0
native SetPlayerTextDrawAlpha(playertext:id, Float: alpha); // it shall set the textdraw alpha.
and was well, the possiblitie to work with client side, which would give us the possiblitie of doing alot of gui's, menus, which could maximize our game play over a sa-mp server.
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)