Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Synx on May 12, 2011, 11:11:06 pm
-
Hello,
Can anybody, can make WorldBounds on middle i want part of all map in middle.... Wheres sunshine autos that part let it stays no WorldBounds, but part 2 of map set WorldBounds.
Sorry, Bad English.
Thanks,
Synx 8)
-
but where i can do that but in what part i don't understad in what part are u saying
-
Dont Create in red zone WorldBounds, but all other map set worldbounds.
...
(http://www.bildites.lv/images/1fs8scpr7gcf3t2o0kve.png)
-
i don't understand....
-
Create all map world bounds , without Red zone....!!!! On that image.
-
He Mean's All Map Except Mansion :P
-
He Mean's All Map Except Mansion :P
Yes
-
Use Stormeus Alternative Worlds Bounds EDIT it like
if player in that arena remove player
-
Use Stormeus Alternative Worlds Bounds EDIT it like
if player in that arena remove player
yes that make sense because the world bounds it's square and it's kind of imposible take out the mansion
-
or try to use this software
http://www.megaupload.com/?d=4XY7VOK7 (http://www.megaupload.com/?d=4XY7VOK7)
no virus link uploaded by me
i didn't create the software it's easy to use ok
-
BIG[H]
I Dont want to delete That Place i want red zone is not world bounds
But all other map is worldbounds on!!!!
or try to use this software
http://www.megaupload.com/?d=4XY7VOK7 (http://www.megaupload.com/?d=4XY7VOK7)
no virus link uploaded by me
i didn't create the software it's easy to use ok
Not Working.
- Compoment 'ms..................' .................
----------------------------------------------------->
Please Create just easyest not alternative i want
that somethings like....
SetWorldBounds(........)
Island Y Y X X....
Please create easyest....!!
<-------------------------------------------------------
-
It doesn't work like that. If you want to stop players from going on Starfish, you need to script it.
-
but the software i posted it's working i swear
-
but the software i posted it's working i swear
Works. :)
-
some type of shitty DLL is Missing :-[
-
or try to use this software
http://www.megaupload.com/?d=4XY7VOK7 (http://www.megaupload.com/?d=4XY7VOK7)
no virus link uploaded by me
i didn't create the software it's easy to use ok
i gave you that software! erm..
Topic:-
hmm i have a idea use Pickups around starfish island and when ppl goes through it set there pos to some where else and send a message "you are not allowed to come here" xD Just an idea
-
Topic:-
hmm i have a idea use Pickups around starfish island and when ppl goes through it set there pos to some where else and send a message "you are not allowed to come here" xD Just an idea
Too many pickups could probably crash the server. You could just get the coordinates of the box around Starfish Island and use a function like this to keep them out.
[pawn]
new Float:Starfish_min_x = 0.0,
Float:Starfish_max_x = 0.0,
Float:Starfish_min_y = 0.0,
Float:Starfish_max_y = 0.0,
Float:Respawn_x = 0.0,
Float:Respawn_y = 0.0,
Float:Respawn_z = 0.0;
public StarfishForbidden()
{
// Variables for players' current positions
new Float:X,
Float:Y,
Float:Z;
// Iterate through all connected players
for(new i = 0; i < MAX_PLAYERS; i++)
{
// Player has to be connected
if(IsPlayerConnected(i))
{
// Get player's current position
GetPlayerPos(i, X, Y, Z);
// They're in Starfish
if(X > min_x && X < max_X && Y > min_y && Y < max_y)
{
// Remove them
SetPlayerPos(i, Respawn_x, Respawn_y, Respawn_z, 25, 0, 0);
// Send them a message
SendClientMessage(i, COLOR_YELLOW, "You may not enter Starfish Island.");
}
}
}
}
[/pawn]
[pawn]
SetTimer("StarfishForbidden", 1000, 1); // Check Starfish Island every second
[/pawn]
-
or try to use this software
http://www.megaupload.com/?d=4XY7VOK7 (http://www.megaupload.com/?d=4XY7VOK7)
no virus link uploaded by me
i didn't create the software it's easy to use ok
i gave you that software! erm..
Topic:-
hmm i have a idea use Pickups around starfish island and when ppl goes through it set there pos to some where else and send a message "you are not allowed to come here" xD Just an idea
yes... sorry for no credits but i uploaded in my account
-
[pawn]new Float:Starfish_min_x = 0.0,
Float:Starfish_max_x = 0.0,
Float:Starfish_min_y = 0.0,
Float:Starfish_max_y = 0.0,
Float:Respawn_x = 0.0,
Float:Respawn_y = 0.0,
Float:Respawn_z = 0.0;
public StarfishForbidden()
{
// Variables for players' current positions
new Float:X,
Float:Y,
Float:Z;
// Iterate through all connected players
for(new i = 0; i < MAX_PLAYERS; i++)
{
// Player has to be connected
if(IsPlayerConnected(i))
{
// Get player's current position
GetPlayerPos(i, X, Y, Z);
// They're in Starfish
if(X > min_x && X < max_X && Y > min_y && Y < max_y)
{
// Remove them
SetPlayerPos(i, Respawn_x, Respawn_y, Respawn_z, 25, 0, 0);
// Send them a message
SendClientMessage(i, COLOR_YELLOW, "You may not enter Starfish Island.");
}
}
}
}
[/pawn]
BUGGED!
-
BUGGED!
Maybe because the coordinates aren't set?
[pawn]
new Float:Starfish_min_x = 0.0,
Float:Starfish_max_x = 0.0,
Float:Starfish_min_y = 0.0,
Float:Starfish_max_y = 0.0,
Float:Respawn_x = 0.0,
Float:Respawn_y = 0.0,
Float:Respawn_z = 0.0;
[/pawn]
-
[pawn]new Float:Starfish_min_x = 0.0,
Float:Starfish_max_x = 0.0,
Float:Starfish_min_y = 0.0,
Float:Starfish_max_y = 0.0,
Float:Respawn_x = 0.0,
Float:Respawn_y = 0.0,
Float:Respawn_z = 0.0;
public StarfishForbidden()
{
// Variables for players' current positions
new Float:X,
Float:Y,
Float:Z;
// Iterate through all connected players
for(new i = 0; i < MAX_PLAYERS; i++)
{
// Player has to be connected
if(IsPlayerConnected(i))
{
// Get player's current position
GetPlayerPos(i, X, Y, Z);
// They're in Starfish
if(X > min_x && X < max_X && Y > min_y && Y < max_y)
{
// Remove them
SetPlayerPos(i, Respawn_x, Respawn_y, Respawn_z, 25, 0, 0);
// Send them a message
SendClientMessage(i, COLOR_YELLOW, "You may not enter Starfish Island.");
}
}
}
}
[/pawn]
BUGGED!
the coordinates are 0.0 and it need to be set X_X!
-
Fixed :)
[pawn]SetPlayerPos(i, Respawn_x, Respawn_y, Respawn_z, 25);[/pawn] no 0 , 0