SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 01/09/2012, 01:30 PM   #1
Gleisson_.
Gangsta
 
Gleisson_.'s Avatar
 
Join Date: Aug 2012
Location: Atrás de vc.. hehe
Posts: 606
Reputation: 2
Default Dizer o comando que o player digitou

Preciso de uma ajuda, de quando o player digitar um comando errado, dizer o comando ali na msg.
pawn Code:
return SendClientMessage(playerid,0xFF0000FF,"Você digitou ' %s ', este comando não existe, use: /comandos",cmdtext);
}
Fiz assim mais não da, me ajudem ae pf.
Gleisson_. is offline   Reply With Quote
Old 01/09/2012, 01:32 PM   #2
.FuneraL.
High-roller
 
.FuneraL.'s Avatar
 
Join Date: Feb 2012
Location: Pawno.exe
Posts: 2,078
Reputation: 146
Default Re: Dizer o comando que o player digitou

Em vez Disso Coloque:

pawn Code:
new String[120];
format(String, sizeof(String), "Você Digitou ' %s ', Este comando não existe, use: /comandos", cmdtext);
SendClientMessage(playerid, 0xFF0000FF, String);
return 1;

.FuneraL. is offline   Reply With Quote
Old 01/09/2012, 01:36 PM   #3
Gleisson_.
Gangsta
 
Gleisson_.'s Avatar
 
Join Date: Aug 2012
Location: Atrás de vc.. hehe
Posts: 606
Reputation: 2
Default Re: Dizer o comando que o player digitou

Erros
pawn Code:
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(894) : error 017: undefined symbol "AntiDeAMX"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7776) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7777) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7777) : error 004: function "OnPlayerStateChange" is not implemented
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7783) : error 017: undefined symbol "oldstate"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7790) : error 017: undefined symbol "newstate"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7792) : error 017: undefined symbol "IsABike"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7831) : error 017: undefined symbol "newstate"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7843) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7843) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7843) : error 017: undefined symbol "desxacalaca"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7844) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7844) : error 017: undefined symbol "desxacalaca"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7860) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7860) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7860) : error 017: undefined symbol "IsABike"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7863) : error 017: undefined symbol "vehicleid"
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7872) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7872) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7872) : error 004: function "Streamer_OnPlayerEnterCP" is not implemented
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7877) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7877) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7877) : error 004: function "Streamer_OnPlayerLeaveCP" is not implemented
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7882) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7882) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7882) : error 004: function "Streamer_OnPlayerEnterRaceCP" is not implemented
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7887) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7887) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7887) : error 004: function "Streamer_OnPlayerLeaveRaceCP" is not implemented
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7892) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7892) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7892) : error 004: function "OnRconCommand" is not implemented
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7897) : warning 225: unreachable code
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7897) : error 029: invalid expression, assumed zero
D:\Brasil Mundo dos Terroristas 2012\0.3e\gamemodes\BMMC.pwn(7897) : error 004: function "OnObjectMoved" is not implemented

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
Gleisson_. is offline   Reply With Quote
Old 01/09/2012, 01:38 PM   #4
.FuneraL.
High-roller
 
.FuneraL.'s Avatar
 
Join Date: Feb 2012
Location: Pawno.exe
Posts: 2,078
Reputation: 146
Default Re: Dizer o comando que o player digitou

Erro de Chaves provavelmente, Use isto: http://forum.sa-mp.com/showthread.php?t=359756
.FuneraL. is offline   Reply With Quote
Old 01/09/2012, 01:39 PM   #5
Q.I
Gangsta
 
Q.I's Avatar
 
Join Date: Aug 2012
Location: Brasil
Posts: 992
Reputation: 49
Default Re: Dizer o comando que o player digitou

adicione na ultima coisa enbaixo do return 1;

}
__________________
X
Q.I is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ajuda] alguem pode me dizer pq acontece isso? charlao Português/Portuguese 6 28/06/2012 08:25 PM
[ Ajuda ] Todas ID's dão na do que o Playeer digitou ! EviL_Knight Português/Portuguese 12 06/09/2011 11:57 PM
[ajuda] player nao pode dizer nada e outra duv. FoxXx Português/Portuguese 4 26/07/2011 12:25 AM
[DUVIDA]Oque quer dizer. Vine_Wood Português/Portuguese 8 10/12/2010 04:51 PM


All times are GMT. The time now is 04:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.