[Pomoc]4 Errora

Započeo Sic Macko :D, Oktobar 16, 2011, 16:12:53 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Jedan Edit
Detaljan opis problema: 4 Errora
Dio skripte:  33859 linija         { 33861 linija { 33866 linija {
Neke slike/video za lakse dobivanje pomoci(neobavezno): E:\Silvio\Podaci\Server Pordaci - Security RolePlay\Podaci\Game Mod\Exractan Mod\Test Server\RedLine\gamemodes\rcrp.PWN(33859) : error 075: input line too long (after substitutions)
E:\Silvio\Podaci\Server Pordaci - Security RolePlay\Podaci\Game Mod\Exractan Mod\Test Server\RedLine\gamemodes\rcrp.PWN(33861) : error 001: expected token: ",", but found "-rational value-"
E:\Silvio\Podaci\Server Pordaci - Security RolePlay\Podaci\Game Mod\Exractan Mod\Test Server\RedLine\gamemodes\rcrp.PWN(33861) : error 029: invalid expression, assumed zero
E:\Silvio\Podaci\Server Pordaci - Security RolePlay\Podaci\Game Mod\Exractan Mod\Test Server\RedLine\gamemodes\rcrp.PWN(33866) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Ime Servera: Security RolePlay
Server IP: Uskoro !

dragan12

33859 - Predugacka ti je linija
33861 - Samo prevedi i znaces
Daj to sto si radio da vidim sta si uradio i obelezi kada das koja je koja linija

radio sam /balance
if(strcmp(cmd, "/balance", true) == 0)
{
    if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pLocal] == 103 || (PlayerToPoint(1.5, playerid, 1346.5016,-1758.7649,13.5156) || PlayerToPoint(1.5, playerid, 1592.7152,-2335.3748,13.5400) || PlayerToPoint(1.5, playerid, 2308.4612,-1634.4176,14.8270) || PlayerToPoint(1.5, playerid, 2865.9014,-1415.4203,11.0061) || PlayerToPoint(1.5, playerid, 2404.5913,-1229.8973,23.8301) || PlayerToPoint(1.5, playerid, 1172.5912,-1328.4365,15.4034) || PlayerToPoint(1.5, playerid, 1192.6980,-917.2337,43.1871) || PlayerToPoint(1.5, playerid, 1495.9968,-1749.2003,15.4453))
{
format(string, sizeof(string), "  Imate $%d na vasem racunu.",PlayerInfo[playerid][pAccount]);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "   Niste u banci !");
            return 1;
}
}
return 1;
}

Ime Servera: Security RolePlay
Server IP: Uskoro !

dragan12

