28.12.2009, 17:54
Hello all,
I am scripting for one week now and im really starting to learn it. I searched for a script which generates jobs and i found a good one. I red the whole page and there was only one more person with this error.
ERROR:
C:\Documents and Settings\Screw!\Bureaublad\Nieuwe map (2)\gamemodes\grandlarc.pwn(54
: error 004: function "GetPlayerJobId" is not implemented
C:\Documents and Settings\Screw!\Bureaublad\Nieuwe map (2)\gamemodes\grandlarc.pwn(550) : error 004: function "GetPlayerJobId" is not implemented
SCRIPT: row 546-557
CMD:test(playerid, params[])
{
if(GetPlayerJobId(playerid) == 0)
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Your a civilian!");
}
else if(GetPlayerJobId(playerid) == 1)
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Your are not a civilian!");
}
return 1;
}
I searced for a answer and red about 40 pages about this error, they al say: You are misschien braces.. Ok, thats possible. But when i delete this command all the errors are gone and the server starts...
So please someone, help me out!
(and if you want to help me more, just ask my msn address)
I am scripting for one week now and im really starting to learn it. I searched for a script which generates jobs and i found a good one. I red the whole page and there was only one more person with this error.
ERROR:
C:\Documents and Settings\Screw!\Bureaublad\Nieuwe map (2)\gamemodes\grandlarc.pwn(54

C:\Documents and Settings\Screw!\Bureaublad\Nieuwe map (2)\gamemodes\grandlarc.pwn(550) : error 004: function "GetPlayerJobId" is not implemented
SCRIPT: row 546-557
CMD:test(playerid, params[])
{
if(GetPlayerJobId(playerid) == 0)
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Your a civilian!");
}
else if(GetPlayerJobId(playerid) == 1)
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Your are not a civilian!");
}
return 1;
}
I searced for a answer and red about 40 pages about this error, they al say: You are misschien braces.. Ok, thats possible. But when i delete this command all the errors are gone and the server starts...
So please someone, help me out!
(and if you want to help me more, just ask my msn address)