EditObject.
#1

When I do this command:


pawn Код:
command(spikestr, playerid, params[])
{
    Spikes++;
    if(SO[0] == 0)
    {
        new Float:x, Float:y, Float:z, Float:a;
        GetPlayerPos(playerid, x, y, z);
        GetPlayerFacingAngle(playerid, a);
        SO[0] = CreateObject(2899, x, y, z-0.8, 0, 0, 10.0);
    }
    else return SendClientMessage(playerid, -1, "No.");
    return 1;
}
Then try use this command:

pawn Код:
command(select, playerid, params[])
{
    SelectObject(playerid);
    return 1;
}
It doesn't allow me to select the spike strip?
Reply


Messages In This Thread
EditObject. - by iGetty - 02.07.2012, 00:54
Re: EditObject. - by WagnerPM - 02.07.2012, 01:02
Re: EditObject. - by MP2 - 02.07.2012, 01:05
Re: EditObject. - by iGetty - 02.07.2012, 01:15

Forum Jump:


Users browsing this thread: 1 Guest(s)