SendCommand
#1

Hello
Thanks for helping me in thread SendRconCommand
But now i wanna to domething else
The Code

Код:
#include <a_samp>

#define red 0xFF0000FF

new pickup;


public OnGameModeInit()
{
    pickup = CreatePickup(1240, 23, -2059.2109, -91.5216, 35.3203, -1);
    return 1;
}


public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pickup)
    {
       ShowPlayerDialog(playerid,999,DIALOG_STYLE_MSGBOX, "Car","Infernus 10000 LT","Buy", "Close");
    }
    return 1;
}


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 999)
    {
    if(response)
    {
    if(GetPlayerMoney(playerid) > 10000)
    {
   I WANT TO SEND HERE COMMAND
    }
    else
    {
        SendClientMessage(playerid, red, "Error:You need more cash to do this.");
    }
    }
    }
    return 1;
}
Read Where on script I WANT TO SEND HERE COMMAND
How can i send command ? ( NOT RCON )
Reply


Messages In This Thread
[NON SOLVED] SendCommand - by truckingserver - 23.12.2012, 07:09
Re: SendCommand - by truckingserver - 23.12.2012, 07:21
Re: SendCommand - by Avi Raj - 23.12.2012, 07:26
Re: SendCommand - by truckingserver - 23.12.2012, 07:29
Re: SendCommand - by B-Matt - 23.12.2012, 07:49
Re: SendCommand - by truckingserver - 23.12.2012, 08:59
Re: [NON SOLVED] SendCommand - by truckingserver - 23.12.2012, 09:01
Re: SendCommand - by DaRk_RaiN - 23.12.2012, 09:15
Re: SendCommand - by truckingserver - 23.12.2012, 09:23
Re: SendCommand - by DaRk_RaiN - 23.12.2012, 09:30

Forum Jump:


Users browsing this thread: 4 Guest(s)