Quote:
Originally Posted by dutu1995
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?
|
simple....RE-install this all script !