Doble pedido o ayuda | /catalogo y chatlog para cada user
#1

Duda solucionada
Reply
#2

Esto va acб
https://sampforum.blast.hk/showthread.php?tid=126022
Igual lo de los logs es fбcil
pawn Код:
public OnPlayerText(playerid, text[])
{
new str[32], pName[32];
GetPlayerName(playerid, pName, 32);
format(str,sizeof(str), "%s",pName);
new File:hFile; hFile = fopen(str, io_readwrite);
if(hFile)
{
new str[128];
format(str, sizeof(str), "%s(%d): %s", pName, playerid, text);
fwrite(hFile);
}
fclose(hFile);
return 1;
}
El otro ya es mбs complicado. Fijate el wDealer de Crimson.
Reply
#3

Quote:
Originally Posted by JustBored
Посмотреть сообщение
Esto va acб
https://sampforum.blast.hk/showthread.php?tid=126022
Igual lo de los logs es fбcil
pawn Код:
public OnPlayerText(playerid, text[])
{
new str[32], pName[32];
GetPlayerName(playerid, pName, 32);
format(str,sizeof(str), "%s",pName);
new File:hFile; hFile = fopen(str, io_readwrite);
if(hFile)
{
new str[128];
format(str, sizeof(str), "%s(%d): %s", pName, playerid, text);
fwrite(hFile);
}
fclose(hFile);
return 1;
}
El otro ya es mбs complicado. Fijate el wDealer de Crimson.
Y donde se va a guardar todo eso?
Reply
#4

Quote:
Originally Posted by KevinBasabe
Посмотреть сообщение
Duda solucionada
esto no debes hacerlo puesto que primero no es un foro de pobres y segundo a alguien le puede ser util este post ya dicho esto espero no lo vuelvas hacer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)