[Map] How do I implement a map?
#1

I've tried copying and pasting the pawno code provided, but I get this when compiling:
Код:
C:\Path\pawno\M-RP\gamemodes\mrp.pwn(44518) : error 021: symbol already defined: "CreateObject"
C:\Path\pawno\M-RP\gamemodes\mrp.pwn(44589) : error 021: symbol already defined: "AddStaticVehicle"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Some help?
Reply
#2

Do you have 'new CreateObject and AddStaticVehicle'? If yes, remove it.
Reply
#3

use
pawn Код:
#define <a_samp>
Reply
#4

I've added #define <a_samp>
which has created more errors:

XXX\pawno\M-RP\gamemodes\mrp.pwn(44518) : error 074: #define pattern must start with an alphabetic character
XXX\pawno\M-RP\gamemodes\mrp.pwn(44519) : error 021: symbol already defined: "CreateObject"
XXX\pawno\M-RP\gamemodes\mrp.pwn(44590) : error 021: symbol already defined: "AddStaticVehicle"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


Then on each line, it starts:
CreateObject(then continues with the co-ordinates and object id's, ect)

and

AddStaticVehicle(car id and co-ordinates).

Help?
Thanks,
Robert
Reply
#5

Would be nice if you show us your includes, stocks, defines and OnGameModeInit.
Reply
#6

Did you add it under the callback OnGameModeInit?

And show the script please.
Reply
#7

Quote:
Originally Posted by Clan303
Посмотреть сообщение
Eh..I can't really code or shit..but i think you've added it two times..
Well don't go around post counting.Your post doesn't make sense anyway.
Reply
#8

Quote:
Originally Posted by Noss*
Посмотреть сообщение
Well don't go around post counting.Your post doesn't make sense anyway.
You're following his steps. You are also posting that, which raises your post count while it's off topic.

on topic:
06leachr, please post your OnGameModeInit content so we can take a look at it.
Reply
#9

Quote:
Originally Posted by Mihai_Marius
Посмотреть сообщение
use
pawn Код:
#define <a_samp>
Its
Код:
#include <a_samp>
not define...
Also Put CreateObject and CreateVehicle under
pawn Код:
OnGameModeInIt
U can use CTRL+F to find it faster!
Reply
#10

Quote:
Originally Posted by Mihai_Marius
Посмотреть сообщение
use
pawn Код:
#define <a_samp>
Its
Код:
#include <a_samp>
not define...
Also Put CreateObject and AddStaticVehicle under
pawn Код:
OnGameModeInIt
U can use CTRL+F to find it faster!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)