[POMOC] errori i warnings.

Započeo Limdzaâ„¢, Avgust 22, 2012, 11:05:07 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:FSRP
Detaljan opis problema:Errori neki ne znam sta je to.
Dio skripte:C:\Users\Marko\Desktop\FULL SPEED!\FULL SPEED RP GM!\gamemodes\FSRP.pwn(38177) : error 017: undefined symbol "cmd"
C:\Users\Marko\Desktop\FULL SPEED!\FULL SPEED RP GM!\gamemodes\FSRP.pwn(38179) : error 001: expected token: ")", but found "["
C:\Users\Marko\Desktop\FULL SPEED!\FULL SPEED RP GM!\gamemodes\FSRP.pwn(38179) : error 029: invalid expression, assumed zero
C:\Users\Marko\Desktop\FULL SPEED!\FULL SPEED RP GM!\gamemodes\FSRP.pwn(38179) : warning 215: expression has no effect
C:\Users\Marko\Desktop\FULL SPEED!\FULL SPEED RP GM!\gamemodes\FSRP.pwn(38179) : error 001: expected token: ";", but found "]"
C:\Users\Marko\Desktop\FULL SPEED!\FULL SPEED RP GM!\gamemodes\FSRP.pwn(38179) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

Neke slike/video za lakse dobivanje pomoci(neobavezno):

================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================

Help?

================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================


if(strcmp(cmd, "/jetpack", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
        new Float:slx, Float:sly, Float:slz;
if(GetPVarInt(playerid,"Jetpack") == 999)
{
        SendClientMessage(playerid, COLOR_GREY, "Stvorili ste jetpack.");
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
SetPVarInt(playerid,"Jetpack",playerid);
}
else if(GetPVarInt(playerid,"Jetpack") != 999)
{
        SendClientMessage(playerid, COLOR_GREY, "Unistili ste jetpack.");
GetPlayerPos(playerid, slx, sly, slz);
SetPlayerPos(playerid, slx, sly, slz+2);
SetPVarInt(playerid,"Jetpack",999);
}
}
return 1;
}


Evo sada cu  i linije.

================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================

LINIJA 38179: if (PlayerInfo[playerid][pAdmin] >= 4)
                      {
LINIJA 38177 if(strcmp(cmd, "/jetpack", true) == 0)
                     {


================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================

if(strcmp(cmdtext, "/jetpack", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] > 3)
{
        new Float:slx, Float:sly, Float:slz;
if(GetPVarInt(playerid,"Jetpack") == 999)
{
        SendClientMessage(playerid, COLOR_GREY, "Stvorili ste jetpack.");
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
SetPVarInt(playerid,"Jetpack",playerid);
}
else if(GetPVarInt(playerid,"Jetpack") != 999)
{
        SendClientMessage(playerid, COLOR_GREY, "Unistili ste jetpack.");
GetPlayerPos(playerid, slx, sly, slz);
SetPlayerPos(playerid, slx, sly, slz+2);
SetPVarInt(playerid,"Jetpack",999);
}
}
return 1;
}