Re: Suggestions Thread -
maxrobon1_police - 18.01.2013
Add an Unique ID or KEY for each samp's program installed for avoid ban, and add a function for filterscript with a string as return....
[QUOTE=maxrobon1_police;2331414]
GetUniqueKey(); -> You can get a unique id for each user, based in Hard Disk Number or Mac Address...
[\QUOTE]
thanks
Re: Suggestions Thread -
Essle - 18.01.2013
Function:- native SetWaterInfo(Float: speed, Float: height, color);
- native ToggleVehicleControllable(vehicleid, bool: toggle);
bind key's:- native BindPlayerKey(playerid, keyname[], keyid); // keyname is "Q", "W", "E", "T" ... "TAB", "SHIFT", "F4", "INSERT" ...
- native UnBindPlayerKey(playerid, keyid);
- forward OnPlayerBindKeyStateChange(playerid, keyid);
Use function's:
Код:
public OnPlayerConnect(playerid)
{
BindPlayerKey(playerid, "J", 10);
return 1;
}
public OnPlayerBindKeyStateChange(playerid, keyid)
{
if(keyid == 10)
{
GivePlayerMoney(playerid, 550);
UnBindPlayerKey(playerid, keyid);
}
return 1;
}
Ideas:- Increase the brightness of headlights.
- Ban player by subnet.
- Remove the power-on message music. (PlayAudioStreamForPlayer)
- Fix bug with animations.
- Block CLEO script's.
Respuesta: Suggestions Thread -
spell - 18.01.2013
pawn Код:
//Functions
native AttachCameraToAttachedObject(playerid, slot);
native Audio:CreateAudioStream(url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0, playerid = INVALID_PLAYER_ID, interiorid = -1, virtualworldid = -1); // -- > return the handlerid, and add the parameter "playerid - interiorid - virtualworldid" (-1 for all)
native DestroyAudioStream(Audio:handlerid);
native AttachAudioStreamToPlayer(playerid, Audio:handlerir);
//Callbacks
forward OnAudioFinished(playerid, Audio:handlerid); // if is a public audio, playerid is INVALID_PLAYER_ID
//Definitions
#define INVALID_AUDIO_HANDLE -1
For example:
pawn Код:
new
Audio:Song[MAX_PLAYERS] = {INVALID_AUDIO_HANDLE, ...};
public OnPlayerSpawn(playerid)
{
Song[playerid] = CreateAudioStream("http://somafm.com/tags.pls", 0.0, 0.0, 0.0, 0.0, playerid);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
DestroyAudioStream(Song[playerid]);
return 1;
}
public OnAudioFinished(playerid, Audio:handlerid)
{
if(playerid != INVALID_PLAYER_ID && Song[playerid] != INVALID_SOUND_HANDLE)
{
SendClientMessage(playerid, -1, "SONG FINISHED. NEXT SONG: X");
Song[playerid] = CreateAudioStream("http://somafm.com/tags2.pls", 0.0, 0.0, 0.0, 0.0, playerid);
}
return 1;
}
you can have total control of the sound, songs, etc!
PD: sorry for my english
Re: Suggestions Thread -
AirKite - 18.01.2013
Quote:
Originally Posted by Essle
BindPlayerKey(playerid, keyname[], keyid);
|
SetPlayerListenKey (toggle listen any single key)
TogglePlayerControllableKey(playerid, controlkey, bool:toggle)
Re: Suggestions Thread -
Patrik356b - 18.01.2013
Quote:
Originally Posted by Top Fuel
Yes, this function would be great.
|
Quote:
Originally Posted by Johndaonee
pawn Code:
native DisableVehicleMarkers()
This would be great as said up there!
|
I want to see this instead:
pawn Code:
native ConfigureAllVehicleMarkers(color);
native ConfigureVehicleMarker(vehicleid, color);
// Set color to 0xABCDEF00 and the marker is gone
Re: Suggestions Thread -
Stepashka - 18.01.2013
Quote:
Originally Posted by Patrik356b
I want to see this instead:
pawn Code:
native ConfigureAllVehicleMarkers(color); native ConfigureVehicleMarker(vehicleid, color); // Set color to 0xABCDEF00 and the marker is gone
|
I think was better:
pawn Code:
native CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, marker_color = 0x999999FF);
native GetVehicleMarkerColor(vehicleid);
native SetVehicleMarkerColor(vehicleid, marker_color);
native GetVehicleMarkerColorForPlayer(vehicleid, playerid);
native SetVehicleMarkerColorForPlayer(vehicleid, playerid, marker_color);
Re: Suggestions Thread -
Luis- - 18.01.2013
Dunno if it has been suggested but,
Код:
native SetVehicleColourHex(vehicleid, Hex_Primary, Hex_Secondary);
Re: Suggestions Thread -
Riddick94 - 18.01.2013
Quote:
Originally Posted by maxrobon1_police
Add an Unique ID or KEY for each samp's program installed for avoid ban, and add a function for filterscript with a string as return....
|
Quote:
Originally Posted by maxrobon1_police
GetUniqueKey(); -> You can get a unique id for each user, based in Hard Disk Number or Mac Address...
thanks
|
Yes, primary keys & foreign keys or something like that.
And the BindKey is a very good suggestion.
Quote:
Originally Posted by AirKite
|
Why did you called it "listen key" ?
Re: Suggestions Thread -
AirKite - 18.01.2013
Quote:
Originally Posted by Riddick94
Why did you called it "listen key" ?
|
Because this concept based method on listen key.
Re: Suggestions Thread -
QuaTTrO - 18.01.2013
Function to disable/enable scoreboard. It will be usefull to create own scoreboard with textdraws.
pawn Код:
native TogglePlayerScoreboard(playerid, bool:toggle);
Re: Suggestions Thread -
Sasino97 - 18.01.2013
Quote:
Originally Posted by QuaTTrO
Function to disable/enable scoreboard. It will be usefull to create own scoreboard with textdraws.
pawn Код:
native TogglePlayerScoreboard(playerid, bool:toggle);
|
Or just
DisableScoreboard();
Under OnGameModeInit (or FilterScript)
Quote:
This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.
|
lol again
Re: Suggestions Thread -
Akcent_Voltaj - 18.01.2013
i would like a ban thingy ban on computer CiP computer..a public thing
edit:and an audio to be attached to vehicle..so people can hear what music im listening in my car..
Re: Suggestions Thread -
thefatshizms - 18.01.2013
A function to disable certain interior/exterior pickups maybe using the removebuildingforplayer method?
Re: Suggestions Thread -
beckzy - 18.01.2013
SetGarageOpen(garageID, bool: open)
IDs:
0 Commerce Region, Loading Bay Garage (Life's a Beach)
1 LSPD Police Impound Garage
2 Mission Garage near El Corona (Los Desperados)
3 Eight Ball Autos near El Corona
4 Mission Garage near El Corona (Cesar Vialpando)
5 Player Garage: El Corona
6 LS Burglary Garage near Playe del Seville
7 LowRider Tuning Garage in Willowfield
8 Pay 'n' Spray in Idlewood
9 Player Garage: Johnson House
10 Transfender in Temple
11 Pay 'n' Spray in Temple
12 Pay 'n' Spray in Santa Maria Beach
13 Player Garage: Santa Maria Beach
14 Player Garage: Mulholland
15 Wheel Archangels in Ocean Flats
16 Mission Garage in Ocean Flats (T-Bone Mendez)
17 Player Garage: Hashbury
18 Transfender near Wang Cars in Doherty
19 Pay 'n' Spray near Wang Cars in Doherty
20 SF Burglary Garage, Loading Bay near Doherty
21 Player Garage: Doherty
22 Mission Garage in Doherty Garage
23 Woozie's Mission Garage in Chinatown (Ran Fa Li)
24 Michelle's Pay 'n' Spray in Downtown
25 Player Garage: Calton Heights
26 SFPD Police Impound Garage
27 Pay 'n' Spray in Juniper Hollow
28 Player Garage: Paradiso
29 LVPD Police Impound Garage
30 Airport Plane Garage in Las Venturas
31 LV Burglary Garage near Camel's Toe
32 Pay 'n' Spray near Royal Casino
33 Transfender in come-a-lot
34 Player Garage: Rockshore West
35 Welding Wedding Bomb-workshop in Emerald Isle
36 Pay 'n' Spray in Redsands East
37 Player Garage: Redsands West
38 Player Garage: Prickle Pine
39 Player Garage: Whitewood Estates
40 Pay 'n' Spray in El Quebrados
41 Pay 'n' Spray in Fort Carson
42 Player Garage: Fort Carson
43 Player Garage: Verdant Meadows
44 Mission Garage in El Castillo del Diablo (Interdiction)
45 Airport Garage in Verdant Meadows
46 Mission Garage in Angel Pine (Puncture Wounds)
47 Pay 'n' Spray in Dillimore
48 Player Garage: Palomino Creek
49 Player Garage: Dillimore
Re: Suggestions Thread -
Admigo - 18.01.2013
Quote:
Originally Posted by QuaTTrO
Function to disable/enable scoreboard. It will be usefull to create own scoreboard with textdraws.
pawn Код:
native TogglePlayerScoreboard(playerid, bool:toggle);
|
Great idee
AW: Suggestions Thread -
Elorreli - 18.01.2013
Allow clientside scripts, not files, scripts only (amx), would be great if you want to make stuff without having to be concerned about lag and it wouldn't change GTA:SA into another game since it would only be script related.
Re: AW: Suggestions Thread -
pyrodojo25 - 18.01.2013
Quote:
Originally Posted by Elorreli
Allow clientside scripts, not files, scripts only (amx), would be great if you want to make stuff without having to be concerned about lag and it wouldn't change GTA:SA into another game since it would only be script related.
|
That would be perfect
Re: Suggestions Thread -
Admigo - 18.01.2013
Would be great if you can give damage to vehicles when there is no players in vehicle like in singleplayer.
Like hitting the tank to let the vehicle explode.
pawn Код:
native EnableVehicleDamage();
Re: Suggestions Thread -
Riddick94 - 18.01.2013
Get B-Dup skin from the cutscenes.img (model *.dff and texture *.txd) and put him in SA-MP. And then it should be all skins in SA-MP (excepting Kendle, she was always different ped). That's job is for SA-MP modeler.
Would be great.
Re: Suggestions Thread -
Admigo - 18.01.2013
Quote:
Originally Posted by Riddick94
Get B-Dup skin from the cutscenes.img (model *.dff and texture *.txd) and put him in SA-MP. And then it should be all skins in SA-MP (excepting Kendle, she was always different ped). That's job is for SA-MP modeler.
Would be great.
|
Yeah,more skins will be great, there are more skins from cutscenes that are not used.