[phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value
[phpBB Debug] PHP Warning: in file [ROOT]/portal/includes/functions.php on line 597: Creating default object from empty value
FORUMS.DRUGCREW.COM • Portal


 Birthdays

No birthdays today

In the next 7 days

Browneyadz (32)
That_Zar (30)

 Clock



 Search

Advanced search


 Random member


Join:04.Jan.2011
Posts:0

 Attachments

Filename
 utiltr1
File size:297.55 KiB
Downloads:3076

 dd caravanderby
File size:2.42 KiB
Downloads:3065

 race convoytrucking
File size:370.45 KiB
Downloads:2962

 both of them
File size:12.02 KiB
Downloads:2980

 semidone thruway
File size:7.67 KiB
Downloads:2920

 all of them
File size:17.71 KiB
Downloads:3247

 Nothing but speed
File size:4.64 KiB
Downloads:3179

 race rollernikt
File size:28.92 KiB
Downloads:2960

 new2
File size:142.02 KiB
Downloads:80777

 new
File size:139.64 KiB
Downloads:80777

 Turismo Airport rar
File size:7.3 KiB
Downloads:2730

 areyougoingfurther
File size:68.4 KiB
Downloads:80864

 areyougoing4
File size:82.57 KiB
Downloads:75514

 areyougoing3
File size:76.76 KiB
Downloads:75514

 areyougoing
File size:135.51 KiB
Downloads:75514

 testrunfail2
File size:97.48 KiB
Downloads:80891

 testrunfail
File size:65.19 KiB
Downloads:80891

 splashtime
File size:169.62 KiB
Downloads:80918

 splashDD4
File size:122.11 KiB
Downloads:80926

 splashDD
File size:76.09 KiB
Downloads:80926

 chaos3
File size:86.13 KiB
Downloads:80975

 chaos2
File size:54.96 KiB
Downloads:80975

 chaos
File size:63.79 KiB
Downloads:80976

 ftphelp2
File size:71.58 KiB
Downloads:61386

 ftphelp
File size:81.37 KiB
Downloads:61386

 foggycheckpoint
File size:51.3 KiB
Downloads:75602

 city of death
File size:133.5 KiB
Downloads:75602

 dumperjumper
File size:133.74 KiB
Downloads:75602

 AreyougoingtoSanFierro rar
File size:7.13 KiB
Downloads:3385

 2011 12 22 18 11 49 703
File size:107.09 KiB
Downloads:75602

 easter egg
File size:154.21 KiB
Downloads:75606

 carpark mess
File size:5.32 KiB
Downloads:3374

 gta sa 2011 12 20 22 09 16 04
File size:123.96 KiB
Downloads:75146

 gta sa 2011 12 20 21 47 38 70
File size:179.19 KiB
Downloads:75146

 gta sa 2011 12 20 21 54 36 29
File size:118.94 KiB
Downloads:75146

 000334
File size:67.54 KiB
Downloads:75172

 333busb
File size:131.03 KiB
Downloads:75172

 333bus
File size:159.74 KiB
Downloads:75172

 156
File size:140.53 KiB
Downloads:75212

 jtk374en
File size:309.72 KiB
Downloads:2787

 Challenger Challenge
File size:4.23 KiB
Downloads:3149

 Martinsville Nigths rar
File size:11.1 KiB
Downloads:2691

 race sulternus
File size:6.38 KiB
Downloads:3440

 race Hotwheels
File size:2.32 MiB
Downloads:3453

 race fuckyourshitup
File size:2.44 MiB
Downloads:3416

 race ANNIHILATION
File size:2.78 MiB
Downloads:3456

 Molest my brain
File size:13.58 KiB
Downloads:3445

 Races by ThE 0nE
File size:68.33 KiB
Downloads:2882

 The Classic Desert Race
File size:12.22 KiB
Downloads:2717

 Molest my brain
File size:13.58 KiB
Downloads:3489

 The GreaT Fall !
File size:9.37 KiB
Downloads:2717

 INTO CAR rar
File size:6.07 KiB
Downloads:2956

 707WIP2
File size:791.62 KiB
Downloads:52909

 707WIP1
File size:1011.19 KiB
Downloads:52909

 race the demi change up
File size:5.79 KiB
Downloads:2889

 acidbrain maps
File size:150.7 KiB
Downloads:2689

 Stijger Map Pack rar
File size:57.91 KiB
Downloads:2824

 Package DRUG
File size:60.28 KiB
Downloads:2718

 My Maps
File size:6.86 KiB
Downloads:2633

 5 new midtown mess maps
File size:20.12 KiB
Downloads:2640

 free falls3 fixed
File size:19.89 KiB
Downloads:3438

 alpine raceway
File size:8.8 KiB
Downloads:3399

 map package to drug
File size:675.55 KiB
Downloads:3481

 alar 1 4 4 rar
File size:343.86 KiB
Downloads:3852

 KF Detailed HUD Mod v1 0
File size:1.87 MiB
Downloads:2879

 webstats
File size:281.67 KiB
Downloads:15059

 automuter
File size:2.78 KiB
Downloads:3026

 adminchat
File size:1.88 KiB
Downloads:3015

 xrtdrug
File size:1.06 MiB
Downloads:23313

 XRT DRUGCREW rar
File size:156.05 KiB
Downloads:3047

 votemanager
File size:11.88 KiB
Downloads:3121

 playerrenamer
File size:1.39 KiB
Downloads:3013

 pms
File size:950 Bytes
Downloads:2965

 Chevrolet Nascar Monte Carlo DRuG 024 by Drago with skin by NikT rar
File size:2.72 MiB
Downloads:2715

 nascart
File size:1.38 MiB
Downloads:14830

 nascarf
File size:1.21 MiB
Downloads:14830

 nascarb
File size:1.01 MiB
Downloads:14830

 ohhaiinfernus
File size:234.67 KiB
Downloads:4405

 infernus
File size:254.63 KiB
Downloads:4436

 Flock 1 1 1 Portable
File size:13.21 MiB
Downloads:4488

 BlackDublin NikT
File size:2.93 MiB
Downloads:4771

 playerrenamer
File size:876 Bytes
Downloads:4690

 Low Detail Mod v1 3 KF
File size:42.05 KiB
Downloads:4568


 DRuG GTA Servers





 Newest members

Username Joined
|CrF|Alan 24 Aug
Fosty 17 Dec
[SiK]MoonLorD 01 Apr
Opal 23 Mar
ParabikMiPl 11 Dec
Donaldpi 30 Nov
[SiK]Westwood 16 May
2GOOD 24 Apr


 Link to us

Please feel free to link to
FORUMS.DRUGCREW.COM.

Use the following html:



Or add us elsewhere:

Bookmark and Share



  • Videos by drug
  


  • Latest global announcements

View the latest post Upload maps to ftp://maps:maps@nikt.drugcrew.com


That's right, I'll be processing maps again... please make sure you zip em and ghost mode is on.

Upload maps to ftp://maps:maps@nikt.drugcrew.com

Views: 39214  •  Comments: 4  •  Write comments


  • RECENT POSTS

View the latest post URL Cloaking removed for forums.drugcrew.com


Back in the day, some of you were complaining about me setting url frame/cloaking on forums.drugcrew.com.

Back then, I assumed PHPBB3, since it was still in beta, may be relatively exploitable - without the ability to easilty see where everything sat, this would have made any tweakers have a bit of a harder time... now we've been on gold a while, I decided it should be fine removing cloaking... enjoy the real domain addressing.

I have also just renewed the registration for another year.. $12 - thanks Elite.

Views: 3876  •  Comments: 0  •  Write comments

View the latest post Awsum drift handling line


yurghh, I gotta tell ya; It's pretty fun, but definitely isn't a drift line. From dead stop, turning left and gunning it turns you right :0 and good luck if you hit a hill :P

This is almost like the vortex, but a little less drag when you're going fast. That's the closest I can compare it. Good effort, needs a lot of reinvention though :P

Views: 14680  •  Comments: 5  •  Write comments

View the latest post I Finally Upgraded My PC...Finally!!!!


Yep, fan speed control is what's needed in that card. Also, like most of us here, I'm not the average Joe and love to tweak with things like that :P

If that's 90 degrees celcius, I don't consider that to be normal, cause the temperatures I work with are like 30 - 70 degrees celcius. With CPU's, 45nm Intel Core 2 Duo heatsinks are tiny as now and still run at temperatures of about 55 degrees on full load, unless you overclock that is. These CPU's have enormous overclocking potential.

Views: 14957  •  Comments: 7  •  Write comments

View the latest post Nexuiz


Yeah, what he said :mrgreen:

Views: 5456  •  Comments: 1  •  Write comments

View the latest post [JS|HTML] The Canvas Element


One of Apple's better creations. The canvas element basically allows you to draw easily and retroactively on a web page within a certain boundary. One of the best things about this element is it's transparent background, meaning you aren't truly limited to the ugly box form of traditional images.

Implementing the canvas itself is rather simple.

Code: Select all
<canvas id="monkey" width="150" height="150"></canvas>


You do not need to place anything inside the element, as anything inside will be omitted by a standards-compliant browser. However, any browser that does not yet support the element, will simply ignore it and display it's contents. Therefore for backwards compatibility, it's probably a good idea to put something in there along the lines of "Your browser is not capable of displaying this content." or whatever you like.

Anyway, back to the goodies.

You have to give the damn thing an id, that's an id, NOT a name you cronies. This way we can use the getElementById function to find our canvas in our script. That's right, we're using JavaScript, deal'.

Now unfortunately we can only draw in 2D, because the douche-bags that are coding this crap are as slow as you are. But don't worry, drawing stuff on the canvas is extremely easy. It has it's own set of built-in functions for this crap; it's great.

Of course, first you have to tell it you want to draw on it before it's going to let you do anything, so here goes.

Code: Select all
function canvasDraw() {
    var Canvas = document.getElementById('monkey');
    if (Canvas.getContext) {
        var Context = Canvas.getContext('2d');

    }
}
  


Confused yet? Thought so. It's too hard huh.

We create a function to draw something onto our canvas. We call the function canvasDraw. We set the canvas to a variable so we can use it easier (with less code). And finally, we do some cross-browser; Basically if the browser doesn't support canvas, it will ignore our script.

The new Context variable we've made is the drawing surface we'll be using to draw onto the canvas. Basically it's our tool that we will use to draw onto the canvas itself, since we left our pencils at home. Also note that I mentioned earlier, 3D contexts may be implemented later, but for now we'll be using the 2D one.

Simple? No? Too bad, it doesn't get much easier than that really.

Code: Select all
function canvasDraw() {
    var Canvas = document.getElementById('monkey');
    if (Canvas.getContext) {
        var Context = Canvas.getContext('2d');
        Context.fillRect(0, 0, 400, 300);
        Context.fillRect(400, 300, 400, 300);
        Context.clearRect(450, 350, 300, 200);
    }
}
  


Now you should have two black boxes in your canvas, and the right one with a big hole cut out of it.

For those of you who understand how simple this is, and already know the syntax for these functions, and how they work and affect the context, you may skip to the next paragraph. As for the rest of you, I'm very disappointed, really. fillRect is the function used to fill a rectangle on the context, and clearRect is the one used to remove a portion of the canvas and return it to the original transparent state. The syntax is fillRect(x, y, width, height), clearRect(x, y, width, height). Simple enough?

Also note that the clearRect function can be used to clear the canvas, useful for animations. And now for some more functions:

Code: Select all
strokeRect(x, y, width, height) // Same as fillRect, except it only draws the outline.
beginPath() // Lets the context know we want to draw a path
stroke() // Outlines the current path
fill() // Fills the current path            


Those are pretty simple to understand as they are, and require no input variables. But how do we draw paths? you ask. Well I'm getting to that, shut the hell up.

Code: Select all
moveTo(x, y) // Moves the path pointer to the specified location on the context
lineTo(x, y) // Draws a line from the current position of the context pointer,
             // to the specified location, and moves the pointer there
arc(x, y, radius, startAngle, endAngle, anticlockwise)
             // Draws an arc at the location specified using the angles provided
quadraticCurveTo(pnt1x, pnt1y, x, y)
bezierCurveTo(pnt1x, pnt1y, pnt2x, pnt2y, x, y) 


Alright, these functions; arc, moveTo and lineTo, are very easy to use, but can only be used while a path is initiated. Also note that the anticlockwise variable in the arc function is boolean, and specifies the direction in which the arc is drawn from the starting point.

The curves are a little harder, and we won't be covering them in this simple tutorial; but if you're keen to try it anyway, you just specify the end of the curve with the x and y, the start is the pointer, pnt1x and pnt1y specify the quadratic curve's corner point, but on the bezier it's the pointer's handle, and pnt2x/pnt2y are the end point's handle. Play around with them if you're feeling daring.

Now let's try drawing some paths.

Code: Select all
canvasDraw() {
    var Canvas = document.getElementById('monkey');
    if (Canvas.getContext) {
        var Context = Canvas.getContext('2d');
        Context.beginPath();
        var tX, tY, dist;
        for (var i = 0; i < 10; i++) {
            if (% 2 == 0) { dist = 25; } else { dist = 10; }
            tX = 75 + Math.sin(* Math.PI / 5) * dist;
            tY = 75 - Math.cos(* Math.PI / 5) * dist;
            if (== 0) { Context.moveTo(tX, tY); } else { Context.lineTo(tX, tY); }
        }
        Context.fill();
    }
}
 


That will draw us a pretty little 5 pointed black star in the middle of our canvas. Neat huh?

Now let's try an animation...

Code: Select all
var rot = 0;
function canvasDraw() {
    var Canvas = document.getElementById('monkey');
    if (Canvas.getContext) {
        var Context = Canvas.getContext('2d');
        Context.clearRect(0,0,150,150);
        Context.beginPath();
        var tX, tY, dist;
        for (var i = 0; i < 10; i++) {
            if (% 2 == 0) { dist = 25; } else { dist = 10; }
            tX = 75 + Math.sin(* Math.PI / 5 + rot) * dist;
            tY = 75 - Math.cos(* Math.PI / 5 + rot) * dist;
            if (== 0) { Context.moveTo(tX, tY); } else { Context.lineTo(tX, tY); }
        }
        Context.fill();
    }
    if (rot < Math.PI / 2.5) { rot = rot + Math.PI / 100; } else { rot = 0; }
    var t = setTimeout("canvasDraw();", 20);
}
 


And now our pretty little star spins!

Well that was enlightening. And since it's 4:36 in the morning, I think it's about time for some sleep.

Views: 6601  •  Comments: 0  •  Write comments



  • Who is online
  • In total there are 3 users online :: 2 registered, 0 hidden and 1 guest (based on users active over the past 60 minutes)
    Most users ever online was 1855 on Sat Mar 19, 2016 11:34 am

    Registered users: Bing [Bot], Google [Bot]

    KEY Click a group for info & members
    Administrators, AGS, APG, AoD, CBK, CJS, CtP, DM, DR, DRI, DRuG, FF, GTA-IL, ITK, LE, LF, LTP, M4D, MA, MTA, MW, SF, SKC, SNIP, SS, SiK, TDS, Zl, alr, alw

    Status Updates [hide]

    User avatar [SiK]1thwonder : Hey :)
    Mon Feb 24, 2020 7:20 pm
    User avatar Frank : Happy New Year Everyone!
    Wed Jan 01, 2020 1:44 pm
    User avatar [DRuG]NikT : Check out the downloads and members areas on drugcrew.com
    Mon Nov 04, 2019 6:25 am
    User avatar [DRuG]Llama : hello 8)
    Tue May 01, 2018 7:39 pm
    User avatar [DRuG]NikT : Happy New Year folks!!
    Tue Jan 02, 2018 6:13 pm




 Login

