Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: [JB:RP]Esse poslato Jun 24, 2012, 09:53:39 PRE PODNE

Naslov: [Pomoc]File read
Poruka od: [JB:RP]Esse poslato Jun 24, 2012, 09:53:39 PRE PODNE
Skripta koju koristim:Edit Se:RP
Detaljni opis problema:Moze mi netko pomoci kako da napravim kada ukucam /provjeri da mi iscita fajl igraca ? (/provjeri marko_markovic) da mi isicat njeogv file ?
Dio skripte://
Neke slike/video://
Naslov: Odg: [Pomoc]File read
Poruka od: FireMan poslato Jun 24, 2012, 10:15:33 PRE PODNE
Koji file system koristis?
Naslov: Odg: [Pomoc]File read
Poruka od: [JB:RP]Esse poslato Jun 24, 2012, 10:49:19 PRE PODNE
public CKLog(string[])
{
new entry[256];
format(entry, sizeof(entry), "%s\n",string);
new File:hFile;
hFile = fopen("logs/ck.log", io_append);
fwrite(hFile, entry);
fclose(hFile);
}


hvala sto hoces pomoci
Naslov: Odg: [Pomoc]File read
Poruka od: FireMan poslato Jun 24, 2012, 11:33:39 PRE PODNE
Ne to, za igraca... Jel dini?
Naslov: Odg: [Pomoc]File read
Poruka od: [JB:RP]Esse poslato Jun 24, 2012, 11:59:42 PRE PODNE
dini je
Naslov: Odg: [Pomoc]File read
Poruka od: [JB:RP]Esse poslato Jun 25, 2012, 08:31:56 PRE PODNE
Bump oprostite na DP ali moze netko pomoci :S
Naslov: Odg: [Pomoc]File read
Poruka od: David003 poslato Jun 25, 2012, 10:13:26 PRE PODNE
Evo ti komanda ostalo sam napravi

   if (strcmp(cmd, "/proveri", true) == 0)
   {
       if(IsPlayerConnected(playerid))
       {
         if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameSage] >= 1)
         {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
               SendClientMessage(playerid, COLOR_GRAD1, ""svpl"Koriscenje:{FFFFFF} /proveri [ID Igraca]");
               return 1;
            }
            //giveplayerid = strval(tmp);
               giveplayerid = ReturnUser(tmp);
            if(IsPlayerConnected(giveplayerid))
            {
                if(giveplayerid != INVALID_PLAYER_ID)
                {
                  ShowStats(playerid,giveplayerid);
               }
            }
            else
            {
               SendClientMessage(playerid, COLOR_GRAD1, "Nema takvog igraca");
            }
         }
         else
         {
            SendClientMessage(playerid, COLOR_GRAD1, "Niste admin");
         }
      }
      return 1;
   }
Naslov: Odg: [Pomoc]File read
Poruka od: [JB:RP]Esse poslato Jun 25, 2012, 14:37:45 POSLE PODNE
pa upravo mi oko toga i treba pomoc trebam namjestiti za offline igrace da mi iscita statse iz scriptfiles/user ??? koristim DINI...
Naslov: Odg: [Pomoc]File read
Poruka od: [JB:RP]Esse poslato Jun 27, 2012, 09:54:15 PRE PODNE
dajte ako netko zna neka pomogne prosla su 2 dana i nista :S