Forum

> > CS2D > Scripts > Can I give a Player a Flag?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Can I give a Player a Flag?

4 replies
To the start Previous 1 Next To the start

old Can I give a Player a Flag?

Bowlinghead
User Off Offline

Quote
Hello,
I am planning a new script and I need your help.
Is it possible to give a Player a Flag?

Example:
1
2
3
4
5
6
7
8
9
10
11
12
13
-- Give a T a Flag
addhook("menu","menulol")
function menulol(id,t,b)
if t=="Title" then
if b==1 then
if player(id,"team")==1 then
parse("equip "..id.." 71")
else
parse("equip "..id.." 70")
end
end
end
end

But then this Error is comming:
1
ERROR: strip - cannot strip 71 - Blue Flag (this would lead to problems)!

Is it possible to fix it?
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview