Suggestions for 0.3.8

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
Reply

Client side scripting?
Reply

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.
Reply

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
Reply

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

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.
Reply

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

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

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

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

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

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?
Reply

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

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.
Reply

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

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

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

PHP код:
IsPlayerUsingCustomSkin(playerid); 
Reply

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

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

Reply

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...
Reply


Forum Jump:


Users browsing this thread: 13 Guest(s)