[POMOC] Erorr

Započeo Zenga1998, Jun 11, 2011, 11:54:37 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:GF Edit
Detaljan opis problema:Imam error kod /jail tj /zatvor.. ocu da bude da se vidu minuti i ja metnio (result) i doso error
Dio skripte:  if(strcmp(cmd, "/zatvor", true) == 0)
{
   if(IsPlayerConnected(playerid))
   {
  tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koristi: /zatvor [playerid/DioImena] [vrijeme(minuti)] [Razlog]");
return 1;
}
new playa;
new money;
playa = ReturnUser(tmp);
  tmp = strtok(cmdtext, idx);
money = strval(tmp);
if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 1)
{
if(IsPlayerConnected(playa))
   {
       if(playa != INVALID_PLAYER_ID)
       {
       GetPlayerName(playa, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Zatvorio si %s.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
format(string, sizeof(string), "* Zatvoren si od admina %s na %d minuta Razlog:%s", sendername, money, (result));
SendClientMessage(playa, COLOR_LIGHTRED, string);
ResetPlayerWeapons(playa);
WantedPoints[playa] = 0;
PlayerInfo[playa][pJailed] = 1;
PlayerInfo[playa][pJailTime] = money*60;
SetPlayerInterior(playa, 6);
SetPlayerPos(playa, 264.6288,77.5742,1001.0391);
format(string, sizeof(string), "Zatvoren si za %d minuta.   Jamcevina: Nedostipna", money);
SendClientMessage(playa, COLOR_LIGHTBLUE, string);
SetPlayerWantedLevel(giveplayerid, 0);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   Nisi ovlasten!");
}
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno): evo error
undefined symbol "result"

Pise da je undefinited ali kod Ban i Kick radi.......


Poslednja Izmena: Jun 11, 2011, 11:57:04 PRE PODNE od [LYG] $--L84S--$