SA-MP Forums

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

Closed Thread
 
Thread Tools Display Modes
Old 26/01/2013, 02:30 PM   #541
Toreno
Gangsta
 
Join Date: Nov 2010
Posts: 725
Reputation: 41
Default Re: Suggestions Thread

pawn Code:
native AttachCameraToAttachedObject();
If we do have this native, we can easily attach a camera to player's attached object, which this specific object is using head bone. This way, first person would look much more real, like the cleo mode! And everyone can have it, without downloading illegal modes such as CLEO, which most of the servers ban for using these modes.
Toreno is offline  
Old 26/01/2013, 02:33 PM   #542
pyrodojo25
Little Clucker
 
pyrodojo25's Avatar
 
Join Date: Mar 2012
Location: ::1
Posts: 46
Reputation: 2
Default Re: Suggestions Thread

Quote:
Originally Posted by QuaTTrO View Post
i post it hundred times so i will post it again:
Imporve audio stream system.
-Multiple streams
-Disable audio message (/audiomsg) by default in SA:MP client
-Volume, Pause, Resume functions
-Function to Attach/Deattach audio stream to player/object/vehicle
+1

020B - ExplodeVehicle(vehicleid);
Fix the "GBug": http://forum.sa-mp.com/showthread.php?t=353258
Sync exploded vehicles: http://youtu.be/RVYbMhIjM80
Way to set vehicle respawn time after death
pyrodojo25 is offline  
Old 26/01/2013, 02:53 PM   #543
Danny
High-roller
 
Danny's Avatar
 
Join Date: Jul 2010
Location: In a galaxy far far away, near the Netherlands
Posts: 1,097
Reputation: 2128
Default Re: Suggestions Thread

I think it's a good idea to add an extra param to CreateObject, togglecamview, to toggle the ability for a player to look 'through' an object by standing close to it and turn the camera. In GTA interiors for example, you can't do this, and this would be a mayor improvement for mapped interiors.
__________________
I hate reputation-askers, so DON'T ASK, JUST EARN!

come into my life, it's a man made paradise

http://www.buzzfeed.com/norbertobric...omp-stomp-clap
Danny is offline  
Old 26/01/2013, 03:12 PM   #544
SDraw
Gangsta
 
SDraw's Avatar
 
Join Date: Apr 2011
Location: Earth
Posts: 582
Reputation: 157
Default Re: Suggestions Thread

Quote:
Originally Posted by QuaTTrO View Post
i post it hundred times so i will post it again:
Imporve audio stream system.
-Multiple streams
-Disable audio message (/audiomsg) by default in SA:MP client
-Volume, Pause, Resume functions
-Function to Attach/Deattach audio stream to player/object/vehicle
And speed for stream! Yeah! I'm agree with you
__________________
GitHub
SDraw is offline  
Old 26/01/2013, 05:09 PM   #545
Luis-
High-roller
 
Luis-'s Avatar
 
Join Date: Jan 2010
Location: England
Posts: 3,926
Reputation: 401
Default Re: Suggestions Thread

Quote:
Originally Posted by scott1 View Post
PHP Code:
native IsTrailerAttached(carid
To know if a trailer is atacher to a vehicle, i know it's possible via the script,

but when whe have to make long bool like respawn all unused car, we have to make another long bool to know if the trailer is attacher or no

Max
Can be scripted.. GetVehicleTrailer
__________________


| Home | Server | Forum | Trailer |
Luis- is offline  
Old 26/01/2013, 05:41 PM   #546
SchurmanCQC
High-roller
 
SchurmanCQC's Avatar
 
Join Date: Oct 2010
Location: Canada
Posts: 1,739
Reputation: 249
Default Re: Suggestions Thread

pawn Code:
stock IsTrailerAttached(vehicleid)
{
    if(GetVehicleTrailer(vehicleid) == 0) return false;
    else return true;
}
SchurmanCQC is offline  
Old 26/01/2013, 06:49 PM   #547
CKA3KuH
Big Clucker
 
CKA3KuH's Avatar
 
Join Date: Jul 2010
Posts: 94
Reputation: 4
Default Re: Suggestions Thread

Very good idea to connect the bots from the end of a list of identifiers. Is not 1-2-3 as now, we need 3-2-1 ... Thank!

Last edited by CKA3KuH; 26/01/2013 at 07:19 PM.
CKA3KuH is offline  
Old 26/01/2013, 10:35 PM   #548
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,052
Reputation: 205
Default Re: Suggestions Thread

Quote:
Originally Posted by Schurman View Post
pawn Code:
stock IsTrailerAttached(vehicleid)
{
    if(GetVehicleTrailer(vehicleid) == 0) return false;
    else return true;
}
pawn Code:
stock IsTrailerAttached(vehicleid)
     return GetVehicleTrailer(vehicleid) > 0;
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in G00GLE MAPS! | Topic Github Sample
ikkentim is offline  
Old 26/01/2013, 11:16 PM   #549
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,235
Reputation: 1004
Default Re: Suggestions Thread

Quote:
Originally Posted by ikkentim View Post
pawn Code:
stock IsTrailerAttached(vehicleid)
     return GetVehicleTrailer(vehicleid) > 0;
pawn Code:
#define IsTrailerAttached GetVehicleTrailer
Is this some sort of competition?
__________________
Owner and developer of Mike's Cops and Robbers.

Click here to visit our site and find out more. Click here to view trailers.
Enter referral code SAMPFORUM after registering for a $5000 starting bonus!
MP2 is offline  
Old 27/01/2013, 07:55 AM   #550
Stepashka
Godfather
 
Stepashka's Avatar
 
Join Date: Jul 2008
Location: near PC
Posts: 5,761
Reputation: 142
Default Re: Suggestions Thread

Quote:
Originally Posted by MP2 View Post
pawn Code:
#define IsTrailerAttached GetVehicleTrailer
Is this some sort of competition?
functions with prefix is can return only boolean value
pawn Code:
#define IsTrailerAttachedToVehicle(%0) (!!GetVehicleTrailer(%0))
__________________
Клятва Страуструпа: "Я обязуюсь прилежно комментировать свой код, не использовать goto и следить за состоянием своих потоков и выделяемой памяти. Я обязуюсь не оставлять мусора в системе и избегать однобуквенных переменных. Ресет." © Куч
M&M GM
Status: ON HOLD

Stepashka 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 01:27 PM.


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