Getting error, help fast
#4

Quote:
Originally Posted by iHollyZinhO
Посмотреть сообщение
In this line:
Код:
new HouseInfo[MAX_HOUSES][hInfo];
You must use '=' instead of ';', for example:
PHP код:
new HouseInfo[MAX_HOUSES][hInfo] = 
{
    {
2165.982177, -1671.14416515.073156,         2CP_TYPE_ENTRY0010.0   ,318.6376951117.2189941083.882812359.494110,         5,239    ,2167.530273, -1672.91748015.081041224.837097,     0,00.0,0.0,0.0,0.0,     0,0,     "Crack House" ,"Idlewood"},
    {
2165.982177, -1671.14416515.073156,         2CP_TYPE_ENTRY0010.0   ,318.6376951117.2189941083.882812359.494110,         5,239    ,2167.530273, -1672.91748015.081041224.837097,     0,00.0,0.0,0.0,0.0,     0,0,     "Crack House" ,"Idlewood"}, 
    
//... and other lines
}; 
Thanks, but it was something else. I've fixed it.

I want to know will this work. I've seen this in few servers and i'm trying to script it:
PHP код:
new Float:MoneyBagPos[3], MoneyBagActive 0MoneyBagLocation[50], MoneyBagPickup;//, MoneyBagTimer[2];
//Hours, Minutes, Seconds, Milliseconds
#define MoneyBagDelay(%1,%2,%3,%4) (%1*3600000)+(%2*60000)+(%3*1000)+%4
//20 = 200,000 minimum 30 = 200,000 -> 500,000
#define MoneyBagCash ((random(30)+20)*10000)
//I want to put it every day in 16:00, what should i set here? How to count? Should i use 24min (1 game day)*60sec gives me 1440seconds
#define MB_DELAY MoneyBagDelay(0, 500, 0, 0) //should i put 0,1440,0,0 
Reply


Messages In This Thread
Getting error, help fast - by DarknesS1988 - 05.09.2018, 17:39
Re: Getting error, help fast - by Dayrion - 06.09.2018, 00:16
Re: Getting error, help fast - by iHollyZinhO - 06.09.2018, 04:54
Re: Getting error, help fast - by DarknesS1988 - 06.09.2018, 17:59

Forum Jump:


Users browsing this thread: 2 Guest(s)