[POMOC]U vezi cmd

Započeo FalconyAS, Avgust 07, 2013, 16:35:12 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta:Moja
Opis problema:Izbacuje mi 6 errora ne kontma zasto moze neko pomoci (cmd za provjeru statsa)...
Errori

D:\Documents and Settings\Dalibor\Desktop\DS-RP Mod\gamemodes\DSRP.pwn(29489 -- 29490) : error 001: expected token: ",", but found ";"
D:\Documents and Settings\Dalibor\Desktop\DS-RP Mod\gamemodes\DSRP.pwn(29492 -- 29494) : error 001: expected token: ",", but found ";"
D:\Documents and Settings\Dalibor\Desktop\DS-RP Mod\gamemodes\DSRP.pwn(29496 -- 29498) : error 001: expected token: ",", but found ";"
D:\Documents and Settings\Dalibor\Desktop\DS-RP Mod\gamemodes\DSRP.pwn(29500 -- 29502) : error 001: expected token: ",", but found ";"
D:\Documents and Settings\Dalibor\Desktop\DS-RP Mod\gamemodes\DSRP.pwn(29504 -- 29506) : error 001: expected token: ",", but found ";"
D:\Documents and Settings\Dalibor\Desktop\DS-RP Mod\gamemodes\DSRP.pwn(29508 -- 29510) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.


CMD

