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)

Mikep. 30/10/2009 11:02 AM

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.

DokerJr 30/10/2009 11:29 AM

Re: Suggestions For Future Sa:MP Versions.
 
OnPlayerEnterGangZone ;)


MachineHead 30/10/2009 02:22 PM

Re: Suggestions For Future Sa:MP Versions.
 
Sync Hanger doors at Abandoned Airport.

Aless01 30/10/2009 04:49 PM

Re: Suggestions For Future Sa:MP Versions.
 
Be able to kill someone with the combine harvester like in single player. :D :mrgreen:

agusfn20 30/10/2009 06:38 PM

Re: Suggestions For Future Sa:MP Versions.
 
WriteTextOnPlayerImputChat(playerid, string[]);

I don't know if i already put this :lol:



PlayPlayerRadioMusic(playerid, radiostation);

RADIO_KROSE
RADIO_RADIOX
RADIO_BOUNCEFM
etc..

there are lots of interiors which have music from some radio station

Mikep. 30/10/2009 07:36 PM

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.

MenaceX^ 30/10/2009 08:05 PM

Re: Suggestions For Future Sa:MP Versions.
 
I'd like to see more skins in future. (about the 20 missed skins)

Westie 30/10/2009 08:45 PM

Re: Suggestions For Future Sa:MP Versions.
 
A function for raw SCM.

Diablosrouge 30/10/2009 08:57 PM

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 ^^

Luka P. 30/10/2009 09:20 PM

Re: Suggestions For Future Sa:MP Versions.
 
Here are my wishes:

Oxygen control
  • SetPlayerOxygen(playerid,Float:oxygen); // 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,Float:oxygen); // It will set player oxygen in specific water, look at 'Water control'

Water control
  • CreateWater(Float:x,Float:y,Float:z); // It will create a water on some area
  • DestroyWater(Float:x,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.)


All times are GMT. The time now is 05:09 AM.

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