SA-MP Forums Archive
0.3e Suggestions - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 0.3e Suggestions (/showthread.php?tid=323377)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


Re: 0.3e Suggestions - Rapgangsta - 07.03.2012

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


Re: 0.3e Suggestions - Riddick94 - 07.03.2012

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


Re: 0.3e Suggestions - sent161 - 07.03.2012

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


Re: 0.3e Suggestions - NoGravity - 07.03.2012

All of those suggestions will not be considered anyway...


Re: 0.3e Suggestions - StreetGT - 07.03.2012

GetPlayerHardwareID


Re: 0.3e Suggestions - ikkentim - 07.03.2012

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


Re: 0.3e Suggestions - new121 - 07.03.2012

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


Re: 0.3e Suggestions - sampreader - 07.03.2012

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


Re: 0.3e Suggestions - seanny - 08.03.2012

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


Re: 0.3e Suggestions - SuperViper - 08.03.2012

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


Re: 0.3e Suggestions - Joe Staff - 08.03.2012

Damage dealt to objects...

OnPlayerDamageObject(playerid,objectid,damage)


Re: 0.3e Suggestions - LuisGraph - 08.03.2012

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

Good nite.


Re: 0.3e Suggestions - jamesbond007 - 08.03.2012

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

(head,legs,chest,back,hands)..etc


Re: 0.3e Suggestions - Niko_boy - 08.03.2012

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


Re: 0.3e Suggestions - Abbott - 08.03.2012

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.


Re: 0.3e Suggestions - new121 - 08.03.2012

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.


Re: [Suggestion] Tab list customization - Ballu Miaa - 08.03.2012

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.


Re: 0.3e Suggestions - Lorenc_ - 08.03.2012

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


Re: 0.3e Suggestions - MP2 - 08.03.2012

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.


Re: 0.3e Suggestions - Scott - 08.03.2012

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);