Detaljan opis problema: ne znam kako da rijesim taj warning 202
Dio skripte:
if(strcmp(cmd, "/asellbiz", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, playername, sizeof(playername));
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "Koriscenje: /asellbiz ");
return 1;
}
new biz = strval(tmp);
if (PlayerInfo >= 1337)
{
BizzInfo = 1;
BizzInfo = 0;
strmid(BizzInfo, "Drzava", 0, strlen("Drzava"), 255);
strmid(BizzInfo, "Niko", 0, strlen("Niko"), 255);
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
format(string, sizeof(string), "~w~Prodali ste biznis");
GameTextForPlayer(playerid, string, 10000, 3);
OnPropTextdrawUpdate(2,biz);
OnPropUpdate();
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "(greska) Niste autorizovani da koristite ovu komandu!.");
}
}
return 1;
}