SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   General (https://forum.sa-mp.com/forumdisplay.php?f=13)
-   -   Suggestions For Future Sa:MP Versions. (https://forum.sa-mp.com/showthread.php?t=102997)

[mad]MLK 30/10/2009 11:21 PM

Re: Suggestions For Future Sa:MP Versions.
 
PlayRadioStation(playerid, stationid, 1/0); 1 for start 0 for stop this would be similar effect of going into a bar when you hear the background radio station playing

Mikep. 31/10/2009 05:00 PM

Re: Suggestions For Future Sa:MP Versions.
 
GetPlayerDistanceToPoint to return the distance, like IsPlayerInRangeOfPoint, or make IsPlayerInRangeOfPoint return the distance.

Remi-X 31/10/2009 10:52 PM

Re: Suggestions For Future Sa:MP Versions.
 
So everyone has another type, and you get not bored of all servers with the same type.

But:
IsPlayerCrouching(playerid);Ow, this one is scriptable with GetPlayerSpecialAction.
IsPlayerRunning(playerid);
IsPlayerAiming(playerid);
IsPlayerAimWalking(playerid); //Or how do I call this nice?

Would be nice for DM server (especially for the stealth server wich I'm busy with :P)

public OnPlayerSpecialActionChange(playerid, newaction, oldaction) // I know, it's scriptable, but would need OnPlayerUpdate. Would be nicer to make a official public from it.

EDIT:
Quote:

Originally Posted by Seif_
And oh, you're also making a stealth script? I already made one, you should try it :)

Yes I know you already have one :P First I thought I was the first, until I saw the Stealth server from you in SA:MP 0.2X, but it was empty :( Than, this week, I even saw you're selling it.

If I remember me good, your one is based on another game? I'm trying to copy the style of stealth which MTA is using, but some things are really difficuilt to make. That is the reason why I want the function I've said in this topic, they would help me, but also a lot of others.

But Seif, is your Stealth server already available in 0.3a?

Diablosrouge 01/11/2009 12:24 AM

Re: Suggestions For Future Sa:MP Versions.
 
I've read that NPCs don't perform the animations the player does while recording.
NPCs should record every animations the player prompts.

Correlli 01/11/2009 01:40 PM

Re: Suggestions For Future Sa:MP Versions.
 
RemovePlayerFromScoreList(playerid)
This would remove the 'playerid' from the TAB (score) list.

Edit:
AddPlayerToScoreList(playerid)
This would add the 'playerid' back to the TAB (score) list if the function RemovePlayerFromScoreList was used.

[03]Garsino 01/11/2009 01:46 PM

Re: Suggestions For Future Sa:MP Versions.
 
SetDriveByWeapon(playerid,weaponid);
SetDriveByWeaponForAll(weaponid);

beckzy 01/11/2009 04:45 PM

Re: Suggestions For Future Sa:MP Versions.
 
RemovePlayerWeaponFromSlot(playerid, slot)

That would be so much better than having to reset all the player's weapons and giving them back except the removed weapon.

Mikep. 01/11/2009 05:56 PM

Re: Suggestions For Future Sa:MP Versions.
 
The animation for SPECIAL_ACTION_SMOKE_CIGGY is too short, the end gets cut off.

agusfn20 01/11/2009 06:01 PM

Re: Suggestions For Future Sa:MP Versions.
 
Add more keys!

There are actually this keys

KEY_ACTION
KEY_CROUCH
KEY_FIRE
KEY_SPRINT
KEY_SECONDARY_ATTACK
KEY_JUMP
KEY_LOOK_RIGHT
KEY_HANDBRAKE
KEY_LOOK_LEFT
KEY_SUBMISSION
KEY_LOOK_BEHIND
KEY_WALK
KEY_ANALOG_UP
KEY_ANALOG_DOWN
KEY_ANALOG_LEFT
KEY_ANALOG_RIGHT


Up/Down-Keys

KEY_UP
KEY_DOWN

Left/Right-Keys

KEY_LEFT
KEY_RIGHT

i would like this keys..

KEY_ENTER
KEY_F1
KEY_F2
KEY_F3
KEY_F4
KEY_F5
KEY_F6
KEY_F7
KEY_F8
KEY_F9
KEY_F10
KEY_F11
KEY_F12
KEY_TAB
KEY_CAPS_LOCK
KEY_A
KEY_B
KEY_C
etc..

TheNooB 01/11/2009 06:09 PM

Re: Suggestions For Future Sa:MP Versions.
 
Could be set up native to view files

pawn Code:
GetFile(directory[], file name[]);


Example:
pawn Code:
//A Anti-cheat
public OnPlayerUpdate(playerid)
{
    if(GetFile("GTA_DIRECTORY", "ZaZaZaHack.txt")) //If the file exists. The player is kicked by a file Hack
    {
    Kick(playerid);
    }
    return 1;
}

"GTA_DIRECTORY" should be defined in a_samp.inc how to take the direction of the directory of GTA:SA


All times are GMT. The time now is 04:21 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.