[GameMode] [GM] Counter-Strike 1.6 Mod - v0.1b IS OUT!
#1

Counter-Strike 1.6 Mod
Today I had the idea of making a gamemode for SA-MP that is like Counter-Strike 1.6, so.. I started doing it and now here it is.

It consists of a Counter-Terrorists team, a Terrorists team, and a Spectators team too. The spectators team has CJ skin, and spawn with infinite health (bah, about 100000 health so..) and no guns, so they just see the game.

The game takes place at the oil refinery north of Las Venturas.

Players can buy weapons with /buy command. Then they have a list of weapons, which have their same names and prices as in Counter-Strike, and you can buy them by writing '/buy [Weapon ID]'. For example: /buy 4 (Shotgun I think).

I hope you like it! And if you don't, please go easy on me :P. I'm pretty new and noobish on scripting.

Also, I'd appreciate if someone could help me with /help and /kill commands. They are there if you look around the script, but they don't work in game .

EDIT: I've done version 0.1b, where I fixed a bug because of which Spectators could buy weapons

Download link: http://www.sendspace.com/file/sd38nb
Reply
#2

Haha, thanks. I'm glad the great Seif liked it :P

I used CJ because well.. I don't really know how to make a /spec command or something of the sort.

Btw I use some of your FS's on my server, really great!
I just couldnt get seifeath to work
Reply
#3

i know how to make /help command and /teleport commands! for example (to make a help command):
PAWN Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
SendClientMessage(playerid, 0xFF9900AA, "/teleport for list of teleports and /rules for the rules");
{

return 1;
}
return 0;
}
Note: its only an examp dont use!
Reply
#4

here are the codes for colors:
COLOR_GREY 0xAFAFAFAA
COLOR_RED 0xAA3333AA
COLOR_YELLOW 0xFFFF00AA
COLOR_PINK 0xFF66FFAA
COLOR_BLUE 0x0000BBAA
COLOR_WHITE 0xFFFFFFAA
COLOR_LIGHTBLUE 0x33CCFFAA
COLOR_DARKRED 0x660000AA
COLOR_ORANGE 0xFF9900AA
COLOR_BRIGHTRED 0xFF0000AA
COLOR_INDIGO 0x4B00B0AA
COLOR_VIOLET 0x9955DEEE
COLOR_LIGHTRED 0xFF99AADD
COLOR_SEAGREEN 0x00EEADDF
COLOR_GRAYWHITE 0xEEEEFFC4
COLOR_LIGHTNEUTRALBLUE 0xabcdef66
COLOR_GREENISHGOLD 0xCCFFDD56
COLOR_LIGHTBLUEGREEN 0x0FFDD349
COLOR_NEUTRALBLUE 0xABCDEF01
COLOR_LIGHTCYAN 0xAAFFCC33
COLOR_LEMON 0xDDDD2357
COLOR_MEDIUMBLUE 0x63AFF00A
COLOR_NEUTRAL 0xABCDEF97
COLOR_BLACK 0x00000000
COLOR_NEUTRALGREEN 0x81CFAB00
COLOR_DARKGREEN 0x12900BBF
COLOR_LIGHTGREEN 0x24FF0AB9
COLOR_DARKBLUE 0x300FFAAB
COLOR_BLUEGREEN 0x46BBAA00
COLOR_PINK 0xFF66FFAA
COLOR_LIGHTBLUE 0x33CCFFAA
COLOR_DARKRED 0x660000AA
COLOR_ORANGE 0xFF9900AA
COLOR_PURPLE 0x800080AA
COLOR_GRAD1 0xB4B5B7FF
COLOR_GRAD2 0xBFC0C2FF
COLOR_RED1 0xFF0000AA
COLOR_GREY 0xAFAFAFAA
COLOR_GREEN 0x33AA33AA
COLOR_RED 0xAA3333AA
COLOR_YELLOW 0xFFFF00AA
COLOR_WHITE 0xFFFFFFAA
COLOR_BROWN 0x993300AA
COLOR_CYAN 0x99FFFFAA
COLOR_TAN 0xFFFFCCAA
COLOR_PINK 0xFF66FFAA
COLOR_KHAKI 0x999900AA
COLOR_LIME 0x99FF00AA
COLOR_SYSTEM 0xEFEFF7AA
COLOR_GRAD2 0xBFC0C2FF
COLOR_GRAD4 0xD8D8D8FF
COLOR_GRAD6 0xF0F0F0FF
COLOR_GRAD2 0xBFC0C2FF
COLOR_GRAD3 0xCBCCCEFF
COLOR_GRAD5 0xE3E3E3FF
COLOR_GRAD1 0xB4B5B7FF
i hope they helped all credits of these go to yaheli high roller member
Reply
#5

