[Ajuda] Sistema registro de BUG
#4

Tenta assim

PHP код:
if(!strcmp(cmdtext,"/bug",true))
{
    new 
fName[128],pName[MAX_PLAYER_NAME];
    if(!
strlen(cmdtext[6])) return SendClientMessage(playerid,-1,"USE: /bug [bug]");
    
GetPlayerName(playerid,pName,sizeof(pName));
    
format(fName,sizeof(fName),"%s_BUG.txt",pName);
    new 
File:fopen(fName,io_append);
    
fwrite(a,cmdtext[6]);
    
fclose(a);
    
SendClientMessage(playerid,-1,"INFO: Seu bug foi armazenado em nosso sistema, obrigado por ajudar o servidor.");
    return 
1;

Reply


Messages In This Thread
[Ajuda] Sistema registro de BUG - by guivaldevieso - 18.06.2011, 19:02
Re: [DЪVIDA] Sistema registro de BUG - by RockFire - 18.06.2011, 19:19
Re: [DЪVIDA] Sistema registro de BUG - by guivaldevieso - 18.06.2011, 19:31
Re: [DЪVIDA] Sistema registro de BUG - by RockFire - 18.06.2011, 19:40
Re: [DЪVIDA] Sistema registro de BUG - by guivaldevieso - 18.06.2011, 19:49
Re: [DЪVIDA] Sistema registro de BUG - by RockFire - 18.06.2011, 19:54
Re: [DЪVIDA] Sistema registro de BUG - by Ricop522 - 18.06.2011, 20:28
Re: [DЪVIDA] Sistema registro de BUG - by guivaldevieso - 18.06.2011, 20:38
Re: [DЪVIDA] Sistema registro de BUG - by Ricop522 - 18.06.2011, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)