Giving me Errors
#1

look , i did that :


Quote:

// This is a comment
// uncomment the line below if you want to write a filterscript
#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>
#include <Streamer>
#include <a_samp>
#include <dini>
#include <dudb>
#include <sscanf2>



#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
//All Los Santos - By Tommy
CreateDynamicObject(970, 2244.1579589844, -1724.615234375, 13.098356246948, 0, 0, 89.324493408203);
CreateDynamicObject(970, 2242.0034179688, -1726.7265625, 13.098356246948, 0, 0, 359.9997558593;
CreateDynamicObject(970, 2237.2182617188, -1726.6901855469, 13.098356246948, 0, 0, 359.99450683594);
CreateDynamicObject(970, 2233.06640625, -1726.6473388672, 13.098356246948, 0, 0, 359.99450683594);
CreateDynamicObject(970, 2228.8962402344, -1726.6359863281, 13.098356246948, 0, 0, 359.99450683594);
CreateDynamicObject(970, 2224.9567871094, -1725.7684326172, 13.114147186279, 0, 0, 334.18969726563);
CreateDynamicObject(970, 2222.5844726563, -1722.6964111328, 13.113981246948, 0, 0, 280.59301757813);
CreateDynamicObject(970, 2222.3671875, -1718.5659179688, 13.072380065918, 0, 0, 266.69592285156);
CreateDynamicObject(970, 2222.7758789063, -1714.3874511719, 13.079086303711, 0, 0, 262.72314453125);
CreateDynamicObject(970, 2223.3503417969, -1710.2045898438, 13.143438339233, 0, 0, 262.72155761719);
CreateDynamicObject(970, 2226.2121582031, -1708.3316650391, 13.172252655029, 0, 0, 177.3671875);
CreateDynamicObject(983, 2127.3037109375, -1762.6048583984, 13.252821922302, 0, 0, 89.320251464844);
CreateDynamicObject(983, 2107.0415039063, -1762.2593994141, 13.246054649353, 0, 0, 89.31884765625);
CreateDynamicObject(983, 2102.3276367188, -1762.1613769531, 13.252520561218, 0, 0, 89.31884765625);
CreateDynamicObject(983, 2098.3801269531, -1765.2718505859, 13.249202728271, 0, 0, 166.73388671875);
CreateDynamicObject(983, 2096.9326171875, -1771.4775390625, 13.241625785828, 0, 0, 166.728515625);
CreateDynamicObject(983, 2095.30078125, -1777.6481933594, 13.230429649353, 0, 0, 162.7585449218;
CreateDynamicObject(983, 2093.4602050781, -1783.8020019531, 13.230429649353, 0, 0, 164.7419433593;
CreateDynamicObject(983, 2095.6708984375, -1788.0988769531, 13.245511054993, 0, 0, 248.109375);
CreateDynamicObject(983, 2101.7092285156, -1790.1176757813, 13.238242149353, 0, 0, 256.04418945313);
CreateDynamicObject(983, 2108.056640625, -1791.046875, 13.238242149353, 0, 0, 267.95178222656);
CreateDynamicObject(970, 1951.7138671875, -1775.4107666016, 13.098356246948, 0, 0, 270.67565917969);
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
COMMAND:updates(playerid) {
SendClientMessage(playerid,yellow,"U.S.R.P Server Updates:");
SendClientMessage(playerid,white,"1- Added Glasses system ( /glasses 1-30 ) 2- Added Berets / hats / backcaps system ( /beret - /hat - /backcaps )");
SendClientMessage(playerid,white,"3- Added Custom maps around Los Santos 4- Tolls at the gates 5- Fixed few bugs");
SendClientMessage(playerid,yellow,"Coming Soon : Car Dealer ships - Dynamic Business System - Dynamic House System");
SendClientMessage(playerid,yellow,"Coming Soon : Los Santos State Prison { Able to prison till 10hours } , Fixing the bugs left");
return 1;
}

And that happened :

Quote:

D:\samp03csvr_R2-2_win32\pawno\include\Streamer.inc(241) : warning 202: number of arguments does not match definition
D:\samp03csvr_R2-2_win32\pawno\include\Streamer.inc(242) : error 017: undefined symbol "CreatePlayer3DTextLabel"
D:\samp03csvr_R2-2_win32\pawno\include\Streamer.inc(244) : error 017: undefined symbol "DeletePlayer3DTextLabel"
D:\samp03csvr_R2-2_win32\pawno\include\Streamer.inc(263) : error 017: undefined symbol "UpdatePlayer3DTextLabelText"
D:\samp03csvr_R2-2_win32\filterscripts\Commands.pwn(86) : error 029: invalid expression, assumed zero
D:\samp03csvr_R2-2_win32\filterscripts\Commands.pwn(86) : error 017: undefined symbol "cmd_updates"
D:\samp03csvr_R2-2_win32\filterscripts\Commands.pwn(86) : error 029: invalid expression, assumed zero
D:\samp03csvr_R2-2_win32\filterscripts\Commands.pwn(86) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.

Any solutions ?
Reply
#2

so... any solutions ?
Reply
#3

Is your streamer Include ontop of the <a_samp> include?
Reply
#4

added it and still getting this :

Quote:

E:\GTA SanAndreas\N.G.R.P\pawno\include\streamer.inc(241) : warning 202: number of arguments does not match definition
E:\GTA SanAndreas\N.G.R.P\pawno\include\streamer.inc(242) : error 017: undefined symbol "CreatePlayer3DTextLabel"
E:\GTA SanAndreas\N.G.R.P\pawno\include\streamer.inc(244) : error 017: undefined symbol "DeletePlayer3DTextLabel"
E:\GTA SanAndreas\N.G.R.P\pawno\include\streamer.inc(263) : error 017: undefined symbol "UpdatePlayer3DTextLabelText"
D:\U.S.R.P\filterscripts\Map.pwn(245) : warning 217: loose indentation
D:\U.S.R.P\filterscripts\Map.pwn(246) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)