PDA

View Full Version : [GameMode] [GM]GangDM~By Bearfist~v.3.07[FINAL]


Bearfist
23/04/2009, 04:03 PM
----------------------------------GangDM v.3.07[FINAL]------------------------------------------------

Commands

/tut -> shows useful commands, which you need to know
/help
/telehelp = many teleports... ( also to liberty = /liberty )
/dmhelp = deathmatches
/dhelp = Commands for Drugdealers
/boxhelp = Commands for the BoxRing
/carhelp = Car Tunings like /nitro /hyd and so on
/ganghelp
/thugcmds = command which are only available if you are a "AdminThug"

/athug 28091991 = To become an adminthug ... you can change that password to whatever you want


Some other Commands
/cs = Cars Spawner
/alarm = To alarm other specific players to help you =)
/pInfo = To get another Player Infos
/explode = Creates a big explosion
/aexplode = Creates a big explosion to another player ^^
/jetpack
/ip = shows you the ip of the choosen player
/gw = Get Weapons by self created Menu with lots of ammu an a big choice of weapons
/gw2 = Switch between One handed Pistol's, Shotgun's and Uzi's and Second handed Pistol's, Shotgun's and Uzi's
/get[playerid] //new added in V.3.03
/goto[playerid]

-->and more commands


Integrated
Account System
Speedo with Vehicle Health!
DrugDealer System
Boxing System
Gang System
Gun Game
Car Spawner
Virtual Ammunation(Get weapons by /gw)

TEAMS
Grove Street -> CJ, Ryder,Sweet,Big Smoke
Ballas -> 3 Ballas
LS Vagos -> 3 Vagos
Varios Los Aztecas -> Cesar Vialpando and 3 more Aztecas
Cops -> Tenpenny, Pulaski, LS Cop
Anarchist
-> Each Player starts with 50000 Money

Gangzones
Gangzones are created for all Teams,exept the cops.


TeamKills added. After 10 Team Kills you got kicked!
Colors are disabled when you are in an deathmatch

[NEW ADDED in v.3.04]
->/goto & /cs are now available without being an Adminthug
->/get cmd added
->in Drugdealer System: changed /rocks to /bcrack and /trocks to /tcrack etc.
-> GunGame stil hat some bugs .. now fixed

[NEW ADDED in v.3.05]
->DrugDealer System reworked .. now you can sell drugs not only to players
->GunGame reworked again ... and Baseball Bat deleted
->Set Specific Colors for Entering a DM and Help cmd's etc.


[NEW ADDED in v.3.06]
->Commands to change the Weather

[NEW ADDED in v.3.07]
->3 WeaponSettings
->One Individual WeaponSetting which saves your currently WeaponSetting to a File
an loads it whenever you exit an deathmatch or died.
You only have to type /wIndividual or /wInd and your W-Setting got saved ;)
Everytime you die it saves your current WeaponSetting.
->GunGame fixed



Only SAMP 0.3 Server Compatible !

-----------------------------------------------------------------------------------------
--------------------------------> .PWN - FILE DOWNLOAD
http://www.file-upload.net/download-2815457/gangdm.pwn.html
--------------------------------> .AMX - FILE DOWNLOAD
http://www.file-upload.net/download-2815458/gangdm.amx.html
------------------------------------------------------------------------------------------

This gamemode would never be complete finished, because I often add new useful functions ;)

!All Bugs Fixed!

PS: Don't forget to reply what you think about my Gamemode ;)


LG Bearfist

godknightx
27/05/2009, 11:42 AM
I have errors...

E:\Szerverek\GTA\gamemodes\gangdm.pwn(4052) : warning 219: local variable "string" shadows a variable at a preceding level
E:\Szerverek\GTA\gamemodes\gangdm.pwn(4154) : warning 219: local variable "string" shadows a variable at a preceding level
E:\Szerverek\GTA\gamemodes\gangdm.pwn(4170) : warning 219: local variable "string" shadows a variable at a preceding level
E:\Szerverek\GTA\gamemodes\gangdm.pwn(4184) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.

Klutty
27/05/2009, 12:02 PM
Nice work. :)

AndroRyda_A
27/05/2009, 01:28 PM
Cool man thank you for uploading this script but i have one question, I was editing this script and translating it to my language and this happened:


C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4052) : warning 219: local variable "string" shadows a variable at a preceding level
C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4153) : warning 219: local variable "string" shadows a variable at a preceding level
C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4169) : warning 219: local variable "string" shadows a variable at a preceding level
C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4183) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.


Please I need to finish my work , so pls reply

Luka P.
27/05/2009, 01:36 PM
I have errors...

E:\Szerverek\GTA\gamemodes\gangdm.pwn(4052) : warning 219: local variable "string" shadows a variable at a preceding level
E:\Szerverek\GTA\gamemodes\gangdm.pwn(4154) : warning 219: local variable "string" shadows a variable at a preceding level
E:\Szerverek\GTA\gamemodes\gangdm.pwn(4170) : warning 219: local variable "string" shadows a variable at a preceding level
E:\Szerverek\GTA\gamemodes\gangdm.pwn(4184) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.


