Needed few things... thx
#1

Okay, i started my own server and i need a little help... ( i use GF GM )... So here is the things i need:

1. How to make so moving gate close after 5 second...
2. Please tell me how to make so /fuel automaticlly is turned on when player login and how to change the size of text "GAS: %"
3. How to add a simple job "TAXI" so they can take a job and drive taxi xD
4. How to add a simple job "MEDIC" cuz' i deleted organisation Medics, beacuse its stupid
5. How to make so all players can take their job in City Hill by typing /takejob and then the menu show up and they choose...
6. I have a ramp on PD entrance, but how to make so i can open and close it... not like a regular gate, its VERTICALY but when i type /pdc it must be HORISONTAL...

Guys if u try to type "use search button" please dotn cuz i cant find soultion for this...

Thanks all. loT4r.
Reply
#2

What the hell is this a to do list, i dont think nooone wil do this for you
Reply
#3

Hurts my eyes to read that.
Reply
#4

Atleast answer on 1 question? xD
Reply
#5

You learn how to script and do them all,simple as that.
Reply
#6

I didn't read it all, But as I see you're a beginner, For /fuel thing is a gas system.. You can't just /fuel it up.
About the Moving Gate
You do it like
pawn Код:
if(!strcmp(cmd,"/gate",true))
{
  MoveObject(objectname,1000,1000,955,1); // Objectname is the name of the object, 1000 = X, 1000 = Y, 955 = Z 5 degress underground., 1 is the speed of the gate.
  SetTimer(gate,1000*/*seconds*/, true);
  return true;
}

forward gate();
public gate MoveObject(objectname,1000,1000,1000,1); // the Z here is 1000, Which simply gets the object up. To be on it's place.
And here you got a moving gate.
About the /takejob.
You create a menu and each option gives to the player another job type.
About the gate in PD, I'm might sure you're talking on San Fierro PD station.
Here you go a moving gate of PD gate in SF, When you're talking about + Auto close after 5 seconds.
pawn Код:
new pdbarrier;
//Someplace in OnGameModeINit
pdbarrier=CreateObject(968, -1701.414551, 687.750793, 24.665670, 0.0000, 269.7592, 89.3814);
//OnPlayerCommandText
if(!strcmp(cmd,"/pdc,"true))
{
  SetObjectRot(pdbarrier,0.0000, 359.7592, 90.2409);
  SetTimer(barrier,1000*5,true);
  return true;
}

//Someplace
forward barrier();
public barrier MoveObject(barrier,0.0000, 90.2409, -90.2409);
And that's all I guess, I wrote it all here so.. bad identitation, tought.
Reply
#7

OMG, whos the king.... MenaceX is the king! Thanks mate!
Reply
#8

Can someone please tell me how to make GAS thing better.... I need it to be turned on all the time player is in Vehicle... that count automatic turning /fuel on after player login...

Thanks!
Reply


Forum Jump:


Users browsing this thread: