SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 11/06/2012, 01:49 PM   #1
BaubaS
Huge Clucker
 
Join Date: May 2011
Posts: 444
Reputation: 47
Default OnTrailerAttach/Detach

I read that using OnPlayerUpdate in this situation is very bad, any other solution to create those two callbacks?
BaubaS is offline   Reply With Quote
Old 11/06/2012, 01:50 PM   #2
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 5,263
Reputation: 748
Default Re: OnTrailerAttach/Detach

Timer or OPU.
__________________
>> Click here for ALL of my releases
mGates - Create AUTOMATIC gates with ONE FUNCTION (+ restrictions i.e. team members only)
IEE (Interior Enter/Exits) - Create enex markers with one function
Cuffs - Cuff offsets for ALL SKINS!
vfunc - Vehicle functions. GetVehicleColor and synced random colors.
gBug - Prevent the 'G' bug (players being able to enter moving vehicles by pressing G then running after them).
MP2 is offline   Reply With Quote
Old 11/06/2012, 01:56 PM   #3
BaubaS
Huge Clucker
 
Join Date: May 2011
Posts: 444
Reputation: 47
Default Re: OnTrailerAttach/Detach

Quote:
Originally Posted by MP2 View Post
Timer or OPU.
How much should I set the interval?
BaubaS is offline   Reply With Quote
Old 11/06/2012, 03:42 PM   #4
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 5,263
Reputation: 748
Default Re: OnTrailerAttach/Detach

For a timer? I'd say 500-1000 MS.
__________________
>> Click here for ALL of my releases
mGates - Create AUTOMATIC gates with ONE FUNCTION (+ restrictions i.e. team members only)
IEE (Interior Enter/Exits) - Create enex markers with one function
Cuffs - Cuff offsets for ALL SKINS!
vfunc - Vehicle functions. GetVehicleColor and synced random colors.
gBug - Prevent the 'G' bug (players being able to enter moving vehicles by pressing G then running after them).
MP2 is offline   Reply With Quote
Reply

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
Trailer wont detach iTorran Scripting Help 4 24/10/2011 02:22 PM
[HELP] Attach/Detach Stairs <Weponz> Help Archive 3 25/12/2010 09:36 AM
How to Detach Object From Vehicle? Linow Help Archive 2 29/11/2010 12:06 PM
/detach Mr.Jvxmc Help Archive 5 03/10/2010 10:16 AM


All times are GMT. The time now is 06:30 PM.


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