Username:


Password:


Remember me

Create an account


 FORUM STATISTICS

Total posts 10061
Total topics 1321
Total Announcements: 3
Total Stickies: 10
Total Attachments: 411
Page Loads: 42202855

Topics per day: 0
Posts per day: 2
Users per day: 0
Topics per user: 3
Posts per user: 23
Posts per topic: 8

Total members: 429
Latest: |CrF|Alan

 Domain Statistics

2002:
10 11 12
2003:
1 2 3 4 5 6 7 8 9 10 11 12
2004:
1 2 3 4 5 6 7 8 9 10 11 12
2005:
1 2 3 4 5 6 7 8 9 10 11 12
2006:
1 2 3 4 5 6 7 8 9 10 11 12
2007:
1 2 3 4 5 6 7 8 9 10 11 12
2007 - 2008
2008 - 2009

 Calendar

<< June 2025 >>
Mo Tu We Th Fr Sa Su
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30


 Last 10 visited bots

Bing [Bot]
Thu Jun 26, 2025 2:57 pm
Google [Bot]
Thu Jun 26, 2025 2:55 pm
Majestic-12 [Bot]
Thu Jun 26, 2025 9:23 am
Baidu [Spider]
Thu Jun 26, 2025 12:11 am
Exabot [Bot]
Thu Feb 06, 2025 6:15 pm
Ask Jeeves [Bot]
Thu Oct 24, 2024 11:20 pm
MSNbot Media
Tue Sep 03, 2024 3:26 pm
MSN [Bot]
Wed May 29, 2024 8:38 am
Google Adsense [Bot]
Sun Jul 17, 2022 9:47 am
Alexa [Bot]
Sun Dec 06, 2020 10:32 pm


 Arcade: Top Rated

*
Wheel of Fortune5 mouse 
Ratings: 4
Plays: 24333
*
Collapse5 mouse 
Ratings: 2
Plays: 12484
*
Curveball5 mouse 
Ratings: 2
Plays: 14206

 Arcade: Top Played

*
Alien Hominid4 keyboard 
Ratings: 1
Plays: 25268
*
Wheel of Fortune5 mouse 
Ratings: 4
Plays: 24333
*
Super Flash Mario Bros.4 keyboard 
Ratings: 1
Plays: 23569

DRuG5p34k


 PayPal donations