SA-MP Forums Archive
How To make...??? - 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)
+--- Thread: How To make...??? (/showthread.php?tid=523518)



How To make...??? - TheRaGeLord - 02.07.2014

How To Make a Script in Which When A Player Type Any Text Then It Appears Like This..

Example:-

[ID:0]TheRaGeLord: How Are You...


Re: How To make...??? - TheRaGeLord - 02.07.2014

Can You Paste a Code..Becauz I Don't Understand Clearly What You Said


Re: How To make...??? - greentarch - 02.07.2014

pawn Код:
public OnPlayerText( playerid, text[ ] )
{
    new fmat[ 128 ], name[ 24 ];
    GetPlayerName( playerid, name, 24 );
    format( fmat, sizeof ( fmat ), "{33FF33}[ID: %d] %s: {FFFFFF}%s", playerid, name, text );
    SendClientMessageToAll( -1, fmat );
    return 0;
}



Re: How To make...??? - TheRaGeLord - 03.07.2014

When I Complied with this code then these errors were coming

Код:
D:\Game Modez\RG-SATDM\Gamemodes\RGTDM.pwn(2458) : error 035: argument type mismatch (argument 2)
D:\Game Modez\RG-SATDM\Gamemodes\RGTDM.pwn(2457 -- 2463) : error 010: invalid function or declaration



Re: How To make...??? - greentarch - 03.07.2014

Quote:
Originally Posted by TheRaGeLord
Посмотреть сообщение
When I Complied with this code then these errors were coming

Код:
D:\Game Modez\RG-SATDM\Gamemodes\RGTDM.pwn(2458) : error 035: argument type mismatch (argument 2)
D:\Game Modez\RG-SATDM\Gamemodes\RGTDM.pwn(2457 -- 2463) : error 010: invalid function or declaration
Show us the lines. The code compiles perfectly for me.
Where did you put the code?


Re: How To make...??? - TheRaGeLord - 03.07.2014

Now I End This Topic Becauz...Now Its Working