The Visage Casino
#1

Hy!
So I need a script!
This is the casino:
http://gta.wikia.com/wiki/File:The_Visage_2.jpg
http://gta.wikia.com/wiki/File:The_Visage_At_Night.jpg

So:
I am go into the gate it's give a PM:
Welcome home Tony!
I am go out of the gate:
Bye! Have a good day!

And at the garage:
Welcome to garage! Find your car!

Ohh and i need a teleport to top, a lift or....
command need: /goup

Please!
I need it soon!
Help please
Tony
Reply
#2

i think you have to use checkpoints - when you enter in checkpoint it shows message...
Reply
#3

But I dunno, how can I made it
Reply
#4

i am not a good scripter, but i know something...

i'll try to make something...

edit: try this:

Код:
SetPlayerCheckpoint(playerid, 2056.400634, 1883.457275, 11.694512, 5);
 return 1;
}
 
public OnPlayerEnterCheckpoint(playerid)
{
  SendClientMessage(playerid, 0xFFFFFFFF, "welcome to visiage");;
  SetPlayerInterior(playerid,3);
  DisablePlayerCheckpoint(playerid);
  return 1;
}
put this in your gamemode under
Код:
 public OnPlayerSpawn(playerid)
and compile. (the coords is near the visiage entrance)
Reply
#5

PlayerToPoint
GetPlayerName
SendClientMessage
MoveObject
Timer

That's all you need really...
Reply
#6

ThX guys!

I think I now can made it(or no XD)

I try to made it

So I write soon

Edit:
I don't need gates, but mine English is sh*t
Reply
#7

I'll do it soon mate, hold on.


EDIT:
Visage

pawn Код:
// Top of script.
new gate1;
new gate2;
new gate3;
new gate4;
new elevator;
pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(30, 2104.88, 1859.06, 11.5078, 0.00, 24, 99999999, 0, 0, 0, 0);
   
  gate1 = CreateObject(985, 2104.88, 1859.06, 11.5078, 0, 0, 105.00);
    gate2 = CreateObject(985, 2106.95, 1866.91, 11.5078, 0, 0, 285.00);
    gate3 = CreateObject(985, 2107.26, 1965.42, 11.5078, 0, 0, 90.00);
    gate4 = CreateObject(985, 2107.25, 1973.42, 11.5078, 0, 0, 270.00);
    AddStaticVehicle(487,1959.2004,1914.0631,131.1142,0.0009,0,0);
   
    elevator = CreatePickup(1239, 2, 2019.5035,1933.4663,12.3412);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/opengate", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid, 0xFFFFFFAA,"Welcome home Tony!");
    MoveObject(gate1, 2104.88, 1859.06, 3.5078, 2.00);
    MoveObject(gate2, 2106.95, 1866.91, 3.5078, 2.00);
    MoveObject(gate3, 2107.26, 1965.42, 3.5078, 2.00);
    MoveObject(gate4, 2107.25, 1973.42, 3.5078, 2.00);
    return 1;
    }
    if (strcmp("/closegate", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid, 0xFFFFFFAA,"Bye! Have a good day!");
    MoveObject(gate1, 2104.88, 1859.06, 11.5078, 2.00);
    MoveObject(gate2, 2106.95, 1866.91, 11.5078, 2.00);
    MoveObject(gate3, 2107.26, 1965.42, 11.5078, 2.00);
    MoveObject(gate4, 2107.25, 1973.42, 11.5078, 2.00);
    return 1;
    }
    return 0;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if (pickupid == elevator)
    {
    SetPlayerPos(playerid, 1967.0446,1921.4027,130.9375);
    SendClientMessage(playerid,0xFFFFFFAA ,"*DING* You've taken the elevator to the roof.");
    }
    return 1;
}
Reply
#8

ohh man, thx
You a very good scripter
Reply
#9

Quote:
Originally Posted by Fay-Tony
ohh man, thx
You a very good scripter
No problem mate. Happy to help.
Reply
#10

it's not work!


Please help me out! or send a link from the script or anything

PS: sry for doublepost
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)