SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   General (https://forum.sa-mp.com/forumdisplay.php?f=13)
-   -   Suggestions For Future Sa:MP Versions. (https://forum.sa-mp.com/showthread.php?t=102997)

PyroFox 18/10/2009 09:03 PM

Re: Suggestions For Future Sa:MP Versions.
 
SetVehicleNonSolid. Allows cars to drive through each other, handy for race/stunt servers.

Blantas 18/10/2009 09:32 PM

Re: Suggestions For Future Sa:MP Versions.
 
- FadePlayerCamera(playerid, type, color)
- RedirectPlayer(playerid, serverip[], port[], password[]);
- GetPlayerCursor(playerid, float:X, float:Y)
- SetPlayerCursor(playerid, float:X, float:Y)
- SetWaveHeight(float:height)
- SetWaterLevel(float:level)

:)

EDIT: + IsPlayerInWater(playerid)

beckzy 18/10/2009 09:46 PM

Re: Suggestions For Future Sa:MP Versions.
 
IsPlayerInWater would be great.

Quote:

Originally Posted by kaisersouse Reply #90 on: October 31, 2007, 08:53:03 am
Revisiting the IsPlayerInWater bit:

I thought about this on the ride home last night. Whenever you are in water enough to swim, the oxygen bar shows up in the health/armor area. Would it be fairly easy to detect when a player has this bar displayed (instead of relying on the animation itself)? If the bar is displayed, typically that means the player IS in a significant amount of water.


StrickenKid 19/10/2009 04:03 AM

Audio Streams Suggestion - 0.3
 
I was messing around with SAAT earlier and I was wondering about using the streams in game, now with the new PlayCrimeReportForPlayer if I'm right, that uses the crime reports from the streams, so if that is, it would be awesome to expand that so we can play any of the streams.

Function: PlayAudioStreamForPlayer
Parameters: (playerid, stream[], name[])

Function: StopPlayingAudioStreamForPlayer
Parameters: (playerid)

Example function:
Code:

PlayAudioStreamForPlayer(playerid, "BEATS", "intro");
and
Code:

StopPlayingAudioStreamForPlayer(playerid);
now that would play the second ogg vorbis file in "BEATS", and of course the names will need to be set....

With this, we would be able to play any sound from GTA:SA including location music, and radio, and cut-scene talking etc...
Just thought I'd mention that :)

Incognito 19/10/2009 07:53 AM

Re: Suggestions For Future Sa:MP Versions.
 
That can already be done with my audio client, though obviously the files from the archive will need to be extracted first before they can be played back (I suspect it is possible to play them from memory as well, but since SAAT only extracts and imports files in bulk, that was a little beyond the scope of what I was originally trying to accomplish).

Also, I doubt PlayCrimeReportForPlayer works like you described.

Sergei 19/10/2009 08:43 AM

Re: Suggestions For Future Sa:MP Versions.
 
I think that water is kinda state, so we should be able to detect it with GetPlayerState.

Gappy 19/10/2009 09:34 AM

Re: Suggestions For Future Sa:MP Versions.
 
Code:

DisableMenuRowForPlayer(playerid, Menu:menuid, row)
Would be nice, and also
Code:

EnableMenuRowForPlayer(playerid, Menu:menuid, row)

Patrik356b 19/10/2009 10:23 AM

Re: Suggestions For Future Sa:MP Versions.
 
It would be nice if we could unload the defualt objects

Also this would be nice:

AddWater(x_min, y_min, z_min); // adds a cube of water
RemoveWater(x_min, y_min, z_min); // removes a cube of water

Sergei 19/10/2009 10:27 AM

Re: Suggestions For Future Sa:MP Versions.
 
Cube of water ... only in our dreams lol.
SetWaterLevel(level) would be already awesome.

Mikep. 19/10/2009 11:31 AM

Re: Suggestions For Future Sa:MP Versions.
 
Ability to create the type of checkpoint with only 1 ring.
Ability to show a mapicon for a player wherever they are on the map.
OnPlayerEnterVehicle(playerid, vehicleid, seatid).
OnVehicleDeath(vehicleid, killerid, reason) DEATH_REASON_WATER DEATH_REASON_EXPLOSION etc.
OnPlayerClickPlayer CLICK_SOURCE_CHAT.
CreatePickup interior parameter.
Emmet, B-dup and Kendyl skins
SpawnPlayer(playerid, classid)
SetVehicleMovablePart(vehicleid, level) So for example level 0 for dumper truck down and x for up.
GetVehicleMovablePart(vehicleid, PARTNAME) So for example level 0 for dumper truck down and x for up.
MoveVehicleMovablePart(vehicleid, level)
OnObjectAffected(objectid, playerid) called when for example glass breaks
AffectObject(objectid, playerid)
SetPlayerGravity() and SetVehicleGravity()
Ability to highlight text in chat like in the type-box (and copy etc.)


All times are GMT. The time now is 01:07 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.