[HELP]How to make fakechat and anims???
#1

how do i make /fakechat and anims? i rlly don't know how to make it
Reply
#2

FakeChat:
http://forum.sa-mp.com/showthread.ph...light=fakechat
Reply
#3

Quote:
Originally Posted by Tessar
Посмотреть сообщение
yay thanks :]
Reply
#4

aww damn D: it says "SERVER: Unknown Command" in-game
Reply
#5

Are you using dcmd?
Reply
#6

the whole gm is on dcmd
Reply
#7

Are you still struggling with the /fakechat command?
Reply
#8

yes, and i can't make anims...
Reply
#9

pawn Код:
dcmd_fakechat(playerid, params[])
{
    new id,text[128];
    if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, RED, "[HELP]: /fakechat ID TEXT");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, RED, "player offline");
    SendPlayerMessageToAll(id,text);
    return 1;
}
This was from the topic that was linked here.

And that doesn't work?
Reply
#10

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
pawn Код:
dcmd_fakechat(playerid, params[])
{
    new id,text[128];
    if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, RED, "[HELP]: /fakechat ID TEXT");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, RED, "player offline");
    SendPlayerMessageToAll(id,text);
    return 1;
}
This was from the topic that was linked here.

And that doesn't work?
nop

i only got "SERVER: Unknown Command"
Reply
#11

If you know dcmd then i hope you know where this goes

Код:
dcmd(fakechat, 8, cmdtext);
This goes under the list of dcmd defines you have. I don't know what they're called

Код:
dcmd_fakechat(playerid, params[])
{
    new id,text[128];
    if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, COLOR_RED, "Usage: /fakechat [ID] [TEXT]");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "player offline");
    SendPlayerMessageToAll(id,text);
    return 1;
}
That should work
Reply
#12

Quote:
Originally Posted by Tessar
Посмотреть сообщение
If you know dcmd then i hope you know where this goes

Код:
dcmd(fakechat, 8, cmdtext);
This goes under the list of dcmd defines you have. I don't know what they're called

Код:
dcmd_fakechat(playerid, params[])
{
    new id,text[128];
    if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, COLOR_RED, "Usage: /fakechat [ID] [TEXT]");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "player offline");
    SendPlayerMessageToAll(id,text);
    return 1;
}
That should work
Ofc he would have this dcmd(fakechat, 8, cmdtext);

Other-wise he would have errors. And that is the same as mine, which I copied from another topic, which won't make a difference.
Reply
#13

Quote:
Originally Posted by Tessar
Посмотреть сообщение
If you know dcmd then i hope you know where this goes

Код:
dcmd(fakechat, 8, cmdtext);
This goes under the list of dcmd defines you have. I don't know what they're called

Код:
dcmd_fakechat(playerid, params[])
{
    new id,text[128];
    if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, COLOR_RED, "Usage: /fakechat [ID] [TEXT]");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "player offline");
    SendPlayerMessageToAll(id,text);
    return 1;
}
That should work
i have that.

why doesn't it work? :[

here 2 pic why it don't work:
sa-mp-015.jpg
sa-mp-016.jpg
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)