Forum

> > CS2D > Scripts > Scripter in need .
Forums overviewCS2D overview Scripts overviewLog in to reply

English Scripter in need .

10 replies
To the start Previous 1 Next To the start

old Scripter in need .

Kirito2K
User Off Offline

Quote
Hi all,
I was making my script and i had some errors and i'm lazy for checking it , so i said maybe some one will help me .

The Code >


The errors :
1- Put yourself an admin and try to use the color menu , there is a bug , it don't work , it's Yates shit color menu .

2- Put yourself an admin and open menu and press Specail Spawn , it don't work ..

PS :
1- When i try to open the color menu there isn't a error comes in the console but it don't work.
2- When i try to use specail spawn , it gives an error (LUA ERROR: sys/lua/server/F2.lua:582: bad argument #1 to 'ipairs' (table expected, got nil))
3- This script is happy town script and it need a very big map .

old Re: Scripter in need .

Ajmin
User Off Offline

Quote
I can help u with lua.

Edit:
Code [shit colour menu fixed >



for fixing the special spawn refer the "id" and also the placement of "end"

startround doesnt have any value for "id" !!!
edited 6×, last 05.12.14 10:49:17 pm

old Re: Scripter in need .

Zeik
User Off Offline

Quote
lol dude, if you think someone else's code's shit then don't use it and make your own.

old Re: Scripter in need .

Joni And Friends
User Off Offline

Quote
You adding the same functions with different name
user Kirito2K has written
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function existk(param)
if player(param,"exists") then
return player(param,"name")
else
return ""
end
end

function existb(param)
if player(param,"exists") then
return player(param,"name")
else
return ""
end
end

function existslap(param)
if player(param,"exists") then
return player(param,"name")
else
return ""
end
end

old Re: Scripter in need .

Raaj Nadar
User Off Offline

Quote
@user Joni And Friends:
user Joni And Friends has written
You adding the same functions with different name
user Kirito2K has written
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function existk(param)
if player(param,"exists") then
return player(param,"name")
else
return ""
end
end

function existb(param)
if player(param,"exists") then
return player(param,"name")
else
return ""
end
end

function existslap(param)
if player(param,"exists") then
return player(param,"name")
else
return ""
end
end


That is because
1) existk -- for Exist Player for kicking.
1) existb -- for Exist Player for baning.
1) existslap -- for Exist Player for slapping.

check before posting.

@user Kirito2K: i can't help you sorry i can't figure the mistake.
(param) try chaning this to (id) for kick ban and slap (param) i never used.

@user Zeik: The name of the File itself is yates shit color menu.
no one can do anything for that.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview