public function crashes server ?
#1

when ever I do OnPropUpdate(); my server crashes , here is the coding for it

pawn Код:
forward OnPropUpdate()
public OnPropUpdate()
{
    new coordsstring[1024];
    new idx;
    format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
    DIntInfo[idx][doorOwned],
    DIntInfo[idx][doorOwner],
    DIntInfo[idx][doorUOwner],
    DIntInfo[idx][doorFOwner],
    DIntInfo[idx][doorEntranceX],
    DIntInfo[idx][doorEntranceY],
    DIntInfo[idx][doorEntranceZ],
    DIntInfo[idx][doorEntAngle],
    DIntInfo[idx][doorExitX],
    DIntInfo[idx][doorExitY],
    DIntInfo[idx][doorExitZ],
    DIntInfo[idx][doorExitAngle],
    DIntInfo[idx][doorLevelRequired],
    DIntInfo[idx][doorTill],
    DIntInfo[idx][doorMats],
    DIntInfo[idx][doorPot],
    DIntInfo[idx][doorCrack],
    DIntInfo[idx][doorLocked],
    DIntInfo[idx][doorInterior],
    DIntInfo[idx][doorVirtual],
    DIntInfo[idx][doorBuyPrice],
    DIntInfo[idx][doorType]);
    new File: file2 = fopen("dint.cfg", io_write);
    fwrite(file2, coordsstring);
    fclose(file2);
    return 1;
}
Reply


Messages In This Thread
public function crashes server ? - by ShawnMiller1337 - 28.09.2012, 05:12
Re: public function crashes server ? - by ShawnMiller1337 - 28.09.2012, 07:15
Re: public function crashes server ? - by Cameltoe - 28.09.2012, 10:22
Re: public function crashes server ? - by Vince - 28.09.2012, 10:38
Re: public function crashes server ? - by ShawnMiller1337 - 28.09.2012, 21:05
Re: public function crashes server ? - by KingHual - 28.09.2012, 21:54
Re: public function crashes server ? - by ShawnMiller1337 - 28.09.2012, 22:19
Re: public function crashes server ? - by ShawnMiller1337 - 28.09.2012, 22:37

Forum Jump:


Users browsing this thread: 2 Guest(s)