30.11.2014, 22:06
Message is not sent.
Where is the problem?
Where is the problem?
Код:
new RandomBox1[][] = { "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:bell", "LD_SLOT:bell", "LD_SLOT:bell", "LD_SLOT:bar2_o", "LD_SLOT:bar1_o", "LD_SLOT:bar1_o" }; new RandomBox2[][] = { "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:bell", "LD_SLOT:bell", "LD_SLOT:bell", "LD_SLOT:bar2_o", "LD_SLOT:bar1_o", "LD_SLOT:bar1_o" }; new RandomBox3[][] = { "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:r_69", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:grapes", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:cherry", "LD_SLOT:bell", "LD_SLOT:bell", "LD_SLOT:bell", "LD_SLOT:bar2_o", "LD_SLOT:bar1_o", "LD_SLOT:bar1_o" }; //IN COMMAND if(rand1 == 0) if(rand1 == 1) if(rand1 == 2) if(rand1 == 3) { if(rand2 == 0) if(rand2 == 1) if(rand2 == 2) if(rand2 == 3) { if(rand3 == 0) if(rand3 == 1) if(rand3 == 2) if(rand3 == 3) { SendClientMessage(playerid, -1, "69 69 69"); } } } if(rand1 == 4) if(rand1 == 5) if(rand1 == 6) if(rand1 == 7) if(rand1 == 8) { if(rand2 == 4) if(rand2 == 5) if(rand2 == 6) if(rand2 == 7) if(rand2 == 8) { if(rand3 == 4) if(rand3 == 5) if(rand3 == 6) if(rand3 == 7) if(rand3 == 8) { SendClientMessage(playerid, -1, "grape grape grape"); } } } if(rand1 == 9) if(rand1 == 10) if(rand1 == 11) if(rand1 == 12) if(rand1 == 13) { if(rand2 == 9) if(rand2 == 10) if(rand2 == 11) if(rand2 == 12) if(rand2 == 13) { if(rand3 == 9) if(rand3 == 10) if(rand3 == 11) if(rand3 == 12) if(rand3 == 13) { SendClientMessage(playerid, -1, "cherry cherry cherry"); } } } if(rand1 == 14) if(rand1 == 15) if(rand1 == 16) { if(rand2 == 14) if(rand2 == 15) if(rand2 == 16) { if(rand3 == 14) if(rand3 == 15) if(rand3 == 16) { SendClientMessage(playerid, -1, "bells bells bells"); } } } if(rand1 == 17) { if(rand2 == 17) { if(rand3 == 17) { SendClientMessage(playerid, -1, "JACKPOT!"); } } } if(rand1 == 18) if(rand1 == 19) { if(rand2 == 18) if(rand2 == 19) { if(rand3 == 18) if(rand3 == 19) { SendClientMessage(playerid, -1, "half jackpot .. :/"); } } }