03.09.2009, 21:01
Hey,
I downloaded 0.3 Windows package and I succesfully made my 0.2 version to work in 0.3
As soon as I added anything new from 0.3, like SetPlayerDrunk level - I keep getting undefined symbol 'SetPlayerDrunkLevel' - Same with any other
These are my defines
I get the error that it cannot read from g_common - But I have copied and did all like supposed to

For example I added this cmd
Then I get the undefined smybol shit.
These are my files:
filterscripts = All the FSs
gamemodes = My GM
include = It has gl_common and gl_spawns
npcmodes = Like when you download
pawno = dll's and that stuff. Also has the include map in which the gl's arent'. I put em in, same stuff
scriptfiles = All scriptfiles I need
samp-npc
samp-server
samp_log
server.cfg
I always get the error when I try to script something new :S What is it ?
I downloaded 0.3 Windows package and I succesfully made my 0.2 version to work in 0.3
As soon as I added anything new from 0.3, like SetPlayerDrunk level - I keep getting undefined symbol 'SetPlayerDrunkLevel' - Same with any other
These are my defines
pawn Код:
#include <a_samp>
#include <dini>
#include <dudb>
#include <MidoStream>
#include <gl_common>

For example I added this cmd
pawn Код:
if (strcmp(cmdtext, "/drink", true) == 0)
{
SetPlayerDrunkLevel (playerid, 5000);
SendClientMessage(playerid, 0xFFFFFFAA, "You're now drunk");
return 1;
}
These are my files:
filterscripts = All the FSs
gamemodes = My GM
include = It has gl_common and gl_spawns
npcmodes = Like when you download
pawno = dll's and that stuff. Also has the include map in which the gl's arent'. I put em in, same stuff
scriptfiles = All scriptfiles I need
samp-npc
samp-server
samp_log
server.cfg
I always get the error when I try to script something new :S What is it ?


