SA-MP Forums

Go Back   SA-MP Forums > SA-MP > General

Closed Thread
 
Thread Tools Display Modes
Old 30/10/2009, 12:02 PM   #81
Mikep.
Huge Clucker
 
Join Date: Sep 2009
Posts: 465
Reputation: 0
Default Re: Suggestions For Future Sa:MP Versions.

Quote:
Originally Posted by BeckzyBoi
I agree with Mikep. I wish those people who say "you can script this" "you can script that" would shut up. You can NOT script what most people are asking for. Scripting a workaround or a way to avoid something from working is not the thing itself. This is a suggestions topic, and that is why people are making suggestions.
Thanks Becky, at least someone can provide some logic into this topic.

People think they are clever if they can make a workaround, yes you're very clever, now leave people to suggest things.

Anyway, me and my server community have come up with a list of ideas, mainly scripting functions, yes I know some have been suggested before, but I don't feel like going through 12 pages of this topic to see what's been suggested, here's the list:

ToggleVehicleLight(vehicleid, light, toggle);

LIGHT_HEADLEFT
LIGHT_HEADRIGHT
LIGHT_BACKLEFT
LIGHT_BACKRIGHT
LIGHT_SIREN

GetVehiclePaintjob(vehicleid);
SetPlayerScreenBlur(playerid, level);
ToggleVehicleSpeedBlur(toggle);
ToggleVehicleSirens(vehicleid, toggle); (will also toggle taxilight)
MoveVehicleGear(vehicleid, updown);
SetChatSizeForPlayer(playerid, lines);
SetChatSize(lines);

