SA-MP Forums Archive
[HELP]How to make fakechat and anims??? - 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: [HELP]How to make fakechat and anims??? (/showthread.php?tid=200217)



[HELP]How to make fakechat and anims??? - jonnyboy - 17.12.2010

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


Re: [HELP]How to make fakechat and anims??? - Tessar - 17.12.2010

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


Re: [HELP]How to make fakechat and anims??? - jonnyboy - 17.12.2010

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


Re: [HELP]How to make fakechat and anims??? - jonnyboy - 17.12.2010

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


Re: [HELP]How to make fakechat and anims??? - Hal - 17.12.2010

Are you using dcmd?


Re: [HELP]How to make fakechat and anims??? - jonnyboy - 17.12.2010

the whole gm is on dcmd


Re: [HELP]How to make fakechat and anims??? - Tessar - 18.12.2010

Are you still struggling with the /fakechat command?


Re: [HELP]How to make fakechat and anims??? - jonnyboy - 18.12.2010

yes, and i can't make anims...


Re: [HELP]How to make fakechat and anims??? - WillyP - 18.12.2010

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?


Re: [HELP]How to make fakechat and anims??? - jonnyboy - 18.12.2010

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"


Re: [HELP]How to make fakechat and anims??? - Tessar - 18.12.2010

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


Re: [HELP]How to make fakechat and anims??? - WillyP - 18.12.2010

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.


Re: [HELP]How to make fakechat and anims??? - jonnyboy - 18.12.2010

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