[GameMode] Swat New Generation TDM [First Release]
#1

Introduction :


This Gamemod is a Short edit of New Generation TDM , so , i was bored , and tryed to add more Features for the GM , it is a basic one , and easy to use for beginners .
New Features :


- Map Change System
- There are two maps
- add more commands for Vips(/vmob /vrmob /vbox /vrbox /vip /vskin [skinid] /vshop)
- add /ask command for players
- a vip(premium or gold or silver) win more than normal player at killing
- /slap & /weather & /removescore & /removemoney & /(un)freeze for admins
- /gethere and /goto commands (for admins)
- AFK system (/afk & /back)
- New ban system( /ban to ban an account /permaban to ban a player for ever)
- Saving how many player is kicked/banned (in the database of the player)
- a short /stats command
- and more...

How to use ? :

to check if a player is vip :
Vip = 0 (normal player)
Vip = 1 (Silver Vip)
Vip = 2 (Gold Vip)
Vip = 3 (Premium Vip)

pawn Код:
if (Vip[playerid] >= 1) // if the vip lever is 1 or more than it(silver or than)
{
//do stuff here
}
to check if a player is an admin :
pawn Код:
if (AdminLevel[playerid] >= 1) // if the admin lever is 1 or more than it
{
//do stuff here
}
How to get the Player Name ?
Simple
pawn Код:
new string[200];
format(string, sizeof(string), " **{F5DEB3}your name of the player is {00CCFF} %s !! , PlayerName(playerid));
SendClientMessage(playerid,COLOR_MODRA, string);

CREDITS:

-Credits to SAMP Team
-Credits to Riso135 for the GM
-Credits to Kitten and Toreno for the Map Change
-Credits to Babul for all help he gave me
-Credits to all Scripters who helpped me (sorry i forget your names )
-Credits to ****** for sscanf and to DarkBlue

DOWNLOAD:

PasteBin: http://pastebin.com/jLXXS6ta
PasteBin(Fixed Warnings): pastebin.com/e2ps7ZGk
SolideFiles: http://solidfiles.com/d/3366176fa1/
Reply
#2

nice gamemode 8/10 keep up :P
Reply
#3

thank you a lot !
Reply
#4

Very nice and lovely game mode ! keep up and +1 for your own effort !
Reply
#5

thank you i hope you like it
Reply
#6

C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(136 4) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(211 1) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(211 6) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(218 3) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(218 6) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Warnings.
Reply
#7

Quote:
Originally Posted by [EuG]ZeRoGoD
Посмотреть сообщение
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(136 4) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(211 1) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(211 6) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(218 3) : warning 217: loose indentation
C:\Users\advent\Desktop\test\gamemodes\SNG.pwn(218 6) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Warnings.
show the lines.
Reply
#8

Quote:
Originally Posted by petrolhead
Посмотреть сообщение
show the lines.
Lol please can you read the warning, no need to show the lines.


OT: Nice gamemode, thanks for including me in the credits.


EDIT: fixed the gamemode for you, added

pawn Код:
main
{
}
http://pastebin.com/MjT3ayrL
Reply
#9

Quote:
Originally Posted by Kitten
Посмотреть сообщение
Lol please can you read the warning, no need to show the lines.


OT: Nice gamemode, thanks for including me in the credits.


EDIT: fixed the gamemode for you, added

pawn Код:
main
{
}
http://pastebin.com/MjT3ayrL
lol you have made it from warnings to 1 error :P

C:\Users\advent\Desktop\LAS VENTURES NIGHT DRIFT\gamemodes\SNG.pwn(160) : error 010: invalid function or declaration
C:\Users\advent\Desktop\LAS VENTURES NIGHT DRIFT\gamemodes\SNG.pwn(1367) : warning 217: loose indentation
C:\Users\advent\Desktop\LAS VENTURES NIGHT DRIFT\gamemodes\SNG.pwn(2112) : warning 217: loose indentation
C:\Users\advent\Desktop\LAS VENTURES NIGHT DRIFT\gamemodes\SNG.pwn(2117) : warning 217: loose indentation
C:\Users\advent\Desktop\LAS VENTURES NIGHT DRIFT\gamemodes\SNG.pwn(2184) : warning 217: loose indentation
C:\Users\advent\Desktop\LAS VENTURES NIGHT DRIFT\gamemodes\SNG.pwn(2187) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

no problem tho
Reply
#10

Looks good. going to try it.
Reply
#11

Quote:
Originally Posted by Kitten
View Post
Lol please can you read the warning, no need to show the lines.


OT: Nice gamemode, thanks for including me in the credits.


EDIT: fixed the gamemode for you, added

pawn Code:
main
{
}
http://pastebin.com/MjT3ayrL
No Problem you helped me a lot man , i hope you like the GM and thanks for the fixing link
Reply
#12

Quote:
Originally Posted by ServerScripter
View Post
No Problem you helped me a lot man , i hope you like the GM and thanks for the fixing link
Its not fixed ! cant you see the reply #10 ? Its now giving errors
Reply
#13

i know , i said thanks for the effort he did (trying to fix the link)

EDIT : so the warnings are due the loose inendation , (you can just ignore it... sorry to all for those warnings.. )
Reply
#14

you can ignore them by

pawn Code:
#pragma tabsize 0 //use this for awhile if you are lazy in fixing Loose Indentation
but still the warnings are still inside the script.

by the way Looks nice, but i don't want to create 3 servers, 2 is enough.
8/10, about the warnings that makes your script worst
Reply
#15

Quote:
Originally Posted by ServerScripter
View Post
i know , i said thanks for the effort he did (trying to fix the link)

EDIT : so the warnings are due the loose inendation , (you can just ignore it... sorry to all for those warnings.. )
shouldent ignore them just see what may cause it im still trying to finde out if anyluck ill be sure to let you know
Reply
#16

Code:
 if(dialogid == 8) {
        if(response == 1) {
            switch(listitem) {
                case 0:
                {
                    if(GetPlayerMoney(playerid) < 2000) {
                    }
                    else {
                        GivePlayerMoney(playerid,-2000);
                        GivePlayerWeapon(playerid,22,100);
                    }
                }
thats ur problem well 1 of them :P
Reply
#17

here's the fixed one : http://pastebin.com/e2ps7ZGk
Reply
#18

Quote:
Originally Posted by Xtreme_playa
View Post
here's the fixed one : http://pastebin.com/e2ps7ZGk
were dose the saved files goto cant see them in unsers :O or do i have to make one ??
Reply
#19

Quote:
Originally Posted by [EuG]ZeRoGoD
View Post
were dose the saved files goto cant see them in unsers :O or do i have to make one ??
Yeah create a folder named "cs" in the scriptfiles folder of your samp directory, otherwise your server would shutdown when you try to register.
Reply
#20

Quote:
Originally Posted by Xtreme_playa
View Post
Yeah create a folder named "cs" in the scriptfiles folder of your samp directory, otherwise your server would shutdown when you try to register.
do you get runtime error when u load it up??
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)