[FilterScript] [FS] Simple base License System (Download Link Added)
#25

pawn Код:
#include <a_samp>
#include <dudb>
#include <Dini>
#include <dutils>

new PlayerName[MAX_PLAYER_NAME];
pawn Код:
public OnPlayerConnect(playerid)
{
    new formatZ[256];
        new pName[MAX_PLAYER_NAME];
    new string[48];

    format(formatZ,sizeof(formatZ),"%s.txt",PlayerName(playerid)); //This is line 54
    if(!udb_Exists(formatZ))
    {
        udb_Create(formatZ,"209010");
    }
    License[playerid] = dUserINT(formatZ).("License");
    return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
    new formatZ2[256];
    new p[MAX_PLAYER_NAME];
        new string[56];
        format(formatZ2,sizeof(formatZ2),"%s.txt",PlayerName(playerid));
    dUserSetINT(formatZ2).("License",License[playerid]);
    return 1;
}
pawn Код:
C:\Documents and Settings\Eduarth\Desktop\pp.pwn(54) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Eduarth\Desktop\pp.pwn(54) : warning 215: expression has no effect
C:\Documents and Settings\Eduarth\Desktop\pp.pwn(54) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Eduarth\Desktop\pp.pwn(54) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eduarth\Desktop\pp.pwn(54) : fatal error 107: too many error messages on one line
How can I fix this errors? Please can you help me?
Reply


Messages In This Thread
[FS] Simple base License System (Download Link Added) - by Oxside - 27.04.2009, 17:05
Re: [FS] Simple base License System - by Weirdosport - 27.04.2009, 21:19
Re: [FS] Simple base License System - by Rulzz - 28.04.2009, 07:41
Re: [FS] Simple base License System - by Cabby - 30.04.2009, 15:36
Re: [FS] Simple base License System - by superbryanb - 13.06.2009, 21:12
Re: [FS] Simple base License System - by Oxside - 14.06.2009, 10:54
Re: [FS] Simple base License System - by [M]ohammed - 14.06.2009, 11:38
Re: [FS] Simple base License System - by NeRoSiS - 14.06.2009, 11:51
Re: [FS] Simple base License System - by herojith - 14.06.2009, 12:08
Re: [FS] Simple base License System - by [M]ohammed - 15.06.2009, 08:37
Re: [FS] Simple base License System - by juuleman - 13.12.2009, 13:19
Re: [FS] Simple base License System - by Oxside - 13.12.2009, 16:29
Re: [FS] Simple base License System - by aspire5630 - 13.12.2009, 17:57
Re: [FS] Simple base License System - by Oxside - 14.12.2009, 07:30
Re: [FS] Simple base License System (Download Link Added) - by juuleman - 28.12.2009, 11:07
Re: [FS] Simple base License System (Download Link Added) - by Oxside - 28.12.2009, 16:31
Re: [FS] Simple base License System (Download Link Added) - by Rajeev - 25.02.2010, 23:20
Re: [FS] Simple base License System (Download Link Added) - by sjvt - 25.02.2010, 23:29
Re: [FS] Simple base License System (Download Link Added) - by juuleman - 07.03.2010, 16:41
Re: [FS] Simple base License System (Download Link Added) - by Oxside - 07.03.2010, 17:00
Re: [FS] Simple base License System (Download Link Added) - by juuleman - 08.03.2010, 14:42
Re: [FS] Simple base License System (Download Link Added) - by Oxside - 08.03.2010, 17:53
Re: [FS] Simple base License System (Download Link Added) - by Janek17 - 13.10.2010, 15:31
Re: [FS] Simple base License System (Download Link Added) - by Scenario - 13.10.2010, 15:32
Re: [FS] Simple base License System (Download Link Added) - by dutu1995 - 02.11.2011, 09:17
Re: [FS] Simple base License System (Download Link Added) - by taira - 02.11.2011, 17:12
Re: [FS] Simple base License System (Download Link Added) - by [LaTinb0y]...$ag3R - 02.11.2011, 17:14
Re: [FS] Simple base License System - by justsomeguy - 02.11.2011, 20:24
Re: [FS] Simple base License System (Download Link Added) - by [LaTinb0y]...$ag3R - 03.11.2011, 14:44
Re: [FS] Simple base License System (Download Link Added) - by Lookin - 03.11.2011, 17:24
Re: [FS] Simple base License System (Download Link Added) - by Astralis - 19.11.2011, 09:40

Forum Jump:


Users browsing this thread: 4 Guest(s)