Need help in Raven's Roleplay [0.3e]Gamemode Edit
#1

Hello,

I saw the gamemode and i liked it,and then i downloaded it.Because i have 35 players online hourly on my server,i want to block them in LS,so i blocked all the ways to SF and etc,but the car dealership is delievering your car (when you buy it) on the SF Docks,is there any way to change the deliever location?

Thanks in advance!

Best regards,
George
Reply
#2

Yes there is.. Try to find in your GM script the spawn Point of that Dealer ship or if you can delete the Dealership ingame with admin cmd and create a new one and change your Spawn point to where you want it
Reply
#3

Dear goviscrap,

Thank your for replying to my post,but can you please tell me,what type on the search (CTRL + H) of pawno?
Reply
#4

Unfortunently,I am an new Scripted,i would tell NEWBIE..so thats why i am asking what should I search and what should i replace on the gamemode!
Reply
#5

On the CTRL+F search for like Dealership, Spawn, Pos, or the command you use to buy the cars!

EDIT And if you find a Pos that you think is the spawn Change it to your new pos where you want it buy using /save, ingame and replace with the new pos
Reply
#6

Something like this mate?
Код:
{//bikes dealership
		            if (GetPlayerState(playerid) == 2)
					{
						new tmpcar = GetPlayerVehicleID(playerid);
						SetVehiclePos(tmpcar, 2787.3777,-1613.0219,10.9219);
						TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
						LinkVehicleToInterior(tmpcar, 0);
						SetPlayerVirtualWorld(playerid, 0);
						OnPlayerExitFood(playerid);
						new y, m, d;
						new h,mi,s;
						getdate(y,m,d);
						gettime(h,mi,s);
						format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Teleported Himself to Bikes Dealership",d,m,y,h,mi,s,sendername);
						TelesLog(string);
					}
					else
					{
						SafeSetPlayerPos(playerid, 2787.3777,-1613.0219,10.9219);
						SetPlayerVirtualWorld(playerid, 0);
					}
					format(string, sizeof(string), "[ADMIN]: %s Has Teleported Himself to Bikes Dealership.", sendername);
					ABroadCast(COLOR_LIGHTRED,string, 5);
					SafeSetPlayerInterior(playerid,0);
					DisablePlayerCheckpoint(playerid);
					new y, m, d;
					new h,mi,s;
					getdate(y,m,d);
					gettime(h,mi,s);
					format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Teleported Himself to Bikes Dealership",d,m,y,h,mi,s,sendername);
					TelesLog(string);
				}
				else if(listitem == 6)
Reply
#7

Yes maybe this pos:
Код:
SetVehiclePos(tmpcar, 2787.3777,-1613.0219,10.9219);
Change this pos to something in Los Santos
EDIT And see if it work's
Reply
#8

Код:
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(1740) : error 021: symbol already defined: "RobbedRecently"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(4877) : warning 204: symbol is assigned a value that is never used: "otherfile"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(11634) : warning 217: loose indentation
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(11659) : warning 217: loose indentation
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(21626) : warning 217: loose indentation
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(21759) : warning 217: loose indentation
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(23673) : warning 213: tag mismatch
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26720) : error 017: undefined symbol "CityHallRobbedRecently"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26740) : error 017: undefined symbol "RobCityHallTimer"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26744) : error 017: undefined symbol "CityHallRobbedRecently"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(26744) : warning 215: expression has no effect
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(28362) : warning 219: local variable "idcar" shadows a variable at a preceding level
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81101) : warning 235: public function lacks forward declaration (symbol "RobCityHall")
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81114) : error 017: undefined symbol "RobCityHallTimer"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81129) : error 017: undefined symbol "RobCityHallTimer"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81135) : error 028: invalid subscript (not an array or too many subscripts): "RobbedRecently"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81135) : warning 215: expression has no effect
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81135) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81135) : error 029: invalid expression, assumed zero
C:\Documents and Settings\George\ЕрйцЬнейб есгбуЯбт\PROJECT-SFR\ROMANIANS_ROLEPLAY\RP\gamemodes\larp.pwn(81135) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Errors.
Great.
Reply
#9

You are missing a "Bracket" where you add the new code
Reply
#10

You are missing a "Bracket" where you add the new code


EDIT also use this ontop of your script under your #includes
Код:
 #pragma tabsize 0
#pragma unused otherfile
To get rid of some warnings at the moment.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)