dcmd problems
#1

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?
Reply
#2

Showing your code would help. Paste your command(s). If they are big, create a pastebin.
Reply
#3

Quote:
Originally Posted by thomas..
Посмотреть сообщение
ive given people my code to look at, and ive looked at other examples,


8char -.-
Reply
#4

No one can help you here without seeing your code. Even if others have seen it, we cannot help you without it.
Reply
#5

http://pastebin.com/VLp3nHWT

everything is correct... i dont see why it isnt working
Reply
#6

Wich command doesn't work?
Reply
#7

all of them
Reply
#8

as expected, no fix then? :l
Reply
#9

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;
               }
Reply
#10

Quote:
Originally Posted by GazaWeSay
Посмотреть сообщение
dude show the entire thing ffs your the one not clever
look at my previous posts then -.-
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)