[AJUDA] Conflito entre o filterscripts e o GM! URGENTE
#1

Boa Tarde.
Se eu coloco filterscripts funciona sу os comandos do filterscript e nгo funciona os comandos do gm da public OnPlayerCommandText.
Mas se eu tirar os filterscripts os comandos do gm da public jб funcionam.
Penso que tenha alguma coisa a ver com a public OnPlayerCommandText pu com os return 0 nгo sei ao certo.
Agredecia ajuda. Muito obrigado!
Reply
#2

bote return 1 no final do OnPlayerCommandText do FS.
Reply
#3

Quote:
Originally Posted by sGarfield
Посмотреть сообщение
bote return 1 no final do OnPlayerCommandText do FS.
Ficou na mesma.
Reply
#4

OnPlayerCommandText do fs:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	dcmd(v,1,cmdtext);
	dcmd(respawncars,11,cmdtext);
	return 1;
}
Reply
#5

retira o return no final da public onplayercommandtext da filterscript
Reply
#6

Quote:
Originally Posted by BlackCoder
Посмотреть сообщение
retira o return no final da public onplayercommandtext da filterscript
dб erro ao copilar: warning 209: function "OnPlayerCommandText" should return a value
Reply
#7

Retira o FS.
Reply
#8

Quote:
Originally Posted by Byffano Xeddar
Посмотреть сообщение
Retira o FS.
Pois mas eu queria resolver o problema sem retirar o FS!!
Reply
#9

posta os comandos que eu faзo versгo 'strcmp'.
Reply
#10

Quote:
Originally Posted by Skun Fly
Посмотреть сообщение
dб erro ao copilar: warning 209: function "OnPlayerCommandText" should return a value
Isso nгo й erro ! й um warning.
Ja me aconteзeu isso! nao faz mal dar esse warning funciona tudo na mesma.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)