[POMOC] U vezi sa onim da ti zamrzne kontrole

Započeo Spetsnaz, Decembar 10, 2010, 20:42:27 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

ovako stavio sam pljacku banke i stavio sam ovako
if(strcmp(cmd, "/pljacka", true) == 0)
    {
    if(PlayerInfo[playerid][pLevel] < 4)
    {
SendClientMessage(playerid, COLOR_GREY, "Moras biti najmanje level 4 !");
  return 1;
}
      if(PlayerToPoint(3, playerid,2309.9287,-5.7164,26.7422))
{
if(timesrobbed[playerid] == 1)
{
    SendClientMessage(playerid, COLOR_YELLOW, "Možete ponovo pljaèkati nakon 2 sata !");
}
if(timesrobbed[playerid] == 0)
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
new robmoney = random(10000);
ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 0, 0, 0, 0, 0);
timesrobbed[playerid]+=2;
format(string,sizeof(string), "* %s vadi gun i pljaèka banku.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetTimerEx("bankatimer", 30000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
  format(string, sizeof(string), "** Opljaèkali ste banku i uzeli novac u iznosu od $%d!",robmoney);
    SendClientMessage(playerid,COLOR_YELLOW,string);
GivePlayerMoney(playerid, robmoney);
format(string, sizeof(string), "** Banka je opljackana !. **", sendername);
SendRadioMessage(1, TEAM_BLUE_COLOR, string);
SendClientMessage(playerid, COLOR_RED, "Snimljeni ste sigurnosnim kamerama !");
WantedPoints[playerid]+=6; SetPlayerCriminal(playerid,255, "Pljacka banke!");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Možete ponovo pljaèkati nakon 2 sati !");
  return 1;
}
}
return 1;
}



I igrac je zamrznut ja sam stavio da moze da se odmrzne u roku od 30 sec mislim on se ne odmrzava ostaje zamrznut gde je greska?