SA-MP Forums Archive
How to spawn specific objects in RP Server? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to spawn specific objects in RP Server? (/showthread.php?tid=172721)



How to spawn specific objects in RP Server? - KillerEST - 31.08.2010

Hello

My friend has a problem (he doesn't speak English so I'll write instead of him).
How he can spawn guns in specific house, some cars in front of house and make gang members (Grove), who drive around with cars and rob.

And he tried to translate server into Estonian language with Pawno. First time he got it into Estonian language, then for some reason server turned into English back again and when he tried second time, but only kick and ban was in Estonian.

// How to make house enterable?


Re: How to spawn specific objects in RP Server? - Grim_ - 31.08.2010

Did he same and compile the translated version, then use it instead of the old one on the server?

[This forum requires that you wait 120 seconds between posts. Please try again in 49 seconds.] VERY ANNOYING


Re: How to spawn specific objects in RP Server? - KillerEST - 31.08.2010

He didn't compiled, now he got these errors:

"C:\Documents and Settings\User\Desktop\Gta\uus server\gamemodes\gf.pwn(4399) : error 017: undefined symbol "TEAM_ADMIN"

C:\Documents and Settings\User\Desktop\Gta\uus server\gamemodes\gf.pwn(573 : error 047: array sizes do not match, or destination array is too small

C:\Documents and Settings\User\Desktop\Gta\uus server\gamemodes\gf.pwn(24793) : error 004: function "NameTimer" is not implemented

C:\Documents and Settings\User\Desktop\Gta\uus server\gamemodes\gf.pwn(26207) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

C:\Documents and Settings\User\Desktop\Gta\uus server\gamemodes\gf.pwn(26243) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"


Re: How to spawn specific objects in RP Server? - Grim_ - 31.08.2010

Godfather is crap, don't use it.

1. It's over used
2. It's never been updated (which is the cause for one of your errors)
3. It's extremely inefficient
4. It's poop


Re: How to spawn specific objects in RP Server? - KillerEST - 31.08.2010

I see..

Intresting, when he tries to compile (with Los Angeles RP gamemode), then comes error "Unable to execute compiler" (larp.pwn)


Re: How to spawn specific objects in RP Server? - Grim_ - 31.08.2010

The two most common reasons for the compiler from being "unable to execute" are either that you have misplaced, forgot to add, or accidentally removed a bracket. Another is that you are trying to do something un-logical in the compilers eyes. For example
pawn Код:
new MyVariable[GetMaxPlayers()];



Re: How to spawn specific objects in RP Server? - KillerEST - 31.08.2010

Everything seems alright...Only file we moved, was GF.pwn.

And how to get one specific house from "Mafia"?


Re: How to spawn specific objects in RP Server? - Grim_ - 31.08.2010

I've never looked into GF or GF edits, and never plan to. You're better off asking in the script's topic.


Re: How to spawn specific objects in RP Server? - KillerEST - 31.08.2010

I see.

We changed to new RP (Raven's), now problem is solved.

There are only missing: cars (with copter), guns (with house interior).
OR to change "that yellow gang" HQ into Grove HQ.