[HELP]Tutorial Filterscript
#1

[b]
Hello, do you know where i can find an Tutorial "FilterScript" , i want to have an tutorial for my server but dont want one integrated in an gamemode
Reply
#2

Put it under OnPlayerRequestClass
Reply
#3

Quote:
Originally Posted by retart441
Put it under OnPlayerRequestClass
ill try that, i thought i had to put it under "OnPlayerRequestSpawn" guess im wrong.
Reply
#4

Quote:
Originally Posted by retart441
Put it under OnPlayerRequestClass
didnt help, still continues playing after spawn. this is now what i have:
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerWeather(playerid, 1);
	SetPlayerPos(playerid, 2939.0447,-2051.4888,3.5480);
  SetPlayerCameraPos(playerid, 2934.0447,-2051.4886,4.5480);
  SetPlayerCameraLookAt(playerid, 2939.0447,-2051.4888,3.5480);
  PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0); <---------- MUSIC START
  SetPlayerFacingAngle(playerid, 91.9195);
	switch(classid)
Reply
#5

Quote:
SOUND_GOGO_TRACK_START 1062 (music)
SOUND_GOGO_TRACK_STOP 1063 (music)
See if that works, try playing 1063 OnPlayerSpawn.
Reply
#6

Quote:
Originally Posted by retart441
Quote:
SOUND_GOGO_TRACK_START 1062 (music)
SOUND_GOGO_TRACK_STOP 1063 (music)
See if that works, try playing 1063 OnPlayerSpawn.
WORKED!!! THANK YOU!!
Reply
#7

Anytime.
Reply
#8

another thing, do ya know where i can find an Tutorial "FilterScript" , i want to have an tutorial for my server but dont want one integrated in an gamemode.
Reply
#9

Quote:
Originally Posted by Camacorn_Leek
another thing, do ya know where i can find an Tutorial "FilterScript" , i want to have an tutorial for my server but dont want one integrated in an gamemode.
Why not? It's a very simple thing to make.
Reply
#10

can you show me how? like make the script i have to add to my gamemode? please.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)