Help with a command
#1

When make this team once again, it is necessary that there were same actions

Код:
if(strcmp("/mig", cmdtext, true, 10) == 0)
{
        if(migprov[playerid] == 0)
        {
        DestroyObject(mig[playerid]);
        mig[playerid] = CreateObject(18646,0,0,0,0,0,0,100.0);
        AttachObjectToVehicle(mig[playerid], GetPlayerVehicleID(playerid), -0.4, -0.1, 0.87, 0.0, 0.0, 0.0);
        SendClientMessage(playerid, COLOR_WHITE, "one");
        GameTextForPlayer(playerid,"~r~-~w~$5000", 1000, 1);
        migprov[playerid]=1;
        }
        return 1;
    }
Reply


Messages In This Thread
Help with a command - by Roma555 - 08.02.2011, 23:56
Re: Help with a command - by SaW_[VrTx] - 09.02.2011, 00:01
Re: Help with a command - by Roma555 - 09.02.2011, 00:02
Re: Help with a command - by Roma555 - 09.02.2011, 00:05

Forum Jump:


Users browsing this thread: 1 Guest(s)