SA-MP Forums Archive
[FilterScript] [FS] DrugDealer - Mini Game - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] DrugDealer - Mini Game (/showthread.php?tid=74754)



[FS] DrugDealer - Mini Game - Shadow_ - 25.04.2009

[FS] Drug Dealer - Mini Game
Do What you want with the script, I don't care.

Download

Orignal Script - [SMF]Johnny (RPG:SL)
Edited Version - Shadow (PR-RP)

Updated - This script previously was only able for PEN, I have now edited so it should now work with any gamemode its implemented in or simply add the Filterscript to your list.

Have Fun,

Shadow-


Re: PEN:LS - ADDON! Drugdealer Job - OGganza - 25.04.2009

wicked awesome shadow i will definitly use it on my server you did a great job thx


Re: PEN:LS - ADDON! Drugdealer Job - Shadow_ - 25.04.2009

That's if it works so make a backup first!
ill doo updates if people like it


Re: PEN:LS - ADDON! Drugdealer Job - Dizzlah - 25.04.2009

Does the officer get the drugs on him.
In his inventory or it gonna be deleted?


Re: PEN:LS - ADDON! Drugdealer Job - Shadow_ - 26.04.2009

when the officer takes the drugs, they just dissappear!


Re: PEN:LS - ADDON! Drugdealer Job - miokie - 02.05.2009

Good job shadow.
woudln't it be better if you tested it with the Pen:LS script first? :P


Re: PEN:LS - ADDON! Drugdealer Job - Shadow_ - 02.05.2009

ceeebs


Re: PEN:LS - ADDON! Drugdealer Job - [IB]Scorcher - 15.05.2009

Should of tested it first, lol.


Re: PEN:LS - ADDON! Drugdealer Job - Shadow_ - 15.05.2009

ceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeebs, it has been tested kinda, but it was like intergrated into the script along time ago, and i saw it in my folder so i thought i release.

So i know it definatly works, if i included everything there.


Re: PEN:LS - ADDON! Drugdealer Job - Rks25 - 16.05.2009

is it just me or are some things like PlayerDealer not defined?


Re: PEN:LS - ADDON! Drugdealer Job - Joe Staff - 16.05.2009

yeah this is from the Streetlife Server, the author is [SMF]Johnny, he scripted the drug thing anyway


Re: PEN:LS - ADDON! Drugdealer Job - mini-d - 17.05.2009

Код:
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9127) : error 017: undefined symbol "GetDistanceBetweenPlayers"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : error 017: undefined symbol "Drugs"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : warning 215: expression has no effect
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : error 001: expected token: ";", but found "]"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : error 029: invalid expression, assumed zero
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
lines 9127 and 9128
Код:
if (GetDistanceBetweenPlayers(i,playerid) < 4) {
                if (Drugs[i] > 0) {



Re: PEN:LS - ADDON! Drugdealer Job - miokie - 17.05.2009

Quote:
Originally Posted by DeathGod
Код:
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9127) : error 017: undefined symbol "GetDistanceBetweenPlayers"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : error 017: undefined symbol "Drugs"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : warning 215: expression has no effect
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : error 001: expected token: ";", but found "]"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : error 029: invalid expression, assumed zero
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9128) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
lines 9127 and 9128
Код:
if (GetDistanceBetweenPlayers(i,playerid) < 4) {
                if (Drugs[i] > 0) {
At the top of the script:
pawn Код:
new Drugs[MAX_PLAYERS];
And find GetDistanceBetweenPlayers On the forums. (I think it may be in the Pen:LS gamemode since it is a AddOn for it.


Re: PEN:LS - ADDON! Drugdealer Job - mini-d - 18.05.2009

Код:
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(20690) : warning 208: function with tag result used before definition, forcing reparse
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9157) : error 017: undefined symbol "PlayerDealer"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9157) : warning 215: expression has no effect
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9157) : error 001: expected token: ";", but found "]"
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9157) : error 029: invalid expression, assumed zero
D:\Dean's Documents\samp02Xserver.win32\gamemodes\Freeroamv2.pwn(9157) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
line 20690
Код:
stock Float:GetDistanceBetweenPlayers(p1,p2){
line 9157
Код:
 if(PlayerDealer[playerid] == JOB_DEALER) {



Re: PEN:LS - ADDON! Drugdealer Job - rensfromrpas - 18.05.2009

Is There an installation guide?


Re: PEN:LS - ADDON! Drugdealer Job - joeri55 - 01.06.2009

Link doesn't work for me please re-upload it.


Re: PEN:LS - ADDON! Drugdealer Job - Shadow_ - 01.06.2009

the link has expired, and i don't have it all atm, so i shall get it again in full and send to you!


Re: PEN:LS - ADDON! Drugdealer Job - Shadow_ - 25.06.2009

BUMP!!! Should work now !