Portal Idea [+REP] - 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: Portal Idea [+REP] (
/showthread.php?tid=572015)
Portal Idea [+REP] -
arlindi - 24.04.2015
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!!!
Re: Portal Idea [+REP] -
Azula - 24.04.2015
Deal it with textdraw when player connect he select the mod and play the mod ^^
Re: Portal Idea [+REP] -
arlindi - 24.04.2015
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?
Re: Portal Idea [+REP] -
Azula - 24.04.2015
script all the mods as FS and you can load them
by SendRconCommand("loadfs");
Re: Portal Idea [+REP] -
arlindi - 24.04.2015
Nahh i have created it in GM not in FS
Re: Portal Idea [+REP] -
Abagail - 24.04.2015
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
}
Re: Portal Idea [+REP] -
arlindi - 24.04.2015
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
Re: Portal Idea [+REP] -
arlindi - 24.04.2015
Waiting for answer
Re: Portal Idea [+REP] -
arlindi - 02.05.2015
Can Anyone i was wait for a long time
Re: Portal Idea [+REP] -
Mencent - 02.05.2015
Hello!
First you can show us your code.
We look then, an maybe we can help.