Ova linija je malo vise nego dugacka skrati je
       if(PlayerInfo[playerid][pLocal] == 103 || (PlayerToPoint(1.5, playerid, 1346.5016,-1758.7649,13.5156) || PlayerToPoint(1.5, playerid, 1592.7152,-2335.3748,13.5400) || PlayerToPoint(1.5, playerid, 2308.4612,-1634.4176,14.8270) || PlayerToPoint(1.5, playerid, 2865.9014,-1415.4203,11.0061) || PlayerToPoint(1.5, playerid, 2404.5913,-1229.8973,23.8301) || PlayerToPoint(1.5, playerid, 1172.5912,-1328.4365,15.4034) || PlayerToPoint(1.5, playerid, 1192.6980,-917.2337,43.1871) || PlayerToPoint(1.5, playerid, 1495.9968,-1749.2003,15.4453)) 
Evo ideje za to kako skratiti: http://balkan-samp.com/forum/index.php?topic=32088.0

Citat: [BD]Gagi poslato Oktobar 16, 2011, 16:27:39 POSLE PODNE
Ova linija je malo vise nego dugacka skrati je
       if(PlayerInfo[playerid][pLocal] == 103 || (PlayerToPoint(1.5, playerid, 1346.5016,-1758.7649,13.5156) || PlayerToPoint(1.5, playerid, 1592.7152,-2335.3748,13.5400) || PlayerToPoint(1.5, playerid, 2308.4612,-1634.4176,14.8270) || PlayerToPoint(1.5, playerid, 2865.9014,-1415.4203,11.0061) || PlayerToPoint(1.5, playerid, 2404.5913,-1229.8973,23.8301) || PlayerToPoint(1.5, playerid, 1172.5912,-1328.4365,15.4034) || PlayerToPoint(1.5, playerid, 1192.6980,-917.2337,43.1871) || PlayerToPoint(1.5, playerid, 1495.9968,-1749.2003,15.4453)) 
Evo ideje za to kako skratiti: http://balkan-samp.com/forum/index.php?topic=32088.0

Ja sam novi u pawnnu, i sve mi je to 'Nemoguce' jel mi mozes to ti napraviti, hvala

Ime Servera: Security RolePlay
Server IP: Uskoro !

dragan12

Citat: Sic Macko :D poslato Oktobar 16, 2011, 16:44:57 POSLE PODNE
Citat: [BD]Gagi poslato Oktobar 16, 2011, 16:27:39 POSLE PODNE
Ova linija je malo vise nego dugacka skrati je
       if(PlayerInfo[playerid][pLocal] == 103 || (PlayerToPoint(1.5, playerid, 1346.5016,-1758.7649,13.5156) || PlayerToPoint(1.5, playerid, 1592.7152,-2335.3748,13.5400) || PlayerToPoint(1.5, playerid, 2308.4612,-1634.4176,14.8270) || PlayerToPoint(1.5, playerid, 2865.9014,-1415.4203,11.0061) || PlayerToPoint(1.5, playerid, 2404.5913,-1229.8973,23.8301) || PlayerToPoint(1.5, playerid, 1172.5912,-1328.4365,15.4034) || PlayerToPoint(1.5, playerid, 1192.6980,-917.2337,43.1871) || PlayerToPoint(1.5, playerid, 1495.9968,-1749.2003,15.4453)) 
Evo ideje za to kako skratiti: http://balkan-samp.com/forum/index.php?topic=32088.0

Ja sam novi u pawnnu, i sve mi je to 'Nemoguce' jel mi mozes to ti napraviti, hvala
Pa samo uradi sto je tamo Djuro rekao:
Citat: Dude poslato Oktobar 11, 2011, 23:58:42 POSLE PODNE
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 13
|| PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)


mozes enter samo na pola ili gdjegod...

Citat: [BD]Gagi poslato Oktobar 16, 2011, 17:55:50 POSLE PODNE
Citat: Sic Macko :D poslato Oktobar 16, 2011, 16:44:57 POSLE PODNE
Citat: [BD]Gagi poslato Oktobar 16, 2011, 16:27:39 POSLE PODNE
Ova linija je malo vise nego dugacka skrati je
       if(PlayerInfo[playerid][pLocal] == 103 || (PlayerToPoint(1.5, playerid, 1346.5016,-1758.7649,13.5156) || PlayerToPoint(1.5, playerid, 1592.7152,-2335.3748,13.5400) || PlayerToPoint(1.5, playerid, 2308.4612,-1634.4176,14.8270) || PlayerToPoint(1.5, playerid, 2865.9014,-1415.4203,11.0061) || PlayerToPoint(1.5, playerid, 2404.5913,-1229.8973,23.8301) || PlayerToPoint(1.5, playerid, 1172.5912,-1328.4365,15.4034) || PlayerToPoint(1.5, playerid, 1192.6980,-917.2337,43.1871) || PlayerToPoint(1.5, playerid, 1495.9968,-1749.2003,15.4453)) 
Evo ideje za to kako skratiti: http://balkan-samp.com/forum/index.php?topic=32088.0

Ja sam novi u pawnnu, i sve mi je to 'Nemoguce' jel mi mozes to ti napraviti, hvala
Pa samo uradi sto je tamo Djuro rekao:
Citat: Dude poslato Oktobar 11, 2011, 23:58:42 POSLE PODNE
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 13
|| PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)


mozes enter samo na pola ili gdjegod...
lock

Ime Servera: Security RolePlay
Server IP: Uskoro !