Make an object appear with a command.
#2

strcmp version

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/malette", cmdtext, true, 10) == 0)
    {
        SetPlayerAttachedObject( playerid, 0, 1210, 6, 0.250000, 0.100000, 0.000000, 0.000000, 264.337768, 21.619852, 1.000000, 1.000000, 1.000000 );
        return 1;
    }
    return 0;
}
zcmd

pawn Код:
CMD:malette(playerid,params[])
{
    SetPlayerAttachedObject( playerid, 0, 1210, 6, 0.250000, 0.100000, 0.000000, 0.000000, 264.337768, 21.619852, 1.000000, 1.000000, 1.000000 );
    return 1;
}
EDIT: any bugs ?
Reply


Messages In This Thread
Make an object appear with a command. - by KellyG - 23.05.2013, 01:04
Re: Make an object appear with a command. - by Guest123 - 23.05.2013, 01:36
Re : Make an object appear with a command. - by KellyG - 23.05.2013, 06:28
Re: Make an object appear with a command. - by Guest123 - 23.05.2013, 06:43
Re : Make an object appear with a command. - by KellyG - 23.05.2013, 07:06
Re : Make an object appear with a command. - by KellyG - 23.05.2013, 07:47
Re: Make an object appear with a command. - by Strier - 23.05.2013, 07:58
Re: Make an object appear with a command. - by Guest123 - 23.05.2013, 08:52

Forum Jump:


Users browsing this thread: 1 Guest(s)