How To Make Command Like This
#1

hello u just download some fs and how to make the command

using this

pawn Код:
/*
SetPlayerAttachedObject( playerid, 0, 18694, 3, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // flamethrower -  1 1 1 1
SetPlayerAttachedObject( playerid, 0, 18645, 2, 0.100000, 0.009999, 0.009999, 90.000000, 90.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // MotorcycleHelmet1 - helmet :0
SetPlayerAttachedObject( playerid, 0, 1045, 1, 0.600000, 1.000000, 0.000000, 0.000000, 85.000000, 0.000000, 1.418111, 1.000000, 1.000000 ); // exh_c_f - 8
SetPlayerAttachedObject( playerid, 0, 19137, 2, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 2.000000, 2.000000, 2.000000 ); // CluckinBellHat1 - clucking
SetPlayerAttachedObject( playerid, 0, 18949, 2, 0.200000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // HatBowler3 - hat1
SetPlayerAttachedObject( playerid, 0, 19137, 2, 0.200000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 2.000000, 2.000000, 2.000000 ); // CluckinBellHat1 - cluck
SetPlayerAttachedObject( playerid, 0, 18944, 2, 0.200000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.500000, 1.000000, 1.000000 ); // HatBoater1 - hat2
SetPlayerAttachedObject( playerid, 0, 18945, 2, 0.200000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 2.200000, 1.200000, 1.200000 ); // HatBoater2 - hat3
SetPlayerAttachedObject( playerid, 0, 18947, 2, 0.200000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.500000, 1.500000, 1.500000 ); // HatBowler1 - hat4
SetPlayerAttachedObject( playerid, 0, 18946, 2, 0.180000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.299999, 1.100000, 1.100000 ); // HatBoater3 - 6
SetPlayerAttachedObject( playerid, 0, 18946, 2, 0.180000, -0.004000, 0.000000, 0.000000, 0.000000, 0.000000, 1.299999, -1.220000, 1.100000 ); // HatBoater3 - hatbowter3
SetPlayerAttachedObject( playerid, 0, 19137, 2, 0.100000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // CluckinBellHat1 - 7
SetPlayerAttachedObject( playerid, 0, 19137, 2, 0.100000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // CluckinBellHat1 - /chickenhead
SetPlayerAttachedObject( playerid, 0, 19137, 2, 0.100000, 0.000000, 0.000000, 2.000000, 2.000000, 2.000000, 1.500000, 1.000000, 1.000000 ); // CluckinBellHat1 - walao kepala ayam
SetPlayerAttachedObject( playerid, 0, 1371, 1, 0.000000, 0.000000, 0.000000, 0.000000, 90.000000, 180.000000, 2.000000, 2.000000, 2.000000 ); // CJ_HIPPO_BIN - hippo
*/
i want in strcmp/zcmd
Reply
#2

so in ZCMD

Код:
CMD:MyObject(playerid,params[])
{
      // but i think you need create the object first..
      SetPlayerAttachedObject( playerid, 0, 18694, 3, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // flamethrower -  1 1 1 1    
      return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)