[Pomoc] nece reconat

Započeo [GU:RP] ivica 156, Februar 23, 2012, 23:53:05 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:cyber
Detaljan opis problema:sredio sam si mal recon i sada je nastao taj problem da kad kucam /recon 4 uvijek pokazuje tj recona id 0 ili uopce nece reconat evo komande
if(strcmp(cmd, "/recon", true) == 0)
{
  if(PlayerInfo[playerid][Admin] >= 1)
  {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, SIVA, "Koristite: {FFFFFF}/recon [Korisnicki ID ili Ime Korisnika]");
return 1;
}
new target;
if(IsStringAName(tmp))
{
target = GetPlayerID(tmp);
}
else
{
target = strval(tmp);
}
new sstring[256];
GetPlayerName(target, giveplayer, sizeof(giveplayer));
new cash =  GetPlayerMoney(specplayerid);
new Float:tempheal;
    GetPlayerHealth(specplayerid,tempheal);
    format(tmp, sizeof(tmp), "~w~      Recon~b~ Ukljucen", tempheal);
GameTextForPlayer(playerid, tmp, 5000, 6);
format(sstring, sizeof(sstring), "Recon: (%d) %s %d$ H:%.0f",target,giveplayer,cash,tempheal);
SendClientMessage(playerid, COLOR_GREEN, sstring);
format(tmp, sizeof(tmp), "~w~~n~~n~~n~~n~~n~~n~%s ~y~ ID: %d~n~~b~ZDRAVLJE: %.0f~n~~r~B: 0", giveplayer,specplayerid,tempheal);
GameTextForPlayer(playerid, tmp, 50000000, 3);
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, specplayerid);
SetPlayerInterior(playerid,GetPlayerInterior(specplayerid));
gSpectateID[playerid] = specplayerid;
gSpectateType[playerid] = ADMIN_SPEC_TYPE_PLAYER;
  }
return 1;
}

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