[Pomoc] Nece sifra

Započeo Partybreaker, Jul 19, 2011, 00:21:06 PRE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim: Moja
Detaljan opis problema: Hmm,udjem na kucni server,dam sebi admina i sve je ok. Ali kad udjem na hostani server,ne mogu sebi dati admina preko GP,tj upisem ja 1338 ali ne mogu da udjem na server,pise da mi je sifra pogresna,a znam da nije. Ja stavim umjesto 1338 u GM IsPlayerAdmin(playerid)) ali mi izbaci errore
Dio skripte: Mislim da ne treba.
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Poslednja Izmena: Jul 19, 2011, 00:23:01 PRE PODNE od Partybreaker


Server IP: 193.192.58.82:7782
Forum: www.balkan-underline.info


Napravi u komadni za postavljanje admina,da rcon logovan admin moze davati admin nivoe drugim igracima...
I tvoj problem je resen..

Citat: Aleksandar? poslato Jul 19, 2011, 00:23:29 PRE PODNE
Napravi u komadni za postavljanje admina,da rcon logovan admin moze davati admin nivoe drugim igracima...
I tvoj problem je resen..
Upravo ovo sto je aleksandar rekao,ako ne znas postavi ovde komandu /makeadmin i odradicu ti ja ...;)

Vidite ovo:
if(PlayerInfo[playerid][pAdmin] >= 1338)

Ja to zamijenim sa:

IsPlayerAdmin(playerid))

I meni izbaci ove errore:

C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44979) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44979) : error 029: invalid expression, assumed zero
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44994) : error 029: invalid expression, assumed zero
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44994) : warning 215: expression has no effect
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44994) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Server IP: 193.192.58.82:7782
Forum: www.balkan-underline.info


Citat: Partybreaker poslato Jul 19, 2011, 00:28:46 PRE PODNE
Vidite ovo:
if(PlayerInfo[playerid][pAdmin] >= 1338)

Ja to zamijenim sa:

IsPlayerAdmin(playerid))

I meni izbaci ove errore:

C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44979) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44979) : error 029: invalid expression, assumed zero
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44994) : error 029: invalid expression, assumed zero
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44994) : warning 215: expression has no effect
C:\Documents and Settings\winxp\Desktop\server\gamemodes\BUL.pwn(44994) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


moras ovako staviti

if(PlayerInfo[playerid][pAdmin] >= 1338 || IsPlayerAdmin(playerid))
//

Zahvaljujem!

Rijesio sam,moze lock.


Server IP: 193.192.58.82:7782
Forum: www.balkan-underline.info