dcmd problems - 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: dcmd problems (
/showthread.php?tid=180943)
dcmd problems -
thomas.. - 03.10.2010
i got this problem with dcmd. when your in a vehicle and you type the command, it doesnt work. however, when youre on foot, it works. ive given people my code to look at, and ive looked at other examples, and their all the exact same. wtf?
Re: dcmd problems -
Conroy - 03.10.2010
Showing your code would help. Paste your command(s). If they are big, create a
pastebin.
Re: dcmd problems -
thomas.. - 03.10.2010
Quote:
Originally Posted by thomas..
ive given people my code to look at, and ive looked at other examples,
|
8char -.-
Re: dcmd problems -
iFriSki - 03.10.2010
No one can help you here without seeing your code. Even if others have seen it,
we cannot help you without it.
Re: dcmd problems -
thomas.. - 03.10.2010
http://pastebin.com/VLp3nHWT
everything is correct... i dont see why it isnt working
Re: dcmd problems -
The_Moddler - 03.10.2010
Wich command doesn't work?
Re: dcmd problems -
thomas.. - 03.10.2010
all of them
Re: dcmd problems -
thomas.. - 03.10.2010
as expected, no fix then? :l
Re: dcmd problems -
thomas.. - 03.10.2010
look at pastebin....
not everyones clever, here you are:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256], idx;
cmd = strtok(cmdtext, idx);
dcmd(help,4,cmdtext);
dcmd(objective,9,cmdtext);
dcmd(rules,5,cmdtext);
dcmd(cmds,4,cmdtext);
dcmd(attachmissile,13,cmdtext);
dcmd(plantbomb,9,cmdtext);
dcmd(open,4,cmdtext);
dcmd(acmds,5,cmdtext);
dcmd(cage,4,cmdtext);
dcmd(fakechat,8,cmdtext);
dcmd(fakecmd,7,cmdtext);
dcmd(weaps,5,cmdtext);
dcmd(htd,3,cmdtext);
dcmd(std,3,cmdtext);
return 1;
}
Re: dcmd problems -
thomas.. - 03.10.2010
Quote:
Originally Posted by GazaWeSay
dude show the entire thing ffs your the one not clever
|
look at my previous posts then -.-