Forum

> > CS2D > Scripts > Can I give a Player a Flag?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Can I give a Player a Flag?

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Can I give a Player a Flag?

Bowlinghead
User Off Offline

Zitieren
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?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht