Please help me with this moneybag error, Please +rep
#4

I Think This Will Fix It
PHP код:
forward MoneyBag();
public 
MoneyBag()
{
    new 
string[175];
    if(!
MoneyBagFound)
    {
        
format(stringsizeof(string), "{FF9900}SERVER: The Money bag has not been found, it is still hidden in %s"MoneyBagLocation);
        
SendClientMessageToAll(-1string);
    }
    else if(
MoneyBagFound)
    {
        
MoneyBagFound = -1;
        new 
randombag random(sizeof(MBSPAWN));
        
MoneyBagPos[0] = MBSPAWN[randombag][XPOS];
        
MoneyBagPos[1] = MBSPAWN[randombag][YPOS];
        
MoneyBagPos[2] = MBSPAWN[randombag][ZPOS];
        
format(MoneyBagLocationsizeof(MoneyBagLocation), "%s"MBSPAWN[randombag][Position]);
        
format(stringsizeof(string), "{FF9900}SERVER: The Money Bag has been hidden somewhere near/in %s!"MoneyBagLocation);
        
SendClientMessageToAll(-1string);
        
DestroyObject(MoneyBagPickup);
        
MoneyBagPickup CreatePickup(15502MoneyBagPos[0], MoneyBagPos[1], MoneyBagPos[2], -1);
    }
    return 
1;

Reply


Messages In This Thread
Please help me with this moneybag error, Please +rep - by Rohit12 - 11.08.2017, 16:05
Re: Please help me with this moneybag error, Please +rep - by Shaheen - 11.08.2017, 19:13
Re: Please help me with this moneybag error, Please +rep - by Rohit12 - 11.08.2017, 21:44
Re: Please help me with this moneybag error, Please +rep - by HoussamMaroc - 11.08.2017, 22:08
Re: Please help me with this moneybag error, Please +rep - by Rohit12 - 11.08.2017, 22:33

Forum Jump:


Users browsing this thread: 2 Guest(s)