16.02.2012, 16:05
Sorry, was a little confused!
Okay, now I want that random-money, but this what I did is probably wrong, created an array, which gives me errors:
Okay, now I want that random-money, but this what I did is probably wrong, created an array, which gives me errors:
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == DeathPickup)
{
new RandomCash[][] =
{
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"1000"
}
GivePlayerMoney(playerid, RandomCash);
}
return 1;
}

