SA-MP Forums Archive
Commands dont work :( Script here - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Commands dont work :( Script here (/showthread.php?tid=109698)



Commands dont work :( Script here - patchkinson - 21.11.2009

Hey only the text commands work :/ not the teleports i use these filterscripts : npc_record ladmin4v2 MidoStream SpeedBoost
and my GM is here:http://pastebin.com/m239b1c1b
thanks


Re: Commands dont work :( Script here - patchkinson - 21.11.2009

by the way I used a program to make those teleports, dont remember which one. please help me


Re: Commands dont work :( Script here - Luka P. - 21.11.2009

You're using
pawn Код:
if(strcmp(cmdtext,"lv",true)==0) // this is just example
Try this
pawn Код:
if(!strcmp(cmdtext,"/lv",true)==0)



Re: Commands dont work :( Script here - dice7 - 21.11.2009

pawn Код:
if(strcmp(cmdtext,"/lv",true)==0)
OnPlayerCommandText doesn't get called if the first character you type in the chat box isn't a slash


Re: Commands dont work :( Script here - patchkinson - 21.11.2009

guys thanks for ur replys but i solved