Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2016-02-02, 23:14


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

Pawn
    enum Gracz
    {
        Admin
        //inne rzeczy, kt?re chcesz zapisywa?, np. czy gracz jest w jakiej? frakcji itd.
    }
    
    new PlayerInfo[MAX_PLAYERS][Gracz];


Nie doda?e?. Je?li nic nie masz zamiaru trzymac w tym enumie to polecam zrobi? zwyk?? zmienn?
Pawn
new Admin[MAX_PLAYERS];

i jej u?ywa? w kodzie.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-02-03, 20:03


RebelianT

Uczeń PAWN






Wiek: 51
Na forum: 3842 dni
Posty: 217
Nick w MP: RebelianT

Piwa: 1844

Respekt: 50,5

Ostrzeżeń: 100%
Doda?em i znowu errory. Chyba sobie odpuszcze PAWN :facepalm:

Pawn
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(145) : warning 219local variable "Gracz" shadows a variable at a preceding level
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(148) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(148) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(149) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(145) : warning 204symbol is assigned a value that is never used"Gracz"
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(394) : warning 219local variable "Gracz" shadows a variable at a preceding level
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(397) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(397) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(398) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(399) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(400) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(401) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(394) : warning 204symbol is assigned a value that is never used"Gracz"
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(394 -- 407) : warning 219local variable "Gracz" shadows a variable at a preceding level
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(410) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(410) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(411) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(407) : warning 204symbol is assigned a value that is never used"Gracz"
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(407 -- 424) : warning 219local variable "Gracz" shadows a variable at a preceding level
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(427) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(427) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(428) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(430) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(431) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(432) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(424) : warning 204symbol is assigned a value that is never used"Gracz"
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(424 -- 440) : warning 219local variable "Gracz" shadows a variable at a preceding level
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(443) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(443) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(444) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(446) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(447) : error 035argument type mismatch (argument 1)
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(448) : warning 202number of arguments does not match definition
C:\Users\Dom\Desktop\dre\gamemodes\mapa.pwn(440) : warning 204symbol is assigned a value that is never used"Gracz"


Podpis


Witaj
! Wolę RESPEKT, zamiast piwek! lol
Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-02-03, 20:26


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

Pode?lij ca?y kod skryptu/mapy, je?eli to dla Ciebie wa?ne i nie chcesz tutaj publikowa? to wrzu? na pastebin kod jako prywatny i daj na PW, naprawi? Ci to.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-02-08, 23:06


SyNTheTiC

Były Pawner






Wiek: 29
Na forum: 4147 dni
Posty: 188
Nick w MP: FatalErroR

Piwa: 743

Respekt: 170,5
Respekt: 170,5Respekt: 170,5

https://www.youtube.com/w...AA9452&index=14

Masz tutaj jak zrobi? system rang jednak nie polecam ci dini jest bardzo wolny ,poniewaz on otwiera zamyka zapisuje zn?w otwiera doda jedn? linijk? i zapisuje etc. polecam ci dfile ale pierw zr?b system rang pod dini dodasz jaki? temat bez problemu mog? zmieni? ci na dfile :D

Podpis
Wolę Respekt Zamiast Piw :D
Postaw piwo autorowi tego posta
 

 
Tagi: rangi
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » Rangi Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku