[Pomoc] Licna Karta

Započeo Yakavetta, Januar 20, 2013, 22:26:26 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Yakavetta

Skripta koju koristim : BSRP
Problem : D:\BD\gamemodes\bsrp.pwn(28053) : error 010: invalid function or declaration
D:\BD\gamemodes\bsrp.pwn(28055) : error 010: invalid function or declaration
D:\BD\gamemodes\bsrp.pwn(28057) : error 010: invalid function or declaration
D:\BD\gamemodes\bsrp.pwn(28059) : error 010: invalid function or declaration
D:\BD\gamemodes\bsrp.pwn(28065) : error 010: invalid function or declaration
D:\BD\gamemodes\bsrp.pwn(28070) : error 010: invalid function or declaration

Deo Skripte : if (strcmp(cmd, "/stats", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (gPlayerLogged[playerid] != 0)
{
if(PlayerInfo[playerid][pLicna] == 0) return SCM(playerid, SIVA, "Nemas licnu kartu, izvadi je u opstini na salteru /IZVADILICNU.");
ShowStats(playerid,playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s otvara svoju licnu kartu (/stats)", sendername);
    ProxDetector(10.0, playerid, string, PURPLE1,PURPLE2,PURPLE3,PURPLE4,PURPLE5);
}
else
{
SCM(playerid, COLOR_GRAD1, "   Niste prijavljeni !");
}
}
return 1;
}


Yakavetta


if (strcmp(cmd, "/stats", true) == 0)
    if(IsPlayerConnected(playerid))
if (gPlayerLogged[playerid] != 0)
if(PlayerInfo[playerid][pLicna] == 0) return SCM(playerid, SIVA, "Nemas licnu kartu, izvadi je u opstini na salteru /IZVADILICNU.");
    else
return 1;

if (strcmp(cmd, "/stats", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (gPlayerLogged[playerid] != 0)
{
                           if(PlayerInfo[playerid][pLicna] == 0) return SCM(playerid, SIVA, "Nemas licnu kartu, izvadi je u opstini na salteru /IZVADILICNU.");
ShowStats(playerid,playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s otvara svoju licnu kartu (/stats).", sendername);
    ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste prijavljeni !");
}
}
return 1;
}

Yakavetta

Citat: Blaeks poslato Januar 20, 2013, 23:14:00 POSLE PODNE
if (strcmp(cmd, "/stats", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (gPlayerLogged[playerid] != 0)
{
                           if(PlayerInfo[playerid][pLicna] == 0) return SCM(playerid, SIVA, "Nemas licnu kartu, izvadi je u opstini na salteru /IZVADILICNU.");
ShowStats(playerid,playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s otvara svoju licnu kartu (/stats).", sendername);
    ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Niste prijavljeni !");
}
}
return 1;
}

opet isto

mora da hoce, de vidi gde si stavio komandu