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)

Sergei 22/11/2009 08:39 PM

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

SetPlayerAttack(playerid);
Basically the same as when player presses fire button (attacks with weapon in active weapon slot), just that we can force player to do that scriptwise.

Code:

SetPlayerWeapon(playeird,weaponid);
Basically the same as SetPlayerAmmo (I hope it gets fixed) just that you set specific weapon. Weapon only changes if there is already one in required weapon slot, otherwise it would only give in that slot with 0 ammo.

Code:

SetPlayerCloseGame(playerid);
Closes player's game like he/she would have normally exited it.

Code:

Delete (/q)uit as clientside command
With a new native as described above we would be able to create a custom quit command serverside. For example I would show up a dialog when using '/q' which would ask you if you really want to quit.

Code:

SendDeathMessageForPlayer(playerid, killer, victim, reason);
Same as SendDeathMessage, just that it only shows death message for specific player.

Code:

SetNameTagDrawDistanceForPlayer(playerid, Float:distance);
Being able to set a distance that nametags are shown for specific player.

Code:

SetDeathReasonCount(reasons);
Sets how many death reason can be displayed (currently 5, it should allow us to choose value between 1 and 10)

Mikep. 22/11/2009 10:35 PM

Re: Suggestions for future SA:MP versions
 
SPECTATE_MODE_CINEMATIC (spec with cinematic view)
SPECTATE_MODE_TEXTDRAW (hide textdraws)
SPECTATE_MODE_RADAR (show radar)

ToggleScoreboard(toggle);
ToggleScoreboardForPlayer(playerid, toggle);

Zeromanster 23/11/2009 12:58 AM

Re: Suggestions for future SA:MP versions
 
Quote:

Originally Posted by Mikep.
SPECTATE_MODE_CINEMATIC (spec with cinematic view)
SPECTATE_MODE_TEXTDRAW (hide textdraws)
SPECTATE_MODE_RADAR (show radar)

ToggleScoreboard(toggle);
ToggleScoreboardForPlayer(playerid, toggle);

Great suggestions. :D

This would be nice to add:

ToggleChatbox(toggle);
ToggleChatboxForPlayer(playerid, toggle);

And it would be nice, if we could check for keys UP,DOWN,LEFT,RIGHT without a need for a timer. ;)

Remi-X 23/11/2009 04:41 AM

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

Originally Posted by Mikep.
ToggleScoreboard(toggle);
ToggleScoreboardForPlayer(playerid, toggle);

Agreed with that.
AddScoreBoardMenuRow(rowid, name[]);
Will add a row to the menu, for example you can make it possible to show the playerkills into that row.

Mikep. 23/11/2009 07:13 AM

Re: Suggestions For Future Sa:MP Versions.
 
I think the scoreboard should just show the ID and name of a player, then you can add custom columns.

That would be nice.

Also, just to bring it back up because it's a good suggestion:

Tickbox dialog type
Radio button dialog type
TAB dialog type (like a button that's either push in or out, and stays like that)

(improvments on a past suggestion by someone)

RemovePlayerClass(classid);
SetClassInfo(classid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);


SetPlayerGravity (I really expected this in 0.3..)
CreatePlayerExplosion
UsePlayerPedAnimsForPlayer

DisableInteriorEnterExits(type, enable);

EXIT_TYPE_CLUCKINBELL
EXIT_TYPE_BURGERSHOT
EXIT_TYPE_AMMUNATION
EXIT_TYPE_CASINO
etc.

Zeromanster 23/11/2009 09:30 AM

Re: Suggestions For Future Sa:MP Versions.
 
This would be nice:

ToggleCasinoPlayable(toggle);

EDIT: And this:

SetPlayerCheckpoint(playerid,Float:x,Float:y,Float :z,Float:size,marker);

So we can choose do we want a red marker or not. :D

Dreftas 23/11/2009 01:41 PM

Re: Suggestions For Future Sa:MP Versions.
 
OnPlayerStunt(playerid, stuntreward) - so we can give stunt bonus in servers which has money anticheats.
OnPlayerCasino(playerid, casinorward) - same like above, but just for casinos.

Remi-X 23/11/2009 01:47 PM

Re: Suggestions For Future Sa:MP Versions.
 
TogglePlayerSlowmotionCamera(playerid);

Will spectate a player like the cameraview of a unique stunt :P

Blantas 23/11/2009 01:56 PM

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

Originally Posted by Dreft
OnPlayerStunt(playerid, stuntreward) - so we can give stunt bonus in servers which has money anticheats.

OnPlayerStunt(playerid, stuntreward, stunt type, distance, angle, height, flips, time) would be better. :)
Anyway, nice idea Dreft. ;)


P.S. I own u :>

Dreftas 23/11/2009 03:16 PM

Re: Suggestions For Future Sa:MP Versions.
 
Something like Set3DTextLabelSize() so we can make big 3D text labels :)


All times are GMT. The time now is 09:59 PM.

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