13.10.2013, 06:25
when i try to compile i get 'Pawn Compiler libary Has Stopped Working'
this is the one i have scripted i was testing 2d array in /lotto , it dont have any MySql things, here is my include
pawn Код:
CMD:lotto(playerid, params[]);
{
new rand = random(sizeof(LN));
new number;
if(sscanf(params,"i", number)) return SendClientMessage(playerid, 0xFF0000AA, "/snw [1-10]");
else if ( number > 10 || number < 1) return SendClientMessage(playerid, 0xFF0000AA, "choose a number From 1-10");
else if (number <> LN [rand][rand]) return SendClientMessage(playerid, 0xFF0000AA, "You Lost");
else if (number == LN [rand][rand]) return SendClientMessage(playerid, 0x33AA33AA, "You won it!!");
GivePlayerMoney(playerid, 1000000);
return 1;
}
pawn Код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>