[Ajuda] /esalvar
#6

Funciono nao zPain
A Hr que digito /esalvar [Nome] Aparece comando invalido !
Ashei esse codigo acima do /esalvar
Код:
	 	if( !strcmp( cmd, "/eload", true ))
		{
			new
				length = strlen( cmdtext )
			;
			while(( idx < length ) && ( cmdtext[ idx ] <= ' ' ))
			{
				idx ++;
			}
			new
				offset = idx
			;
			new
				result[ 64 ]
			;
			while(( idx < length ) && (( idx - offset ) < ( sizeof( result ) - 1 )) )
			{
				result[ idx - offset ] = cmdtext[ idx ];
				idx ++;
			}
			result[ idx - offset ] = EOS;
			if( !strlen( result ))
			{
				SendClientMessage( playerid, COLOR_ERRO, "[ x ] Uso correto: /eCarregar [ Nome ]" );
				return 1;
			}
	 		new
			 	nomeEvento[ 24 ], nomeEventov[ 24 ]
		 	;
			format( nomeEvento, sizeof( nomeEvento ), "eSalvos/CPS/%s.txt", result );
			format( nomeEventov, sizeof( nomeEventov ), "eSalvos/VS/%s.txt", result );
			carregarRace( playerid, nomeEvento );
			carregarVeiculos( nomeEventov );
			return 1;
		}
Reply


Messages In This Thread
/esalvar - by leonardoaparecido - 09.09.2013, 16:41
Re: /esalvar - by danielcantiliano - 09.09.2013, 16:51
Re: /esalvar - by leonardoaparecido - 09.09.2013, 16:57
Re: /esalvar - by danielcantiliano - 09.09.2013, 17:18
Re: /esalvar - by zPain - 09.09.2013, 17:23
Re: /esalvar - by leonardoaparecido - 09.09.2013, 17:34
Re: /esalvar - by zPain - 09.09.2013, 17:41
Re: /esalvar - by leonardoaparecido - 09.09.2013, 17:43
Re: /esalvar - by zPain - 09.09.2013, 17:44
Re: /esalvar - by leonardoaparecido - 09.09.2013, 17:51

Forum Jump:


Users browsing this thread: 1 Guest(s)