killdahobo99
Unregistered
I made my first ever map! I wanted to show you guys and see what you think, but i wanted to test it on sa-mp first. I converted it with a converter but when i try to put the "Createobject" lines into a gamemode (moneygrub, default one that you get) it says
" : error 021: symbol already defined: "CreateObject"
Whats that mean? and how do i fix it?
Thanks guys.
Posts: 30
Threads: 4
Joined: May 2009
Reputation:
0
Hey, I'll help u right away. Just post your script, OK?
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
You're probably missing a bracket.
killdahobo99
Unregistered
Quote:
Originally Posted by Don Correlli
You're probably missing a bracket.
|
This is the script (the very bottem is the stuff i added the "createobject"
http://pastebin.com/f3f53925
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
You should add objects to OnGameModeInit() callback, not just anywhere in the script.
killdahobo99
Unregistered
Quote:
Originally Posted by TheUllas
|
thanks a lot man this helped a lot!...a few questions tho... this is the teleport commands to get to my dm place
Код:
if (strcmp("/anuj", cmdtext, true, 10) == 0) //anuj's dm place
{
SetPlayerPos(playerid, 2855.518,1831.024,11.323);
SetPlayerInterior(playerid, 0);
return 1;
}
it works and everything but...how do i make it that as soon as you get to my place, you get a certain weapons? and when you leave the weapons are gone too?
Also, i have a few barrels that blow up when you shoot them....they didnt appear back after i came back after awhile...why is that?
and how did you fix my error? what was wrong with it?