Suggestions Thread
#81

Quote:
Originally Posted by shadowdog
Посмотреть сообщение
Something that I think is really missing out.

TransferPlayer(playerid,IP);

Sends a player(playerid) to another server(IP)
Yeah, so you could make redirects servers like in CS. Great idea. There would be more redirects than normal servers.
Reply
#82

pawn Код:
native SetObjectToRotate(objectid, rotate:left/right);
This function will rotate a specific object to left or right, since the object will be destroyed.
Reply
#83

Quote:
Originally Posted by Edvin
Посмотреть сообщение
pawn Код:
native SetObjectToRotate(objectid, rotate:left/right);
This function will rotate a specific object to left or right, since the object will be destroyed.
Can be scripted using MoveObject
Reply
#84

Let us use gametext-keys in dialogs, please..

pawn Код:
~k~~PED_FIRE_WEAPON~
It can't be so hard, it has been done for SendClientMessage functions and GameTextForPlayer/TextDraws and also 3DText. What's wrong then to put them to Dialogs as well?
Reply
#85

Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
Yeah, so you could make redirects servers like in CS. Great idea. There would be more redirects than normal servers.
CS also had a lot of issues with "fake servers". The idea is doable but I'm sure most players would not want to be forcibly transferred.
Reply
#86

PHP код:
OnVehicleTakeDamage(vehicleiddamageidFloatamountweaponid
P.S: weaponid = INVALID_WEAPON_ID
Reply
#87

add an option to suppress client F4 key to force class selection.
and so all native class selection system. i think it may be very useful for users with custom skin systems
Reply
#88

Fix the "You are banned from this server" Issue.
Reply
#89

Let the server know All keys which the user pressed if we request.
example:
pawn Код:
ToggleServerReadKeys(bool); // it will allow the client to start sending the input data for the server
Public OnPlayerPressKey(char key); // it will return the key number which the user pressed.
Reply
#90

Make it possible to disable the joypad option in your server config? This would make it possible to script in no lagging shooting without giving people the option to use the aim bot.
Reply
#91

RemoveBuilding
similar to RemoveBuildingForPlayer but global
in OnGameModeInt.

Edit: why IsValidVehicle are not defined if are created and can native IsValidVehi....
Reply
#92

If someone try to join a server with another server/samp-version, the server or the client should show a message like:

Invalid SA-MP Version!
You need SA-MP 0.3x to join this server! (You're using 0.3e R2)
Reply
#93

forward OnVehicleTakeDamage(vehicleid, Float:amount, issuerid);
Reply
#94

pawn Код:
OnPlayerHoverTextDraw(playerid, Text:textid);
OnPlayerHoverPlayerTextDraw(playerid, PlayerText:playertextid);
Reply
#95

Quote:
Originally Posted by DarkZero
Посмотреть сообщение
If someone try to join a server with another server/samp-version, the server or the client should show a message like:

Invalid SA-MP Version!
You need SA-MP 0.3x to join this server! (You're using 0.3e R2)
https://sampwiki.blast.hk/wiki/GetPlayerVersion
Reply
#96

Quote:
Originally Posted by Yiin
Посмотреть сообщение
When a player attempts to connect to a server with the wrong client version, they will just continually see the reconnecting message or whatever. They never actually connect to the server. Therefore, that function can't be processed.
Reply
#97

Quote:
Originally Posted by RayW
Посмотреть сообщение
CS also had a lot of issues with "fake servers". The idea is doable but I'm sure most players would not want to be forcibly transferred.
Agree. So make it first ask the player?

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
When a player attempts to connect to a server with the wrong client version, they will just continually see the reconnecting message or whatever. They never actually connect to the server. Therefore, that function can't be processed.
Yeah, which actually sucks.
Reply
#98

Код:
SetPlayerCheckpoint(playerid, Float:X, Float:Y, Flaot:Z, Float:Distance, color = 0);
Optional color!
Reply
#99

Quote:
Originally Posted by Swimor
Посмотреть сообщение
Код:
SetPlayerCheckpoint(playerid, Float:X, Float:Y, Flaot:Z, Float:Distance, color = 0);
Optional color!
I thought will be more better if will be like this
pawn Код:
new Checkpoint:point;
//.. some codes
point = SetPlayerCheckpoint(playerid, Float:X, Float:Y, Flaot:Z, Float:Distance);

public OnPlayerEnterCheckpoint(playerid,checkpointid);
{
if(checkpointid == point)
{
// some codes
}
return 1;
}
// also some function like
SetCheckpointColor(checkpointid,color);
SetCheckpointDistance(checkpointid,float:Distance);
DisablePlayerCheckpoint(playerid,checkpointid);
// this will make that player could have multiple checkpoints :) needed some times
Reply

Quote:
Originally Posted by AirKite
Посмотреть сообщение
pawn Код:
native SetPlayerListenKeyFrequency(playerid, counts, pertime) - Available Frequency (counts per time).
// Example: SetPlayerListenKeyFrequency(playerid, 10, 5000); 10 count of push in 5 seconds Available. (Other Client must NOT SENDING TO SERVER) - (and server must protect if client not follow this rule, disconnect (scriptable or in code samp-server)).

native SetPlayerListenKey(playerid, keycode, bool:toggle) - return true or false.
// Example: SetPlayerListenKey(playerid, KEY_CODE_ENTER, true);

native GetPlayerListenedKey(playerid, keycode) - return true or false
// Example: GetPlayerListenedKey(playerid, KEY_CODE_ENTER); Should return TRUE if key is down.

public OnListenedKeyResponse(playerid, keycode, updown);

///////////////////////////////////////////////////////////////////////////
// Example script:
public OnPlayerConnect(playerid) {
    SetPlayerListenKeyFrequency(playerid, 10, 5000);
    SetPlayerListenKey(playerid, KEY_CODE_ENTER, true);
    SetPlayerListenKey(playerid, KEY_CODE_F12, true);
}

public OnListenedKeyResponse(playerid, keycode, isdown) {
    if(keycode == KEY_CODE_ENTER && isdown) { // DOWN
        // Show dialog text "You Pushed ENTER"
    } else if(keycode == KEY_CODE_F12) {
        if(isdown) { // DOWN
            // SHOW TEXTDRAW (CLOCK - TIME)
            // Send Chat, like: /me looked watch
            // Aply animation (see on clock (hand))
        } else { // UP
            // HIDE TEXTDRAW (CLOCK - TIME)
            // CLEAR animation (see on clock (hand))
        }
    }  
}
///////////////////////////////////////////////////////////////////////////
I don't quite understand what is SetPlayerListenKeyFrequency?
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)