Explicare variabile

Tutoriale scripting, cod si portiuni de cod.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
LondoN eXtream
Membru eXtream
Membru eXtream
Posts: 2755
Joined: 10 Oct 2014, 06:21
Detinator Steam: Da
SteamID: /id/london_extreamcs
Reputatie: Fost scripter eXtreamCS
Fost moderator ajutator
Membru Club eXtreamCS (6 luni)
Fond eXtream: 0
Location: Roman, Neamț
Has thanked: 3 times
Been thanked: 12 times

11 Apr 2016, 14:41

In diverse pluginuri vad lucruri de genul:

new PlayerModel [ 33 ] [ 32 ];
new szData [ 4 ] [ 48] etc.

1) Ce Repreziinta 33 (cumva id-ul?) dar 32?
2) Ce rep 4 (cumva nr caractere?) dar 48.
RoyalServer 2
The Kalu
Fost administrator
Fost administrator
Posts: 13707
Joined: 09 Oct 2010, 12:39
Detinator Steam: Da
CS Status: In grajd!
SteamID: kalulord
Reputatie: Fost Administrator
Fost membru Club eXtreamCS (6 luni)
Nume anterior: Terra
Location: Romania, Ploiesti
Has thanked: 328 times
Been thanked: 646 times
Contact:

11 Apr 2016, 15:13

Ala este un array cu numărul de coloane si rânduri.
Image
Lux0R^
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 1222
Joined: 13 Jul 2013, 16:31
Detinator Steam: Da
Reputatie: Scripter eXtreamCS
Moderator ajutator
Has thanked: 15 times
Been thanked: 12 times

11 Apr 2016, 17:27

new Matrix[line][colone]
adica pentru fiecare Matrix[line] ii corespund n coloane
si pentru fiecare Matrix ii corespund n linii

new Names[33][32] inseamna 33*32 adica pentru 33 de id-uri cate un nume de 32 caractere

sper ca ai inteles ceva
Pauza pana in iulie... licenta ^^

Fara pm-uri pentru pluginuri de zm/furien + tot ce tine de vip.

Codul Scripterului: scripting/codul-scripterului-t362300.html#p2754224
Post Reply

Return to “Scripting”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests