Radio for PD.

Započeo 1337, Decembar 15, 2017, 19:31:40 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:UP edit.
Detaljan opis problema:Jednostavno odlucio sam ubaciti radio sistem i doslo mi je par errora.Jel jednostavno sve trebam definisati ili ?
Dio skripte:
Error:
C:\Users\user\Desktop\Balkan Boys v1.0\Balkan Boys\gamemodes\BB.pwn(12797) : error 017: undefined symbol "cmdtext"
C:\Users\user\Desktop\Balkan Boys v1.0\Balkan Boys\gamemodes\BB.pwn(12798) : error 017: undefined symbol "idx"
C:\Users\user\Desktop\Balkan Boys v1.0\Balkan Boys\gamemodes\BB.pwn(12798) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Balkan Boys v1.0\Balkan Boys\gamemodes\BB.pwn(12798) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Balkan Boys v1.0\Balkan Boys\gamemodes\BBpwn(12798) : fatal error 107: too many error messages on one

Neke slike/video za lakse dobivanje pomoci(neobavezno):
CMD:pr(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));//This is line 2683
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, GREY, "Usage: /pr [radio chat]");
return 1;
}
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1)
{
if(PlayerInfo[playerid][pClan] == 6) { format(string, sizeof(string), "%s(radio): %s, over.", sendername, result); }
else if(PlayerInfo[playerid][pClan] == 5) { format(string, sizeof(string), "%s(radio): %s, over.", sendername, result); }
else if(PlayerInfo[playerid][pClan] == 4) { format(string, sizeof(string), "%s(radio): %s, over.", sendername, result); }
else if(PlayerInfo[playerid][pClan] == 3) { format(string, sizeof(string), "%s(radio): %s, over.", sendername, result); }
else if(PlayerInfo[playerid][pClan] == 2) { format(string, sizeof(string), "%s(radio): %s, over.", sendername, result); }
else if(PlayerInfo[playerid][pClan] == 1) { format(string, sizeof(string), "%s(radio): %s, over.", sendername, result); }
else
{
format(string, sizeof(string), "%s(radio): %s, over.", sendername, result);
}
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
SendRadioMessage(1, COLOR_WHITE, string);
printf("%s", string);
return 1;
    }
    else
{
SendClientMessage(playerid, GRAY, "You are not ");
return 1;
}
}
return 0;
}

To se desi kad prebacujes u drugi komandni procesor a ne pazis, pogledaj osnove zcmda i skontat ces
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci



Prošlo 48h bez ikakvog odgovora na temu.
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci