SA-MP Forums Archive
Suggestions for 0.3.8 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: Suggestions for 0.3.8 (/showthread.php?tid=644127)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


Re: Suggestions for 0.3.8 - adri1 - 30.12.2017

Add a remove buttom for EditObject


OnPlayerEditObject
0 - EDIT_RESPONSE_CANCEL // player cancelled (ESC)
1 - EDIT_RESPONSE_FINAL // player clicked on save
2 - EDIT_RESPONSE_UPDATE // player moved the object (edition did not stop at all)
3 - EDIT_RESPONSE_REMOVE


Re: Suggestions for 0.3.8 - Yashas - 02.01.2018

Client side scripting?


Re: Suggestions for 0.3.8 - Dignity - 02.01.2018

Quote:
Originally Posted by adri1
Посмотреть сообщение
Add a remove buttom for EditObject


OnPlayerEditObject
0 - EDIT_RESPONSE_CANCEL // player cancelled (ESC)
1 - EDIT_RESPONSE_FINAL // player clicked on save
2 - EDIT_RESPONSE_UPDATE // player moved the object (edition did not stop at all)
3 - EDIT_RESPONSE_REMOVE
EDIT_RESPONSE_CANCEL is the remove button for most mapping editors, including mine. This isn't really needed because of that.


Re: Suggestions for 0.3.8 - adri1 - 02.01.2018

Quote:
Originally Posted by Dignity
Посмотреть сообщение
EDIT_RESPONSE_CANCEL is the remove button for most mapping editors, including mine. This isn't really needed because of that.
I use it for put the object to the old position


Re: Suggestions for 0.3.8 - Dignity - 02.01.2018

Quote:
Originally Posted by adri1
Посмотреть сообщение
I use it for put the object to the old position
In that sense, it would be useful indeed.


Re: Suggestions for 0.3.8 - RogerCosta - 02.01.2018

If not kalcor release "EDIT_RESPONSE_REMOVE", use EDIT_RESPONSE_CANCEL, and show dialog asking if you want remove object or reset to old position.


Re: Suggestions for 0.3.8 - Willson - 02.01.2018

Weapons with 0 ammo remain in the player, just like on SinglePlayer.


Re: Suggestions for 0.3.8 - rfr - 02.01.2018

Quote:
Originally Posted by Willson
Посмотреть сообщение
Weapons with 0 ammo remain in the player, just like on SinglePlayer.
would be useful.


Re: Suggestions for 0.3.8 - 2Col - 02.01.2018

Ladder climbing animation. Dozer's ladder climbing animation is fine but it needs some tweaking. It rotates player at the start of animation.


Re: Suggestions for 0.3.8 - Willson - 03.01.2018

Quote:
Originally Posted by rfr
Посмотреть сообщение
would be useful.
yep, for roleplay servers.



Re: Suggestions for 0.3.8 - adri1 - 03.01.2018

Disable default GTA SA music in interiors, It causes crashes when use PlayAudioStreamForPlayer


Re: Suggestions for 0.3.8 - RogueDrifter - 03.01.2018

Quote:
Originally Posted by adri1
Посмотреть сообщение
Disable default GTA SA music in interiors, It causes crashes when use PlayAudioStreamForPlayer
Wtf it does? does it crash player or server?


Re: Suggestions for 0.3.8 - Bolex_ - 03.01.2018

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
Wtf it does? does it crash player or server?
Player/s.


Re: Suggestions for 0.3.8 - Logic_ - 03.01.2018

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
Wtf it does? does it crash player or server?
Of course the player, since the server has nothing to do with the GTA SA.


Re: Suggestions for 0.3.8 - RogueDrifter - 03.01.2018

Oh i had no clue thanks guys +rep... edit: in 24 hours.


Re: Suggestions for 0.3.8 - adri1 - 03.01.2018

Quote:
Originally Posted by Willson
Посмотреть сообщение
Weapons with 0 ammo remain in the player, just like on SinglePlayer.
https://sampwiki.blast.hk/wiki/SetPlayerAmmo


Re: Suggestions for 0.3.8 - Misiek. - 05.01.2018

Disable CLEO - probably easy to do - and all true players would be happy. There are more disadventages than adventages.


Re: Suggestions for 0.3.8 - RogueDrifter - 06.01.2018

PHP код:
IsPlayerUsingCustomSkin(playerid); 



Re: Suggestions for 0.3.8 - RogerCosta - 06.01.2018

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
PHP код:
IsPlayerUsingCustomSkin(playerid); 
Kalcor
Quote:

SA-MP 0.3.8 RC4 Client/Server update
- Adds GetPlayerCustomSkin() function.




Re: Suggestions for 0.3.8 - RogueDrifter - 06.01.2018

Okay i got it, it does return 0 if no skin is used, cmd used in test:
PHP код:
CMD:getskin(playerid,params[])
{
    new 
pID,zstring[5];
    if (
sscanf(params"r"pID)) return SendClientMessage(playeridCOLOR_GRAD1"INFO: /getskin [PlayerID/Name]");
    if (
pID == INVALID_PLAYER_ID) return SendClientMessage(playeridCOLOR_GRAD1"Player not found.");
    
format(zstring,sizeof(zstring),"%d",GetPlayerCustomSkin(pID));
    
SendClientMessage(playerid,-1,zstring);
    return 
1;

so i came to the conclusion that this should work thanks to kalcor for this of course wouldn't have been possible without GetPlayerCustomSkin because GetPlayerSkin returns the base id.
PHP код:
stock IsPlayerUsingCustomSkin(playerid)
{
    if(
GetPlayerCustomSkin(playerid) <=0) return 0;//<= just for sanity checks but ==0 also works.
    
else return 1;

EDIT: A quick suggestion please please! give us the ability to hide the spam of artwork:crc in the server logs my logs reached 6 mgbs on the offline server...