Help Please !?!
#1

Right so im new to scripting but i know the basics, this has never happend to me before i got this warning message.

C:\Users\Burgess\Documents\SA Servers\Own coded\pawno\TAKE 2.pwn(65) : error 021: symbol already defined: "CreateObject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

I've done everything as I normally would? there is too much to post but this is line (65)

CreateObject(987,2440.00000000,-1642.00000000,12.44797421,0.00000000,0.00000000,27 2.00000000); //object(elecfence_bar) (1)

please help
Reply
#2

In which function you've put CreateObject? Is it in OnGameModeInit?

ps: Try to put here a larger 'chop' of your code.
Reply
#3

Quote:
Originally Posted by antonio112
Посмотреть сообщение
In which function you've put CreateObject? Is it in OnGameModeInit?

ps: Try to put here a larger 'chop' of your code.
Sure, PS. it's doing it for static vehicles aswell now

public OnGameModeInit()
{

//Added RC Vehicles
AddStaticVehicleEx(504,2517.16748047,-1672.23889160,13.95181370,56.00000000,85,6,15); //Bloodring Banger
AddStaticVehicleEx(515,-485.12332153,-473.35461426,26.67715836,180.00000000,16,6,15); //Roadtrain
AddStaticVehicleEx(515,-494.64923096,-474.06768799,26.67715836,180.00000000,6,16,15); //Roadtrain
AddStaticVehicleEx(515,-479.44683838,-474.42614746,26.67715836,180.00000000,6,16,15); //Roadtrain
AddStaticVehicleEx(515,-504.58520508,-475.06292725,26.67715836,180.00000000,16,6,15); //Roadtrain
AddStaticVehicleEx(403,-505.84497070,-502.03182983,26.22343826,0.00000000,16,6,15); //Linerunner
AddStaticVehicleEx(403,-509.94992065,-501.44238281,26.22343826,0.00000000,6,1,15); //Linerunner
AddStaticVehicleEx(578,-520.62365723,-498.26336670,25.94064331,0.00000000,16,1,15); //DFT-30
AddStaticVehicleEx(578,-529.76110840,-497.69995117,25.98772049,0.00000000,6,1,15); //DFT-30
AddStaticVehicleEx(532,-76.70529938,48.97963715,4.22690678,159.99993896,-1,-1,15); //Combine
AddStaticVehicleEx(531,-65.92527008,45.99203873,3.11672282,210.00000000,-1,-1,15); //Tractor
AddStaticVehicleEx(531,-67.88246918,42.07271194,3.11672282,209.99816895,-1,-1,15); //Tractor
AddStaticVehicleEx(531,-59.70547104,42.30486298,3.11672282,126.00000000,-1,-1,15); //Tractor
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)