Quote:
Originally Posted by [SFSF
Ali ]
here are the codes for colors:
COLOR_GREY 0xAFAFAFAA
COLOR_RED 0xAA3333AA
COLOR_YELLOW 0xFFFF00AA
COLOR_PINK 0xFF66FFAA
COLOR_BLUE 0x0000BBAA
COLOR_WHITE 0xFFFFFFAA
COLOR_LIGHTBLUE 0x33CCFFAA
COLOR_DARKRED 0x660000AA
COLOR_ORANGE 0xFF9900AA
COLOR_BRIGHTRED 0xFF0000AA
COLOR_INDIGO 0x4B00B0AA
COLOR_VIOLET 0x9955DEEE
COLOR_LIGHTRED 0xFF99AADD
COLOR_SEAGREEN 0x00EEADDF
COLOR_GRAYWHITE 0xEEEEFFC4
COLOR_LIGHTNEUTRALBLUE 0xabcdef66
COLOR_GREENISHGOLD 0xCCFFDD56
COLOR_LIGHTBLUEGREEN 0x0FFDD349
COLOR_NEUTRALBLUE 0xABCDEF01
COLOR_LIGHTCYAN 0xAAFFCC33
COLOR_LEMON 0xDDDD2357
COLOR_MEDIUMBLUE 0x63AFF00A
COLOR_NEUTRAL 0xABCDEF97
COLOR_BLACK 0x00000000
COLOR_NEUTRALGREEN 0x81CFAB00
COLOR_DARKGREEN 0x12900BBF
COLOR_LIGHTGREEN 0x24FF0AB9
COLOR_DARKBLUE 0x300FFAAB
COLOR_BLUEGREEN 0x46BBAA00
COLOR_PINK 0xFF66FFAA
COLOR_LIGHTBLUE 0x33CCFFAA
COLOR_DARKRED 0x660000AA
COLOR_ORANGE 0xFF9900AA
COLOR_PURPLE 0x800080AA
COLOR_GRAD1 0xB4B5B7FF
COLOR_GRAD2 0xBFC0C2FF
COLOR_RED1 0xFF0000AA
COLOR_GREY 0xAFAFAFAA
COLOR_GREEN 0x33AA33AA
COLOR_RED 0xAA3333AA
COLOR_YELLOW 0xFFFF00AA
COLOR_WHITE 0xFFFFFFAA
COLOR_BROWN 0x993300AA
COLOR_CYAN 0x99FFFFAA
COLOR_TAN 0xFFFFCCAA
COLOR_PINK 0xFF66FFAA
COLOR_KHAKI 0x999900AA
COLOR_LIME 0x99FF00AA
COLOR_SYSTEM 0xEFEFF7AA
COLOR_GRAD2 0xBFC0C2FF
COLOR_GRAD4 0xD8D8D8FF
COLOR_GRAD6 0xF0F0F0FF
COLOR_GRAD2 0xBFC0C2FF
COLOR_GRAD3 0xCBCCCEFF
COLOR_GRAD5 0xE3E3E3FF
COLOR_GRAD1 0xB4B5B7FF
i hope they helped all credits of these go to yaheli high roller member
Lol -.-
Yaheli didn't create these colors. So why would he give him credit?..
Don't say things you don't know
About the mod, I wanna see how it's works. But only after school =D
Reply
#6

I was thinking about this a couple of mounth ago. How it would be to make SA-MP CS server. And it is very possible and it can be done allmost indentical as the original CS. The buy menu using OnPlayerKeyStateChange and PlayerToPoint, killmessage when someone kills someone, maps like dust (in desert) and other. It can be made but it need a lot of work and time.
Reply
#7

Nice, was working on a similar script, but I gave it up...
I had with key states (I think...) and menus, but it bugged up :P

Going to try it
Reply
#8

mistake: spectator can buy weapons its no good think
Reply
#9

Quote:
Originally Posted by [SFSF
Ali ]
i know how to make /help command and /teleport commands! for example (to make a help command):
PAWN Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
SendClientMessage(playerid, 0xFF9900AA, "/teleport for list of teleports and /rules for the rules");
{

return 1;
}
return 0;
}
Note: its only an examp dont use!
Uhh, thanks, but i do know how to make a command

And what's more I did it like that as I always do, yet it didnt work. I'm currently figuring it out and as soon i get it to work I'll release the new version. I'm also working on the bomb system

Also thanks for so many colors but i won't be needing them

Quote:
Originally Posted by VenZen
mistake: spectator can buy weapons its no good think
Oh lol thanks for telling me :P I hadn't noticed that. I'll change it right away

EDIT: Done. Version 0.1b is out! I'm currently working on the /help and /kill commands
Reply
#10

Interesting
Reply
#11

no problem i can help you but my english is too bad, but this mode can be great good area, good direction select....
Reply
#12

I got errors while compiling...

Don't have time to post them right now, but I will later...
Reply
#13

Quote:
Originally Posted by [SFSF
Ali ]
i know how to make /help command and /teleport commands! for example (to make a help command):
PAWN Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
SendClientMessage(playerid, 0xFF9900AA, "/teleport for list of teleports and /rules for the rules");
{

return 1;
}
return 0;
}
Note: its only an examp dont use!
Fail.
Reply
#14

Mike, you're a fail...
Seif has already said that it even won't work, so why bother reply for the same reason?
Reply
#15

any ss?
Reply
#16

:O CS:S Script lol not for me..
Reply
#17

Why you call it 1.6?
Reply
#18

Good GM mate
Reply
#19

IF you want help with commands i help u!
I can make them Fast
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)