Object affects - When an object is "affected", such as glass breaking (not the best function name but i couldn't think of anything else)
DisableObjectEffects(objectid);
DisableObjectEffectsForPlayer(playerid, objectid);
AffectObject(objectid);
AffectObjectForPlayer(playerid, objectid);
CreateBullet(startx,starty,startz,tox,toy,toz,spee d,color)
CreateFire
CreateSpark
CreateSmoke
CreateWater(zmaxx,zmaxy,zmaxy,zminy,minx,miny,maxx ,maxy, color, height, waveheight);
SetWaterHeight(height);
SetWaveHeight(height);
SetWaterColor(color);
CreateGangTag(x,y,z,type);

new mytag;
mytag = CreateGangTag(x,y,z,TYPE_BALLA);
SprayTag(mytag);
OnTagSprayed(tagid, playerid)
CreatePlayerPickup
ToggleInteriorEnterExit(exitid, toggle);
ToggleInteriorEnterExitForPlayer(playerid, exitid, toggle);

CreateButton(x,y,width,height,color,overcolor,pres sedcolor,text[]);
OnPlayerPressButton(playerid, buttonid, pushtype)
CLICK_HOVER
CLICK_PRESS
CLICK_RELEASE

TogglePlayerCursor(playerid, toggle);
SetCursorPos(playerid, x,y);
SetCursorColor(playerid, color);
SetCursorSize(playerid, size);
OnPlayerClick(x,y,clicktype)
CLICK_IN
CLICK_OUT

GetPlayerWaypoint(playerid);
SetPlayerWaypoint(playerid, x,y);
OnPlayerShootPlayer(playerid, shooterid, bodypart, Float:dist)
OnPlayerShoot(playerid, weapon, x,y,z)
TogglePlayerChat(playerid, mode);
CHAT_MODE_VISIBLE
CHAT_MODE_PART_HIDDEN
CHAT_MODE_HIDDEN

TogglePlayerHUD(playerid, toggle);
SetPlayerHudColors(playerid, money, health, armour, lungcap)
SetTrafficLight(x,y,light);
ToggleLampPost(x,y,toggle)
SetVehicleNosColor(vehicleid, color);
ToggleDefaultObject(object, toggle);
OBJECT_VENT
OBJECT_JPROOF
OBJECT_CARRIERLIFT
OBJECT_CARRIERLIFT_SIDE
OBJECT_KAAC_GATES

ToggleCombineDeath(toggle);
CreateFlare(x,y,z,color,dropspeed);
ChangePlayerRadioStation(playerid, stationid);
SetPlayerHeadless(playerid, headless);
ToggleStreetLights(toggle);
ToggleStreetLightsForPlayer(playerid, toggle);
ToggleModShops(toggle);
ToggleModShopsForPlayer(playerid, toggle);
ToggleObjectEffect(objectid, toggle);
CreateObjectInHand(playerid, objectid,offsetx,offsety,offsetz,rx,ry,rz)
PlayerSurfVehicle(playerid, vehicleid);
UsePlayerPedAnims(playerid, use);
AttachPlayerToPlayer(playerid, attachplayerid,x,y,z);
AttachPlayerToVehicle(playerid, vehicleid, x,y,z);
AttachVehicleToVehicle(vehicleid, attachvehicleid, x,y,z);
AttachVehicleToPlayer(vehicle, playerid, x,y,z);
SetVehicleFireToExplodeTime(vehicleid, time)
DamageVehicle(bodypart, damaged)
BODY_PART_WHEEL_1
BODY_PART_WHEEL_2
BODY_PART_WHEEL_3
BODY_PART_WHEEL_4
BODY_PART_GLASS
BODY_PART_LF_DOOR
BODY_PART_RF_DOOR
BODY_PART_LB_DOOR
BODY_PART_RF_DOOR
BODY_PART_TRUNK
BODY_PART_HOOD
BODY_PART_BRAKE_LEFT
BODY_PART_BRAKE_RIGHT

ToggleVehicleEngine(vehicleid, toggle);
SetPlayerCameraFocusVehicle(playerid, vehicleid);
SetPlayerCameraFocusPlayer(playerid, focusplayerid);
AttachPlayerCameraToPlayer(playerid, attachplayerid);
AttachPlayerCameraToVehicle(playerid, vehicleid);
SetPlayerCheckpoint(playerid, x,y,z,color,radius,drawdistance,blip,type);
PlayerPlaySound(playerid, soundid, pitch, x,y,z);
ToggleVehicleDoor(vehicleid, doorid, openclose)
SetVehicleMovingPart(vehicleid, partpos, speed);
ToggleVehicleBrakes(vehicleid, toggle);
OpenCloseGarage(garageid, openclose)
CreateRocket(x,y,z,movex,movey,movez,speed,color);
SetPlayerWalkingStyle(playerid, style);
WALK_STYLE_CJ
WALK_STYLE_GRANNY
WALK_STYLE_SKATER
WALK_STYLE_GANGSTA
WALK_STYLE_PED

Object streamer
map icons that are visible from all over the map
interior parameter in CreatePickup

Some are a bit useless, where some are really useful, it's a mix between practicality and fun.
Mikep. is offline  
Old 30/10/2009, 12:29 PM   #82
DokerJr
Huge Clucker
 
DokerJr's Avatar
 
Join Date: Sep 2009
Location: Read SA:MP Forum
Posts: 484
Reputation: 24
Default Re: Suggestions For Future Sa:MP Versions.

OnPlayerEnterGangZone

DokerJr is offline  
Old 30/10/2009, 03:22 PM   #83
MachineHead
Huge Clucker
 
Join Date: Nov 2008
Posts: 215
Reputation: 0
Default Re: Suggestions For Future Sa:MP Versions.

Sync Hanger doors at Abandoned Airport.
MachineHead is offline  
Old 30/10/2009, 05:49 PM   #84
Aless01
Little Clucker
 
Join Date: Jan 2008
Posts: 28
Reputation: 0
Default Re: Suggestions For Future Sa:MP Versions.

Be able to kill someone with the combine harvester like in single player.
__________________
Quote:
Originally Posted by Yeatric View Post
Stealing croissants in Paris would be awesome, and then people running after you "VOLEUR! VOLEUR!"
Aless01 is offline  
Old 30/10/2009, 07:38 PM   #85
agusfn20
Big Clucker
 
Join Date: Aug 2008
Posts: 107
Reputation: 0
Default Re: Suggestions For Future Sa:MP Versions.

WriteTextOnPlayerImputChat(playerid, string[]);

I don't know if i already put this



PlayPlayerRadioMusic(playerid, radiostation);

RADIO_KROSE
RADIO_RADIOX
RADIO_BOUNCEFM
etc..

there are lots of interiors which have music from some radio station
agusfn20 is offline  
Old 30/10/2009, 08:36 PM   #86
Mikep.
Huge Clucker
 
Join Date: Sep 2009
Posts: 465
Reputation: 0
Default Re: Suggestions For Future Sa:MP Versions.

GetPlayerChatText(playerid); returns a string containing the text they have typed in the chat box ready to send.

DIALOG_STYLE_TICKBOX
DIALOG_STYLE_RADIOBUTTON

Add a buttons parameter to ShowPlayerDialog to choose how many buttons.
Mikep. is offline  
Old 30/10/2009, 09:05 PM   #87
MenaceX^
High-roller
 
Join Date: Aug 2008
Posts: 3,262
Reputation: 13
Default Re: Suggestions For Future Sa:MP Versions.

I'd like to see more skins in future. (about the 20 missed skins)
MenaceX^ is offline  
Old 30/10/2009, 09:45 PM   #88
Westie
Gangsta
 
Westie's Avatar
 
Join Date: Jul 2009
Posts: 857
Reputation: 63
Default Re: Suggestions For Future Sa:MP Versions.

A function for raw SCM.
Westie is offline  
Old 30/10/2009, 09:57 PM   #89
Diablosrouge
Huge Clucker
 
Diablosrouge's Avatar
 
Join Date: Jul 2007
Location: Portugal
Posts: 467
Reputation: 84
Default Re: Suggestions For Future Sa:MP Versions.

Those interior musics are a separated file from the Radio Stations file, located in BEATS. I remember, once i changed the Disco music ^^
__________________
Diablosrouge is offline  
Old 30/10/2009, 10:20 PM   #90
Luka P.
High-roller
 
Join Date: Feb 2009
Posts: 1,428
Reputation: 13
Default Re: Suggestions For Future Sa:MP Versions.

Here are my wishes:

Oxygen control
  • SetPlayerOxygen(playerid,Floatxygen); // It will set player oxygen, like SetPlayerHealth
  • GetPlayerOxygen(playerid); // It will get player oxygen, like GetPlayerHealth
  • SetOxygen(enabled/disabled); // SetOxygen enabled or disabled
  • SetPlayerWaterOxygen(waterid,Floatxygen); // It will set player oxygen in specific water, look at 'Water control'

Water control
  • CreateWater(Float,Float:y,Float:z); // It will create a water on some area
  • DestroyWater(Float,Float:y,Float:z); // It will 'destroy' some water
  • SetWaterLevel(waterid,water_level); // Set water level, high tide / ebb tide (reflux) (Sorry, ****** Translate..)
  • GetWaterLevel(waterid); // Same as above, but it will not set water level, it will get it


Scripting -> Parameters
  • There should be an easy way to get parameters in one line. Something like
pawn Code:
if(parameter[1] == 7192) // If parameter 1 is number 7912...
{
    Ban(parameter[1]); // It will ban a ID from parameter 1 (ID 7912).
}

Radio station control & Streaming radio stations
  • SetPlayerRadioState(playerid,enabled/disabled); // SetPlayerRadioState will enable or disable player to listen radio
  • GetPlayerRadioState(playerid); // It will get player radio state (enabled/disabled)
  • SetPlayerRadioStation(playerid,ip_address); // Stream radio station from ex. Shoutcast, I know this is hard to make, but
  • GetPlayerRadioStation(playerid); // Will return IP of streamed radio station.

(Sorry for bad English, and thanks for reading.)
Luka P. is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
More versions????? Steven82 Help Archive 8 10/04/2010 05:30 PM
Different versions? DeltaAirlines12 Client Support 0 31/10/2009 05:51 AM
about sa-mp versions Sfinx_17 General 1 17/10/2009 08:28 PM
[Tool/Web/Other] [APP] TeleMaker (EN + FR Versions!) Franjdea Filterscripts 12 16/06/2009 08:25 AM


All times are GMT. The time now is 07:19 AM.


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