SA-MP Forums Archive
Help with a DM 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: Help with a DM server (/showthread.php?tid=90792)



Help with a DM server - Stunterz - 10.08.2009

Hi, me and my cousin are setting up a SAS DM server, but we are a bit stuck, please help me with these bits, thanks :P
1. Making the teams equal (must go on the oposite team to equal the levels in a team)
2. making the time change and having the clock in the corner
3. Making the weather change randomly

Please help, we will apreciate it,
thanks


Re: Help with a DM server - Martin_White - 10.08.2009

- Weather changing every 1 minute:

Click Here

And for others, please wait.


Re: Help with a DM server - dice7 - 10.08.2009

ohai


Re: Help with a DM server - Martin_White - 10.08.2009

Stunterz, do you want the clock with a normal game text or a text draw?


Re: Help with a DM server - Stunterz - 10.08.2009

Quote:
Originally Posted by Martin_White
Stunterz, do you want the clock with a normal game text or a text draw?
is normal game text like the chat box text? and textdraw, dose that look like the real timer out of SA?


Re: Help with a DM server - Martin_White - 10.08.2009

game text is this:

https://sampwiki.blast.hk/wiki/GameTextStyle

text draw is exactly like game texts but with advanced colors and backgrounds etc.


Re: Help with a DM server - Stunterz - 10.08.2009

Hi, please could it be Game text and please could it be in the same location the clock is in GTA SA ? :P
thanks


Re: Help with a DM server - Martin_White - 10.08.2009

How do you want it as a clock? you mean 1 minute passes and the gamemode restarts or what? i don't understand you,

But if you want a GTASA clock then add this to your OnGameModeInit:

TogglePlayerClock(playerid, 1);

and you're done.


Re: Help with a DM server - Stunterz - 10.08.2009

Quote:
Originally Posted by Martin_White
How do you want it as a clock? you mean 1 minute passes and the gamemode restarts or what? i don't understand you,

But if you want a GTASA clock then add this to your OnGameModeInit:

TogglePlayerClock(playerid, 1);

and you're done.
Sorry to confuse you, i ment just like that TogglePlayerClock(playerid, 1);
But thanks for the other stuff too


Re: Help with a DM server - Stunterz - 10.08.2009

TogglePlayerClock(playerid, 1); makes one error in there

public OnGameModeInit()
{
SetGameModeText("SAS Special forces VS Gangs");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
TogglePlayerClock(playerid, 1);
SetTimer("weather", 60000, 1);
SetTimer("time", 60000, 1);

C:\Documents and Settings\Cameron Banfield\Desktop\Game-Flight DM server\gamemodes\SASDM.pwn(36) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.