[Pedido] Salvar tudo oque os players digitarem
#5

Quote:
Originally Posted by TenhoUmaDuvida
Посмотреть сообщение
Bom, nгo testei direito mбs se der erros ou nгo funcionar me avise.
PHP код:
stock aNome(playerid)
{
    new 
NoMe[MAX_PLAYER_NAME];
    
GetPlayerName(playeridNoMesizeof(NoMe));
    return 
NoMe;
}
public 
OnPlayerText(playeridtext[])
{
new 
Tudo[128], Str2[128];
format(Tudosizeof(Tudo), "%s"text);
format(Str2sizeof(Str2), "%s: "aNome(playerid));
DOF2_SetString("TudoQueDigitarem.txt"Str2Tudo);
DOF2_SaveFile();
return 
1;
}
public 
OnPlayerCommandPerformed(playerid,cmdtext[],success)
{
    new 
Tudo[128], Str2[128];
    
format(Tudosizeof(Tudo), "%s"cmdtext);
    
format(Str2sizeof(Str2), "%s: "aNome(playerid));
    
DOF2_SetString("TudoQueDigitarem.txt"Str2Tudo);//Nao sei se da bug se salvar no msm local do outro
    
DOF2_SaveFile();
    return 
1;

nгo salvou nada
Reply


Messages In This Thread
Salvar tudo oque os players digitarem - by _Play_ - 20.03.2015, 17:41
Re: Salvar tudo oque os players digitarem - by #Luca[S]. - 20.03.2015, 17:41
Re: Salvar tudo oque os players digitarem - by _Play_ - 20.03.2015, 17:49
Re: Salvar tudo oque os players digitarem - by #Luca[S]. - 20.03.2015, 17:50
Re: Salvar tudo oque os players digitarem - by _Play_ - 20.03.2015, 18:26
Re: Salvar tudo oque os players digitarem - by Lуs - 20.03.2015, 18:30
Re: Salvar tudo oque os players digitarem - by Dayvison_ - 20.03.2015, 19:05
Re: Salvar tudo oque os players digitarem - by #Luca[S]. - 20.03.2015, 19:12
Re: Salvar tudo oque os players digitarem - by Dayvison_ - 20.03.2015, 19:14
Re: Salvar tudo oque os players digitarem - by _Play_ - 20.03.2015, 19:16

Forum Jump:


Users browsing this thread: 5 Guest(s)