SA-MP Forums Archive
[HELP] Teleport everyone? - 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] Teleport everyone? (/showthread.php?tid=161356)



[HELP] Teleport everyone? - andershh - 19.07.2010

How can i make a command like '/startevent', then it appears on everyones screen
'An event has been started, type /joinevent to join it'. Then everyone TPes to your position.

I already got a /startevent command, but when peopels join, they only see black.
I would appericate it higly if anyone could help me.


Re: [HELP] Teleport everyone? - Finn - 19.07.2010

Set the players to the same interior as you are and they shouldn't see black.


Re: [HELP] Teleport everyone? - Grim_ - 19.07.2010

I made this for a guy a few weeks ago, it's basically what you're looking for:
http://pastebin.com/6XTxutSP


Re: [HELP] Teleport everyone? - Finn - 19.07.2010

Quote:
Originally Posted by Grim_
Посмотреть сообщение
I made this for a guy a few weeks ago, it's basically what you're looking for:
http://pastebin.com/6XTxutSP
That script has the same bug as his; if the host is in interior, the other players will get fucked up.


Re: [HELP] Teleport everyone? - Grim_ - 19.07.2010

Okay, simply add the interior to the enum and add it when the admin does /setpos.


Re: [HELP] Teleport everyone? - Finn - 19.07.2010

Why don't you fix your script by yourself. I wouldn't give out a script that has a bug I know about.


Re: [HELP] Teleport everyone? - [XST]O_x - 19.07.2010

http://pastebin.com/zAJ4mmis

Should work,simply added couple of lines


Re: [HELP] Teleport everyone? - Kar - 19.07.2010

lol what up with all the tag mismatchs


Re: [HELP] Teleport everyone? - [XST]O_x - 19.07.2010

What do you mean? Compiles fine for me.


Re: [HELP] Teleport everyone? - Kar - 19.07.2010

i added it to my gm for a test i use zcmd i put it under public OnPlayerCommandReceived(playerid, cmdtext[])
{
return 1;
}

and tag mismatchs like crazy xD

or was i surpose to put it under public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
return success;
}

[edit] i put it there and still mismatchs o.o i'll just conver tto zcmd