SA-MP Forums Archive
I need Help With Ravens Roleplay gm - 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)
+--- Thread: I need Help With Ravens Roleplay gm (/showthread.php?tid=325464)



I need Help With Ravens Roleplay gm - Carlb - 13.03.2012

Hello

I need help
when me and my mate join ravens roleplay(My Server) we cant see each other anywhere on the big or small map
Can someone help us please
Thanks
Carlb

Heres the showplayermarkers bit
public OnGameModeInit() // Do not add vehicles Above the next lines. - CuervO
{
ShowPlayerMarkers(1);
LoadCar();
new string2[64];
for(new h = 1; h < sizeof(CarInfo); h++)
{
format(string2, sizeof(string2), "LARP/Vehicles/%d.ini",h);
if(dini_Exists(string2))
{
ownedcar[h] = AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
if(CarInfo[h][cPaintjob] != 999)
{
ChangeVehiclePaintjob(h, CarInfo[h][cPaintjob]);
}
SetVehicleVirtualWorld(h, CarInfo[h][cVirWorld]);
SetVehicleModifications(h);
}
}

if(!dini_Exists("LARP/Users/Aliases/alias.txt")) dini_Create("LARP/Users/Aliases/alias.txt");
if(!dini_Exists("LARP/Users/Aliases/ips.txt")) dini_Create("LARP/Users/Aliases/ips.txt");

SendIP = 0;
cDebug = 0;
nextapartment = 24;
nexthouse = 2;
nextmedium = 17;
nextbig = 1;

nextshop = 1;

Predators = 0;
Rhinos = 0;
Hunters = 0;
Hydras = 0;
admins = 0;
MinutesTD = 0;
SecondsTD = 0;
HoursTD = 0;
voteyes = 0;
voteno = 0;
votation = 0;
votetype = 0;
votationrecently = 0;
beingvoted = 255;
ServerRestarted = 0;
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
new PropertyString[256];
for(new i = 1; i < MAX_REPORTS; i++) Reports[i] = "<none>";
for(new c=0;c<MAX_VEHICLES;c++)
{
Gas[c] = GasMax;
}


Re: I need Help With Ravens Roleplay gm - Mike_Peterson - 13.03.2012

We shall start, by using [pawn] & [ /pawn] tags with your code, then I assume this is what you seek:
https://sampwiki.blast.hk/wiki/LimitPlayerMarkerRadius

If this is not the answer to your question, then we shall speak again.


Re: I need Help With Ravens Roleplay gm - Carlb - 13.03.2012

Cant Find Nothing Like What you have posted


Re: I need Help With Ravens Roleplay gm - Mike_Peterson - 13.03.2012

Add this under OnGameModeInit then

pawn Код:
LimitPlayerMarkerRadius(20.0);
edit after u posted ur /facepalm question: Yes, and I hope u read this, OnGameModeInit, it clearly says 'GameMode' or am I starting to be nuts, yes.. you put it under your gamemode, monsieur.


Re: I need Help With Ravens Roleplay gm - Carlb - 13.03.2012

in the gamemode?


Re: I need Help With Ravens Roleplay gm - Carlb - 13.03.2012

Still Wont Work


Re: I need Help With Ravens Roleplay gm - Mike_Peterson - 13.03.2012

oh wait, u cant see anywhere on the map? i thought anywhere..
or is only when near the player? there might be a big chance that the player's color has been set to full transparent, if that's the case, then set the players' color to a non-transparent colour, or just @ the end of the hex color, replace AA with FF, will work + remove the limitplayermarkers thing i said before.


Re: I need Help With Ravens Roleplay gm - Carlb - 13.03.2012

you got teamviewer?


Re: I need Help With Ravens Roleplay gm - Carlb - 13.03.2012

cuz i look for transparent in find thing and its says it cant find it


Re: I need Help With Ravens Roleplay gm - Carlb - 13.03.2012

AnyOne Else kno of a fix for this if u do plz pm me the info thx