[HELP] How to make an text script -
ChristianIvann09 - 06.03.2014
Hi, im wondering if you can make an text script
for example
player type /refundinfo
and if they hit enter they will see this following text:
******American Streets Roleplay Refund Info*********
Cash- 30k
Bank Account- 10k
Level- 5
Materials- 50k
Pot- 100
Crack- 100
*******************************************
Thanks in advance
Re: [HELP] How to make an text script -
Ryan_Undering - 06.03.2014
Depends on how you want the refund info to be displayed.. for example, you could use s dialog.. but if you really want it send, you could.. RESEARCH on how to (keywords coming) *SendClientMessage* *OnPlayerCommand*.
E.g.
pawn Код:
SendClientMessage(playerid, COLOR_GREY, "************Refund Info***************");
SendClientMessage(playerid, COLOR_GREY, "Cash - $30");
...... etc.
Re: [HELP] How to make an text script -
OneITWiz - 06.03.2014
Did you want it as a Normal chat? or TextDraw?
Re: [HELP] How to make an text script -
GalaxyHostFree - 06.03.2014
Код:
CMD:refundinfo(playerid, params[])
{
SendClientMessage(playerid, COLOR_GREY, "******American Streets Roleplay Refund Info*********");
SendClientMessage(playerid, COLOR_GREY, "Cash - 30k");
SendClientMessage(playerid, COLOR_GREY, "Bank Account- 10k");
SendClientMessage(playerid, COLOR_GREY, "Level- 5");
SendClientMessage(playerid, COLOR_GREY, "Pot- 100");
SendClientMessage(playerid, COLOR_GREY, "Crack- 100");
SendClientMessage(playerid, COLOR_GREY, "*******************************************");
return 1;
}
Re: [HELP] How to make an text script -
XK - 06.03.2014
pawn Код:
CMD:refundinfo(playerid, params[])
{
SendClientMessage(playerid, -1, "******American Streets Roleplay Refund Info*********");
SendClientMessage(playerid, -1, "Cash - 30k");
SendClientMessage(playerid, -1, "Bank Account- 10k");
SendClientMessage(playerid, -1, "Level- 5");
SendClientMessage(playerid, -1, "Pot- 100");
SendClientMessage(playerid, -1, "Crack- 100");
SendClientMessage(playerid, -1, "*******************************************");
return 1;
}
Re: [HELP] How to make an text script -
ChristianIvann09 - 06.03.2014
what is textdraw?
Re: [HELP] How to make an text script -
XK - 06.03.2014
textdraw is a text that appears on the screen,but for /refundinfo messages are better than textdraws,textdraws will disappear after a time that you set or it will stay on the screen..
Re: [HELP] How to make an text script -
ChristianIvann09 - 06.03.2014
Quote:
Originally Posted by XK
textdraw is a text that appears on the screen,but for /refundinfo messages are better than textdraws,textdraws will disappear after a time that you set or it will stay on the screen..
|
ohh ok thanks
Re: [HELP] How to make an text script -
XK - 06.03.2014
Hope you +rep