CMD:check(playerid, params[])
{
new id,string[256];
if(PlayerInfo[playerid][pAdmin] < 1)return SendClientMessage(playerid, CRVENA, "Niste admin!");
if(sscanf(params, "u", id)) return SCM(playerid,BELA, "Koristite: {BFC0C2}/check [ID Igraca]");
SCM(playerid,-1,"|________INFORMACIJE O IGRACU________|");
format(string,256,"Novac %d$ | Banka %d$ | Level %d | Respekta %d |",
PlayerInfo[id][pNovcanik],PlayerInfo[id][pBanka],PlayerInfo[id][pLevel],PlayerInfo[id][pRespekti];
SCM(playerid,-1,string);
format(string,256,"Droga %d | Mats %d | Kuca %d |Stan %d | Firma %d |",
PlayerInfo[id][pDroga],PlayerInfo[id][pMaterijali],PlayerInfo[id][pPosedovanjeKuce],
    PlayerInfo[id][pPosedovanjeStana],PlayerInfo[id][pPosedovanjeFirme];
    SCM(playerid,-1,string);
         format(string,256,"Vikendica %d | A %d | GS %d | Reket %d | Ubistava %d |",
         PlayerInfo[id][pPosedovanjeVikendice],
     PlayerInfo[id][pAdmin],PlayerInfo[id][pGS],PlayerInfo[id][pReket],PlayerInfo[id][pUbistva];
     SCM(playerid,-1,string);
     format(string,256,"Smrti %d | OnSati %d | Spol %d | Porjeklo %d | Telefon %d |",
      PlayerInfo[id][pSmrti],PlayerInfo[id][pOnlineSati],PlayerInfo[id][pPol],PlayerInfo[id][pPoreklo],
   PlayerInfo[id][pTelefon],PlayerInfo[id][pBrojTelefona];
   SCM(playerid,-1,string);
   format(string,256,"BrTelefona %d | GPS %d | Posao %d | Skin %d | Lider %d |",
   PlayerInfo[id][pBrojTelefona],PlayerInfo[id][pGPS],PlayerInfo[id][pPosao],
   PlayerInfo[id][pSkin],PlayerInfo[id][pLider];
       SCM(playerid,-1,string);
       format(string,256,"Clan %d | Rank %d | Spawn %d | Imenik %d | Rent %d |",
       PlayerInfo[id][pClan],PlayerInfo[id][pRank],
   PlayerInfo[id][pSpawn],PlayerInfo[id][pImenik],PlayerInfo[id][pRent];
   SCM(playerid,-1,string);
       format(string,256,"PDP %d | V %d | MO %d | BI %d | PL %d | LE %d | VIP %d |",
       PlayerInfo[id][pPayDayPoeni],
   PlayerInfo[id][pVozilo],PlayerInfo[id][pMotor],PlayerInfo[id][pBicikla],PlayerInfo[id][pPlovilo],
   PlayerInfo[id][pLetelica],PlayerInfo[id][pVIP]);
   SCM(playerid,-1,string);
return 1;
}


Neko pomoc hitno
[TuT]-Vozila na posebnog igrača- http://balkan-samp.com/forum/index.php?topic=78806.0 | [FS]-G.P.S- http://balkan-samp.com/forum/index.php?topic=73768.0
[FS]-Rcon Panel- http://balkan-samp.com/forum/index.php?topic=72595.0 | [GM]-Division Street(stari)- http://balkan-samp.com/forum/index.php?topic=78810.0
Citat: magarac poslato Avgust 28, 2013, 18:58:01 POSLE PODNE
Ma jbt ne zelim ja to...... koji k ce mi takva camera di trci okolo......

<script type="text/javascript">
var bannersnack_embed = {"hash":"bxui659h2","width":400,"height":130,"t":1421676936,"userId":16712396,"bgcolor":"#3D3D3D","wmode":"opaque"};
</script>
<script type="text/javascript" src="http://files.bannersnack.com/iframe/embed.js"></script>

stavi ovako
CMD:check(playerid, params[])
{
new id,string[256];
if(PlayerInfo[playerid][pAdmin] < 1)return SendClientMessage(playerid, CRVENA, "Niste admin!");
if(sscanf(params, "u", id)) return SCM(playerid,BELA, "Koristite: {BFC0C2}/check [ID Igraca]");
SCM(playerid,-1,"|________INFORMACIJE O IGRACU________|");
format(string,256,"Novac %d$ | Banka %d$ | Level %d | Respekta %d |",
PlayerInfo[id][pNovcanik],PlayerInfo[id][pBanka],PlayerInfo[id][pLevel],PlayerInfo[id][pRespekti]);
SCM(playerid,-1,string);
format(string,256,"Droga %d | Mats %d | Kuca %d |Stan %d | Firma %d |",
PlayerInfo[id][pDroga],PlayerInfo[id][pMaterijali],PlayerInfo[id][pPosedovanjeKuce],
    PlayerInfo[id][pPosedovanjeStana],PlayerInfo[id][pPosedovanjeFirme]);
    SCM(playerid,-1,string);
         format(string,256,"Vikendica %d | A %d | GS %d | Reket %d | Ubistava %d |",
         PlayerInfo[id][pPosedovanjeVikendice],
     PlayerInfo[id][pAdmin],PlayerInfo[id][pGS],PlayerInfo[id][pReket],PlayerInfo[id][pUbistva]);
     SCM(playerid,-1,string);
     format(string,256,"Smrti %d | OnSati %d | Spol %d | Porjeklo %d | Telefon %d |",
      PlayerInfo[id][pSmrti],PlayerInfo[id][pOnlineSati],PlayerInfo[id][pPol],PlayerInfo[id][pPoreklo],
   PlayerInfo[id][pTelefon],PlayerInfo[id][pBrojTelefona]);
   SCM(playerid,-1,string);
   format(string,256,"BrTelefona %d | GPS %d | Posao %d | Skin %d | Lider %d |",
   PlayerInfo[id][pBrojTelefona],PlayerInfo[id][pGPS],PlayerInfo[id][pPosao],
   PlayerInfo[id][pSkin],PlayerInfo[id][pLider]);
       SCM(playerid,-1,string);
       format(string,256,"Clan %d | Rank %d | Spawn %d | Imenik %d | Rent %d |",
       PlayerInfo[id][pClan],PlayerInfo[id][pRank],
   PlayerInfo[id][pSpawn],PlayerInfo[id][pImenik],PlayerInfo[id][pRent]);
   SCM(playerid,-1,string);
       format(string,256,"PDP %d | V %d | MO %d | BI %d | PL %d | LE %d | VIP %d |",
       PlayerInfo[id][pPayDayPoeni],
   PlayerInfo[id][pVozilo],PlayerInfo[id][pMotor],PlayerInfo[id][pBicikla],PlayerInfo[id][pPlovilo],
   PlayerInfo[id][pLetelica],PlayerInfo[id][pVIP]);
   SCM(playerid,-1,string);
return 1;
}



fale ti zagrade } nisi format zatvorio
Other Dimension RolePlay | Uskoro
Ukoliko zelite pomoci u razvoju servera, mozete se meni javit na PP/PM!

Skužio i sam može lock ovdje :)
!
[TuT]-Vozila na posebnog igrača- http://balkan-samp.com/forum/index.php?topic=78806.0 | [FS]-G.P.S- http://balkan-samp.com/forum/index.php?topic=73768.0
[FS]-Rcon Panel- http://balkan-samp.com/forum/index.php?topic=72595.0 | [GM]-Division Street(stari)- http://balkan-samp.com/forum/index.php?topic=78810.0
Citat: magarac poslato Avgust 28, 2013, 18:58:01 POSLE PODNE
Ma jbt ne zelim ja to...... koji k ce mi takva camera di trci okolo......

<script type="text/javascript">
var bannersnack_embed = {"hash":"bxui659h2","width":400,"height":130,"t":1421676936,"userId":16712396,"bgcolor":"#3D3D3D","wmode":"opaque"};
</script>
<script type="text/javascript" src="http://files.bannersnack.com/iframe/embed.js"></script>