14.08.2014, 16:23
Hi ! I show you here , for players who dont know to make a command like /donate !
1. Go in your server pawno !
2. Open your server gamemode !
3. Go to ,,cmd:,, places , where are all cmds ! Press replace and write in first box : ,,cmd:,, then enter
4. Copy this pawno code and put him in your server pawno !
cmd:Command Name(playerid,params[])
{
new Command Name[ 1900 ];
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want ! \n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
ShowPlayerDialog( playerid, 9382, DIALOG_STYLE_MSGBOX, "{15FF00}Write what do you want !", Cumparaturi, "Bine","" );
return ( 1 );
EXAMPLE:
cmd:donate(playerid,params[])
{
new Donate[ 1900 ];
strcat( Donate, "{15FF00}Look what you can buy on my server !\n\n" );
strcat( Donate, "{FF0000}Admin\n" );
strcat( Donate, "{15FF00}Vip\n" );
strcat( Donate, "{15FF00}Personal Car! \n" );
strcat( Donate, "{15FF00}Personal House!\n" );
strcat( Donate, "{15FF00}Personal Base!\n" );
strcat( Donate, "{15FF00}RCON!\n" );
ShowPlayerDialog( playerid, 9382, DIALOG_STYLE_MSGBOX, "{15FF00}Donate", Cumparaturi, "OK","" );
This tutorial is for new people in scripting world ! Sorry for bad english !
https://www.youtube.com/watch?v=N_Rt...ature=********* -- Look a tutorial , isn t in english , but can help you !
1. Go in your server pawno !
2. Open your server gamemode !
3. Go to ,,cmd:,, places , where are all cmds ! Press replace and write in first box : ,,cmd:,, then enter
4. Copy this pawno code and put him in your server pawno !
cmd:Command Name(playerid,params[])
{
new Command Name[ 1900 ];
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want ! \n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
strcat( Command Name, "{PUT HERE COLOR}Write what do you want !\n" );
ShowPlayerDialog( playerid, 9382, DIALOG_STYLE_MSGBOX, "{15FF00}Write what do you want !", Cumparaturi, "Bine","" );
return ( 1 );
EXAMPLE:
cmd:donate(playerid,params[])
{
new Donate[ 1900 ];
strcat( Donate, "{15FF00}Look what you can buy on my server !\n\n" );
strcat( Donate, "{FF0000}Admin\n" );
strcat( Donate, "{15FF00}Vip\n" );
strcat( Donate, "{15FF00}Personal Car! \n" );
strcat( Donate, "{15FF00}Personal House!\n" );
strcat( Donate, "{15FF00}Personal Base!\n" );
strcat( Donate, "{15FF00}RCON!\n" );
ShowPlayerDialog( playerid, 9382, DIALOG_STYLE_MSGBOX, "{15FF00}Donate", Cumparaturi, "OK","" );
This tutorial is for new people in scripting world ! Sorry for bad english !
https://www.youtube.com/watch?v=N_Rt...ature=********* -- Look a tutorial , isn t in english , but can help you !