You have warnings not errors...


Cool man thank you for uploading this script but i have one question, I was editing this script and translating it to my language and this happened:


C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4052) : warning 219: local variable "string" shadows a variable at a preceding level
C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4153) : warning 219: local variable "string" shadows a variable at a preceding level
C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4169) : warning 219: local variable "string" shadows a variable at a preceding level
C:\PROGRA~1\ROCKST~2\GAMEMO~1\gangdm.pwn(4183) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.


Please I need to finish my work , so pls reply



Just delete new string at lines 4052,4153,4169,4183 and warnings will disappear

AndroRyda_A
27/05/2009, 01:41 PM
okay thanks. hvala

Luka P.
27/05/2009, 01:43 PM
No problem.

Ti si negdje sa balkana ili je to Google Translate?

AndroRyda_A
27/05/2009, 01:44 PM
Slovenija... :) znam da nas mrzite ali jebiga.... btw: why my friends cant login on my server, i can but they say that it says retrieving info all the time,, can you help pls

Luka P.
27/05/2009, 01:51 PM
Ja ne mrzim nikoga,ne brini,a to za drzave,Hrvatska je sa svakom susjednom drzavom posvađana,samo ne s Mađarima jer valjda vlada nezna mađarski haha..A pusti glupu politiku,jebes to

Your friends can`t connect because your 7777 port is not forwarded.You must forward port number 7777 (server.cfg -> port) and then your friend will can connect to your server. You can learn how to forward ports at www.portforward.com

AndroRyda_A
27/05/2009, 01:53 PM
e hvala ti :)

Luka P.
27/05/2009, 01:54 PM
No problem,but i will now write in English (i don`t want get ban from this forum)

AndroRyda_A
27/05/2009, 01:56 PM
hehe oke

shady91
27/05/2009, 03:14 PM
ill have a look at the problem i think who ever made this should have added user accounts folder so its neat ((its very easy))


and these warning should of been fix or the right inc files with it but ill look and see what it can be xD


EDIT:: i just look throught it tested it and its all goood to use no need to delete the warning there not a bother but its a bit plane script but nice good WORK!!

Luka P.
27/05/2009, 03:20 PM
ill have a look at the problem i think who ever made this should have added user accounts folder so its neat ((its very easy))


and these warning should of been fix or the right inc files with it but ill look and see what it can be xD

1) Just make a map (eg. UserAccounts) and change account saving to UserAccounts/%s.ini (ini is easy to read)
2) He say "You can use it as your own" - he didn`t write credits,so.. you can edit whatever you want,fix warnings,like 'unfinished job' i think :-[

shady91
27/05/2009, 04:01 PM
lol i ment he should of add like to save to a folder like this

format(string2, sizeof(string2), "Accounts/%s.ini", playername2);

so its neeed and .inc or .sav is much better then .txt. i think ;-)

shady91
27/05/2009, 04:03 PM
Yeah i think with in a few hours i could turn this into something cool new system more teles menu's commands to create parks etc.. you no.

AndroRyda_A
27/05/2009, 04:35 PM
guys help me i still don't know what to do with the 4 warnings, if i delete all this:

strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

then compile crashes... but if i delete just one part then i recive 26 errors..
Sorry if im thinking totaly wrong, but I'm new in scripting and right now im translating this script*..

shady91
27/05/2009, 07:24 PM
well you can leave them they wont harm you but if you want to go throught it all a nd redo it then it will be ok.

BP13
27/05/2009, 10:22 PM
can someone put a picture of what the speedometer is?

shady91
27/05/2009, 10:25 PM
open it and do yourself i dont think no onwa useing it

BP13
27/05/2009, 10:26 PM
SA isn't installed on this computer

shady91
27/05/2009, 10:28 PM
o well maybe some one might i dought its very special lol ;-)

BP13
27/05/2009, 10:36 PM
was just wondering if it looks "cool" or they just using F_Speedometer?

shady91
27/05/2009, 10:41 PM
na i duno what they use.

Bearfist
10/01/2010, 12:39 AM
I Fixed a lot bugs and added new Features ...
if you find some new bugs pls reply ...
LG Bearfist

Bearfist
10/01/2010, 01:01 AM
Sorry guys but i found a bug in the GunGame ...
I will fix it and reply if iam finished.

[EDIT] Now Fixed

Bearfist
12/09/2010, 10:02 AM
I fixed the complete OnPlayerSpawn. There were some problems.
The GunGame should work perfectly now

Bearfist

sekol
12/09/2010, 10:58 AM
Nice one !

SunnyBoy
12/09/2010, 11:59 AM
good work

Bearfist
12/09/2010, 12:10 PM
alright found another closing bracets bug .. fixed ...
sry guys

Bearfist

Yle
03/09/2011, 11:52 AM
Account System isn't working

[GTA]AmericanGangster
05/09/2011, 07:38 PM
man do you know how to fix erros?