0.3e Suggestions
#21

Green-text of playaudiostreamforplayer default off or make it only stamps in userlogs.txt
Reply
#22

Quote:
Originally Posted by Madzior_
Посмотреть сообщение
pulblic OnPlayerAttackVehicle(playerid, vehicleid, Float:damage) and more like that.
https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate
Reply
#23

Enable / disable the server log and message
native ServerLog(bool: status);
or
native ServerLog(status);
status = 0 - no log; status = 1 - crash and e.tc ; status = 2 - full

Just add a stable and multi-threading working
Add a field for dialogs. By the principle of html forms:
Input name;
Input pass;
end etc
Reply
#24

All of those suggestions will not be considered anyway...
Reply
#25

GetPlayerHardwareID
Reply
#26

Quote:
Originally Posted by NoGravity
Посмотреть сообщение
All of those suggestions will not be considered anyway...
With negativity you don't get anywhere...


native SetLogFile(filename);
Nice for changing log files every now and then
Reply
#27

take out the exploit where you can jack from the passenger side and kill the person you jacked aka "ninja jack"


example

[ame]http://www.youtube.com/watch?v=sCAQbQeRLO4[/ame]

on a side note lol at that kids rage
Reply
#28

Make swimming the same speed regardless of fps (or any action/animation)
Sand/dust sometimes causes huge delay even with high performance specs
hide vehicle blips option
Reply
#29

It would be cool to attack Unoccupied vehicles without any special coding or any include.
Reply
#30

pawn Код:
SetDialogInput(playerid, input[]);
For DIALOG_STYLE_INPUT and DIALOG_STYLE_PASSWORD, sets the text in box.
Reply
#31

Damage dealt to objects...

OnPlayerDamageObject(playerid,objectid,damage)
Reply
#32

pawn Код:
native IsPlayerInWater(playerid)
To check whether a player is in the water, for example in the sea, and beaches.

Good nite.
Reply
#33

public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)

(head,legs,chest,back,hands)..etc
Reply
#34

Quote:
Originally Posted by LuisGraph
Посмотреть сообщение
pawn Код:
native IsPlayerInWater(playerid)
To check whether a player is in the water, for example in the sea, and beaches.

Good nite.
^ hmm
https://sampforum.blast.hk/showthread.php?pid=1705235#pid1705235
i think scriptable , but more professional style will be given by samp team :P
Reply
#35

Quote:
Originally Posted by new121
Посмотреть сообщение
take out the exploit where you can jack from the passenger side and kill the person you jacked aka "ninja jack"


example

http://www.youtube.com/watch?v=sCAQbQeRLO4

on a side note lol at that kids rage
That's a GTA bug, not a SA-MP one.
Reply
#36

Quote:
Originally Posted by Abbott
Посмотреть сообщение
That's a GTA bug, not a SA-MP one.
You can do that in singleplayer? I am sure there is a way the SA-MP team can make a fix for this.
Reply
#37

Quote:
Originally Posted by 2KY
View Post
I don't know about the rest of you, but a customized tab-list would make servers look a lot more organized in my opinion.

Being able to add groups to the tab-list (maybe with the ability to add hex-colours to them aswell, like dialogs & client messages?)

Functions could be like so, of course, you could rename/add/delete functions as you felt fit, I just think it'd be a nice suggestion for SA:MP '0.3e'

pawn Code:
native CreateTabGroup( name[] );
    new g_2KY = CreateTabGroup( "2KY" );
   
native SetTabGroupName ( groupid, name[] );
    SetTabGroupName( g_2KY, "2KY_Renamed" );
   
native SetTabGroupColour ( groupid, colour );
    SetTabGroupColour( g_2KY, 0xC70E11FF );
   
native SetPlayerTabGroup( playerid, groupid );
    SetPlayerTabGroup( playerid, g_2KY );
   
native DeletePlayerTabGroup( playerid, groupid );
    DeletePlayerTabGroup( playerid, g_2KY ); //This would 'kick' them out of the group 'g_2KY'
   
native GetPlayerTabGroup( playerid );
    GetPlayerTabGroup( playerid );
   
native ShowTabGroupForPlayer( playerid, groupid );
    ShowTabGroupForPlayer( playerid, g_2KY );
   
native HideTabGroupForPlayer( playerid, groupid );
    HideTabGroupForPlayer( playerid, g_2KY );
   
native DeleteTabGroup( groupid );
    DeleteTabGroup( g_2KY );
I wrote up a quick script on the TDM aspect using this;

pawn Code:
new
    p_ranTeam[MAX_PLAYERS] = -1;

public OnGameModeInit( )
{
    new
        GroupID[2]; //'0' and '1'
       
    GroupID[0] = CreateTabGroup( "{C70E11}Attackers" );
    GroupID[1] = CreateTabGroup( "{527D09}Defenders" );
    return true;
}

public OnGameModeExit( )
{
    DeleteTabGroup( GroupID[0] );
    DeleteTabGroup( GroupID[1] );
}

public OnPlayerConnect( playerid )
{
    p_ranTeam[playerid] = random(2);

    switch( p_ranTeam[ playerid ] )
    {
        case 0: {
            SendClientMessage( playerid, -1, "You have been randomly selected to be an Attacker!" );
            SetPlayerTabGroup( playerid, GroupID[0] );
        }
        case 1: {
            SendClientMessage( playerid, -1, "You have been randomly selected to be a Defender!" );
            SetPlayerTabGroup( playerid, GroupID[1] );
        }
    }
    return true;
}

public OnPlayerSpawn( playerid )
{
    switch( p_ranTeam[ playerid ] )
    {
        case 0: SetPlayerPos( playerid, 0.0, 0.0, 10.0 );
        case 1: SetPlayerPos( playerid, 20.0, 20.0, 10.0 );
    }
    return true;
}

public OnPlayerDisconnect( playerid, reason ) { return p_ranTeam[ playerid ] = -1; }
Also drew up a diagram to go with said script...



Opinions?
Wow Nice 2KY. I agree that will be awesome for every server.
Reply
#38

pawn Код:
public OnAudioStreamBegin( url[ ], queue )
public OnAudioStreamFinish( url[ ], queue )
public OnAudioStreamUpdate( url[ ], queue, Float: time )
Just those please!
Reply
#39

Being able to have groups in the scoreboard would be awesome.

Also, SelectPlayerObject(playerid) should be added. The majority of servers use streamers, so this function won't be used to it's full potential.
Reply
#40

Quote:
Originally Posted by MP2
Посмотреть сообщение
Being able to have groups in the scoreboard would be awesome.

Also, SelectPlayerObject(playerid) should be added. The majority of servers use streamers, so this function won't be used to it's full potential.
SelectObject() works with player objects

Код:
#define SELECT_OBJECT_GLOBAL_OBJECT	1
#define SELECT_OBJECT_PLAYER_OBJECT 2

forward OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ);
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)