Need help fast
#1

C:\Documents and Settings\Admin\Desktop\zeze.pwn( : error 021: symbol already defined: "CreateObject"
C:\Documents and Settings\Admin\Desktop\zeze.pwn(76) : error 021: symbol already defined: "RemoveBuildingForPlayer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


Any ideas?

Please say how to do. its map with objects
Reply
#2

Show us where you've added the lines.
I'm guessing you may have placed them outside a callback.

RemoveBuildingForPlayer - goes in OnPlayerConnect.
CreateObject - goes in OnGameModeInit.
Reply
#3

its filterscript eh..

pawn Код:
#include <a_samp>
#include <streamer>
#define COLOR_DIS_RED 0xFF0000FF//color

public OnFilterScriptInit()
;

CreateObject(19425, 1895.95, 2715.50, 9.86,   0.00, 0.00, 89.12);     // With this I get error because after this are alot of lines with createobject. so it says symbol already defined 31

After this there are alot of lines with CreateObjec

After createobject there is

//MANSION

public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_DIS_RED,"Be sure to register and join www.xxxxx.xx");
return 1;
}

RemoveBuildingForPlayer(playerid, 7857, 1452.6406, 2667.4453, 17.1953, 0.25); // this line says too symbol already defined.. after this there are alot of line with removebuildingforplayer.

and after it
CreateObject(19378, 1427.56, 2649.52, 14.77,   0.00, -90.00, 0.00); // starts again,alot of createobject lines too.


Please tell how to fix or show
Reply
#4

pawn Код:
#include <a_samp>
#include <streamer>
#define COLOR_DIS_RED 0xFF0000FF

public OnFilterScriptInit()
{
    CreateObject(19425, 1895.95, 2715.50, 9.86,   0.00, 0.00, 89.12);
    CreateObject(19378, 1427.56, 2649.52, 14.77,   0.00, -90.00, 0.00);
    return 1;
}

public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid,COLOR_DIS_RED,"Be sure to register and join www.xxxxx.xx");
    RemoveBuildingForPlayer(playerid, 7857, 1452.6406, 2667.4453, 17.1953, 0.25);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)