27.02.2009, 00:44
In OnPlayerDeath, how can i check if the reason for death is by /kill? is there like an id for that?
Yes 255.
also, i have a /rob command for the casino. how would i make random money to be given, and display it:
format(string, sizeof(string), "%s has robbed caligulas casino and got a total of [amnt. of money]",pName);
and this
Yes 255.
also, i have a /rob command for the casino. how would i make random money to be given, and display it:
format(string, sizeof(string), "%s has robbed caligulas casino and got a total of [amnt. of money]",pName);
Код:
//top
new CasinoCash[6] = {100,300,3000,4534,47,456};
Код:
new rand = random(sizeof(CasinoCash)); format(string, sizeof(string), "%s has robbed caligulas casino and got a total of %d $",pName,rand); GivePlayerMoney(playerid,rand);
