Jump to content
  • 0

Ajutor Carnaval


andrein2

Question

Buna vrea cand dau comanda /startcarnival sa pot seta si pretul biletelor adica /startcarnival [PretBilet]

V-a dau scriptul de la /startcarnival si de la /changeticket

/Startcarnival

http://pastebin.com/hRKZQDBY

/ChangeTicket

[pawn] if(strcmp(cmd, "/changetickets", true) == 0 || strcmp(cmd, "/ct", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

        if(PlayerToPoint(3.0, playerid, 1431.9626,-3123.4517,8.1687) || PlayerToPoint(3.0, playerid, 1399.2458,-3104.2573,8.1687) || PlayerToPoint(3.0, playerid, 1368.7657,-3122.4314,8.1687)) {} else return 1;

        ShowPlayerDialog(playerid, 400, DIALOG_STYLE_INPUT, "{FFFFFF}Stand {DC0C0C}Carnaval", "{DC0C0C}S{FFFFFF}crie cate tichete vrei sa schimbi. Un tichet valoreaza: {00BC00}$100", "Schimba", "Iesi");

    }[/pawn]

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • 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.