16.06.2007, 11:18
Alternatively, you should have your gamemode in pawno/include aswell as dudb and other include files. (like DracoBlue said).
#Include <DUDB>
C:\PROGRA~1\ROCKST~1\GTASAN~1\LSLOGI~1\GAMEMO~1\sr c\lvdm.pwn(2) : fatal error 100: cannot read from file: "DUDB" |
Originally Posted by n0ah
Sorry, but whats the difference between dini and dudb? I'm using dini and it looks much easer (for me) than dudb.
|
dUserSetINT(PlayerName(playerid)).("License",license[playerid]);
license[playerid] = dUserINT(PlayerName(playerid)).("Level");
new license[MAX_PLAYERS];
License=0
Originally Posted by PyroAnger
Im getting this error
(103) : warning 203: symbol is never used: "strtok" |
#pragma unused strtok
C:\ARCHIV~1\ROCKST~1\GTASAN~1\FILTER~1\rswbs.pwn(59) : error 010: invalid function or declaration C:\ARCHIV~1\ROCKST~1\GTASAN~1\FILTER~1\rswbs.pwn(88) : error 021: symbol already defined: "OnPlayerConnect" C:\ARCHIV~1\ROCKST~1\GTASAN~1\FILTER~1\rswbs.pwn(93) : error 021: symbol already defined: "OnPlayerCommandText" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
public OnPlayerCommandText(playerid,cmdtext[]) { return false; } public OnPlayerConnect(playerid) { return false; }
public OnPlayerConnect(playerid) { PLAYERLIST_authed[playerid]=false; return false; } public OnPlayerCommandText(playerid,cmdtext[]) { dcmd(login,5,cmdtext); // because login has 5 characters dcmd(register,8,cmdtext); // because register has 8 characters return false; }
C:\ARCHIV~1\ROCKST~1\GTASAN~1\FILTER~1\rswbs.pwn(18) : error 017: undefined symbol "PLAYERLIST_authed" C:\ARCHIV~1\ROCKST~1\GTASAN~1\FILTER~1\rswbs.pwn(63) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
(GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("money")GetPlayerMoney(playerid)); // lol