Portal Idea [+REP]
#1

Hello i am curious to create something in server
i want to make an multimode

i want to create 4 Ports WHen players enter can use multimode
But when the server when turn on the ports are unkown
after This i want an command to load what mode i want and in witch Port 1,2,3,4
Thank you!!
Bye!!!
Reply
#2

Deal it with textdraw when player connect he select the mod and play the mod ^^
Reply
#3

Yess But i dont know how to create this
To load the Mod where i want in port 1,2,3,4
Can you help mee please?
Reply
#4

script all the mods as FS and you can load them

by SendRconCommand("loadfs");
Reply
#5

Nahh i have created it in GM not in FS
Reply
#6

This is commonly done visually through textdraws. However, for the server-end you'll need to store information such as the player's current port, etc, and script things they can do according to the information stored. Example:

pawn Код:
enum pPortData
{
    pPort,
    bool: pInsidePort
}

new PortInformation[MAX_PLAYERS][pPortData];
stock GetPlayerPort(playerid) {
    if(PortInformation[playerid][pInsidePort] == true) {
         return PortInformation[playerid][pPort];
    }
    else return 0; // not inside of a port
}

stock ConnectToPort(playerid, port) {
  if(port >= 1 && port < 5)
  {
        PortInformation[playerid][pPort] = port;
        PortInformation[playerid][pInsidePort] = true;
        return 1;
  }
  else return 0; // bad port
}
Reply
#7

I have multimodeeee
I have also and textdraw

But i dont know how load in the Port where i want

https://www.youtube.com/watch?v=a10W2-l8ixM

Got idea here
Look when he open the mode with slow mode
Reply
#8

Waiting for answer
Reply
#9

Can Anyone i was wait for a long time
Reply
#10

Hello!

First you can show us your code.
We look then, an maybe we can help.
Reply


Forum Jump:


Users browsing this thread: