Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Ciao am si eu o intreabare:

Cum pot sa fac rost de comenzile pt haine,ochelari sau palarii?

Sau macar sa ma dea la magazin sa aleg(dar sa pot alege la orce caracter) :police:

3 answers to this question

Recommended Posts

Posted

am incercat am gasit ceva pe www.sa-mp.com dar nu e bun si sunt doar ochelari!

if(strcmp(cmd, "/ochelari", true) == 0)

{

    new skin = GetPlayerSkin(playerid);

    if(PlayerInfo[playerid][pLente] == 0) return SendClientMessage(playerid, COLOR_GREY, " Nu ai ochelari.");

    if(LPuestos[playerid] == 0)

    {

        if(ConCas[playerid] == 0)

{

    SetPlayerAttachedObject(playerid, 1, PlayerInfo[playerid][pLente], 2, SkinOffSet[skin][0], SkinOffSet[skin][1], SkinOffSet[skin][2], SkinOffSet[skin][3], SkinOffSet[skin][4], SkinOffSet[skin][5]);

            format(string,sizeof(string),"* %s isi pune ochelarii.",NombreEx(playerid));

        ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);

LPuestos[playerid] = 1;

return 1;

} return SendClientMessage(playerid, COLOR_GREY, " Mai intai scoate casca (/casca)");

}

else

{

    if(ConCas[playerid] == 0)

{

    RemovePlayerAttachedObject(playerid, 1);

    format(string,sizeof(string),"* %s isi scoate ochelarii.",NombreEx(playerid));

        ProxDetector(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);

    LPuestos[playerid] = 0;

    return 1;

} return SendClientMessage(playerid, COLOR_GREY, " Mai intai scoate casca (/casca)");

}

}

dar da eroare

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.