Why message send "Two or even three times"
#5

Код:
    if(pInfo[playerid][IsPlayerInfected] == 0)
	{
    new slot, weap, ammo;
    for ( slot = 0; slot < 14; slot++ )
    {
    GetPlayerWeaponData(playerid,slot,weap,ammo);
    if(IsValidWeapon(weap))
    {
    new randomselect = random(3); // i put random 5 because i want give a chance win nothing.
    switch(randomselect)
	{
    case 0:
	{
    new randomammo = random(15);
    GivePlayerWeapon(playerid,weap,randomammo);
	format(sudasnx,sizeof(sudasnx),""COL_WHITE"|: You picked something");
	SendClientMessage(playerid,-1,sudasnx);
	DestroyPickup(meatDrops[playerid]);
        return 1;
    }
Reply


Messages In This Thread
Why message send "Two or even three times" - by henkas - 02.04.2017, 14:06
Re: Why message send "Two or even three times" - by SyS - 02.04.2017, 14:39
Re: Why message send "Two or even three times" - by henkas - 02.04.2017, 15:06
Re: Why message send "Two or even three times" - by henkas - 05.04.2017, 08:34
Re: Why message send "Two or even three times" - by Dangjai - 05.04.2017, 09:08

Forum Jump:


Users browsing this thread: 4 Guest(s)