[AJUDA]
#1

Ola Galer a, Belezinha ?

Gostaria de saber se algum de voces tem algum sistema de Log de socio


Tipo , eu dou socio pra pessoa , e fica em um arquivo chamado socio.log

Uso
Reply
#2

Logs Dinвmicos! [Losgs]

No comando para dar sуcio:

pawn Код:
new celulas[100], Nome[24];
if(!fexist("Socio.log")) return CriarLog("Socio.log");
GetPlayerName(playerid, Nome, 24);
format(celulas, sizeof(celulas), "%s deu sуcio para alguйm", Nome);
EscreverLog("Socio.log", celulas);
return 1;
Esse sу foi um exemplo
Reply
#3

Haa, . Muito Obrigado Los , Voce sempre me Ajudando *-* :d +rep
Reply
#4

Deu 1 erro aqui :

Quote:

C:\Users\casa\Desktop\a\gamemodes\BGS.pwn(34494) : error: 017: undefined symbol "CriarLog"
C:\Users\casa\Desktop\a\gamemodes\BGS.pwn(34497) : error: 017: undefined symbol "EscreverLog"

Reply
#5

Use o meu, que Lуs mesmo me ajudou:
pawn Код:
new string[100], playername[MAX_PLAYER_NAME];
    new File:arquivo = fopen("Logs.ini", io_append);
    GetPlayerName(playerid, playername, sizeof(playername));
    format(string, sizeof(string), "%s deu sуcio para alguйm", playername);
    fwrite(arquivo, string);
    fclose(arquivo);
Reply
#6

Quote:
Originally Posted by Rodrigo_Avenged
Посмотреть сообщение
Deu 1 erro aqui :
Basta colocar a include no seu gm:

pawn Код:
#include <Losgs>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)