SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Closed Thread
 
Thread Tools Display Modes
Old 08/01/2013, 08:49 AM   #1
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 3,793
Reputation: 1179
Default Suggestions Thread

Suggest features for 0.3x below!

Well, seems like there seems to not be any currently existing ones. Just keen on keeping this board nice and clean like previously.

pawn Code:
// Functions for a possible anti-cheat if there is no cleo preventation.
native GetVehicleAngularVelocity( vehicleid, &Float: X, &Float: Y, &Float: Z ); // We have set, now we need get.
native IsVehicleOccupied( vehicleid ); // Should be a native IMHO. Creating two loops; vehicles and players seems insufficient.
native GetTotalVehiclesAroundPosition( playerid, &count, Float: Radius = 30.0 ); // Very, very useful.

// Nice functions to have
native ToggleObjectCollision( objectid, bool: toggle );
native IsPlayerUsingWidescreen( playerid ); // Maybe we can slightly improve body part detection with this.
native SetVehicleInvulernable( vehicleid, bool: toggle ); // We have to use a timer always... :(

// Callbacks
forward OnObjectDamaged( damagerid, objectid, weaponid ); // Check if a barrel was shot.
forward OnAudioStreamFinished( handlerid ); // Check once an audio clipped has finished playing.

// Some definitions for functions:
WEAPON_STATE_FIRING - For GetPlayerWeaponState
-> Block CLEO hacks.
-> Perhaps also an increase to the character limit with textdraws containing colours such as ~w~ and so.
-> Actor system to replace the current NPC system (VIEW FUNCTIONS FOR THIS HERE)
-> Fix vehicle exploding bug with vehicle once you set a vehicles health to Float:0x7F800000.
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777


Last edited by Lorenc_; 20/01/2013 at 12:20 PM.
Lorenc_ is offline  
Old 08/01/2013, 08:53 AM   #2
BloodyEric
Huge Clucker
 
BloodyEric's Avatar
 
Join Date: May 2008
Location: Berlin, Germany
Posts: 341
Reputation: 12
Default AW: Suggestions Thread

GetLOSFromPlayerToPoint(playerid,Float:X, Float:Y, Float:Z) --> Returns 1 for yes and 0 for no.


It would be so damn handy for buildings built with the 0.3e objects, as you can talk to people only in your room without lowering the chatradius to 3.0.

Last edited by BloodyEric; 25/01/2013 at 05:53 PM.
BloodyEric is offline  
Old 08/01/2013, 09:14 AM   #3
[D]ry[D]esert
Huge Clucker
 
[D]ry[D]esert's Avatar
 
Join Date: Jan 2012
Location: In Pokemon world
Posts: 434
Reputation: 27
Default Re: Suggestions Thread

pawn Code:
forward OnPlayerShootObject(playerid, objectid);

native Move3DTextLabel(Text3D:id, Float:x,Float:y,Float:z);
native Attach3DTextLabelToObject(Text3D:id,objectid);
native SetTextDrawRotation(Text:text,Float:RotX,Float:RotY,Float:RotZ);
native SetPlayerTextDrawRotation(Text:text,Float:RotX,Float:RotY,Float:RotZ);
__________________
We're back with more features and more fun!

A.K.A [Mew]
_______________________________________________

Last edited by [D]ry[D]esert; 08/01/2013 at 04:36 PM.
[D]ry[D]esert is offline  
Old 08/01/2013, 09:18 AM   #4
TopFuel
Big Clucker
 
TopFuel's Avatar
 
Join Date: Dec 2010
Location: Brazil
Posts: 111
Reputation: 18
Default Re: Suggestions Thread

pawn Code:
native TextDrawFade(in/out);
native AttachVehicleToVehicle(vehicleid, vehicleid2, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ);
forward OnVehicleDamaged(vehicleid, playerid, Float:amount);
__________________

Last edited by TopFuel; 08/01/2013 at 09:51 AM.
TopFuel is offline  
Old 08/01/2013, 09:21 AM   #5
BloodyEric
Huge Clucker
 
BloodyEric's Avatar
 
Join Date: May 2008
Location: Berlin, Germany
Posts: 341
Reputation: 12
Default AW: Suggestions Thread

TextDrawFade can fairly be done by yourself.

Better NPCs would be nice, though I dont think we will get them before entering 0.4 era.


How about a bone-id in OnPlayerTake/GiveDamage?
BloodyEric is offline  
Old 08/01/2013, 09:28 AM   #6
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,938
Reputation: 538
Default Re: Suggestions Thread

pawn Code:
forward OnVehicleCollide(vehicleid, playerid, collided_vehicleid, collided_objectid, collided_playerid, Float:damage, Float:damage_done);

Add protection against CLEO Hacks
Kar is offline  
Old 08/01/2013, 09:28 AM   #7
TopFuel
Big Clucker
 
TopFuel's Avatar
 
Join Date: Dec 2010
Location: Brazil
Posts: 111
Reputation: 18
Default Re: AW: Suggestions Thread

Quote:
Originally Posted by BloodyEric View Post
TextDrawFade can fairly be done by yourself.

Better NPCs would be nice, though I dont think we will get them before entering 0.4 era.


How about a bone-id in OnPlayerTake/GiveDamage?
but a native function would be much better and faster, and I agree with the detection of body parts.
__________________
TopFuel is offline  
Old 08/01/2013, 09:41 AM   #8
Lightning[SV]
Big Clucker
 
Lightning[SV]'s Avatar
 
Join Date: Feb 2009
Posts: 118
Reputation: 32
Default Re: Suggestions Thread

pawn Code:
native DisableVehicleMarkers()

I would ideally like the vehicle markers completely disabled in my server.
Lightning[SV] is offline  
Old 08/01/2013, 09:43 AM   #9
Johndaonee
Big Clucker
 
Join Date: Jul 2010
Location: Denmark, Varde. Germany, Hamburg.
Posts: 190
Reputation: 46
Default Re: Suggestions Thread

pawn Code:
native DisableVehicleMarkers()

This would be great as said up there!
Johndaonee is offline  
Old 08/01/2013, 09:44 AM   #10
TopFuel
Big Clucker
 
TopFuel's Avatar
 
Join Date: Dec 2010
Location: Brazil
Posts: 111
Reputation: 18
Default Re: Suggestions Thread

Quote:
Originally Posted by Johndaonee View Post
pawn Code:
native DisableVehicleMarkers()

This would be great as said up there!
Yes, this function would be great.
__________________
TopFuel 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
Post suggestions in the 0.3e suggestions topic Kalcor Scripting Help 0 06/03/2012 09:00 AM
Suggestions Thread Diablosrouge Help Archive 13 05/12/2010 12:44 PM


All times are GMT. The time now is 07:14 PM.


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