Jump to content

Andr3y

Membru
  • Posts

    241
  • Joined

  • Last visited

Posts posted by Andr3y

  1. cum fac la aceasta  comanda

    if (strcmp("/vamasf", cmdtext, true, 10) == 0)

    {

    if(GetPlayerMoney(playerid)<3000)return SendClientMessage(playerid,~0,"Nu ai destui bani!");

    MoveObject(gate,625.89111328125, -1184.0915527344, 27.495820999146,3.5);

    GivePlayerMoney(playerid,-3000 );

    SendClientMessage(playerid,COLOR_GREEN,"Poarta deschisa, treci repede");

    SendClientMessage(playerid,COLOR_PURPLE,"Poarta se va inchide in 5 secunde");

    SendClientMessage(playerid,COLOR_PURPLE,"Ai platit vama cu 3000 $");

    SetTimer("gateclose", 5000, 0);

    return 1;

    }

      sa mearga sa fie folosita doar dintr`un anumit punct ...ceva cu playertopoint sau nush....stie cnv?
  2. Cum fac ca atunci cand cineva da /vama sa ii ia 2500 $ ?

    comanda este aceasta :

    if (strcmp("/vama", cmdtext, true, 10) == 0)

    {

    MoveObject(gate,625.89111328125, -1184.0915527344, 27.495820999146,3.5);

    SendClientMessage(playerid,COLOR_GREEN,"Poarta deschisa");

    SendClientMessage(playerid,COLOR_PURPLE,"Poarta se va inchide in 5 secunde");

    SetTimer("gateclose", 7000, 0);

    return 1;

    ce trebuie sa mai adaug?

×
×
  • 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.