Author Topic: Skyfall Command  (Read 4204 times)

0 Members and 1 Guest are viewing this topic.

xxxSharKsxxx

  • Guest
Skyfall Command
« on: February 25, 2013, 01:24:38 pm »
   else if ( strcmp( cmd, "!skyfall", true ) == 0 )
   {
      SetPlayerPos(playerid,-1026.66992, -168.38638, 921.51873 );
             format( szMsg, 128, "** pm>> %s Is Now In SkyFallZone, Type !skyfall To Fall from sky",gPlayers[playerid] );
      SendClientMessageToAll( BLUE, szMsg );
      GameTextForPlayer( playerid, "Skyfall" );
      SendClientMessage( playerid, BLUE, " = Skyfall =" );
      return 1;
   }
ENJOY :)

Offline VC[88]PD

  • Wiseguy
  • **
  • Posts: 52
    • View Profile
Re: Skyfall Command
« Reply #1 on: February 25, 2013, 01:26:17 pm »
it's a very easy cmd but Good Job

xxxSharKsxxx

  • Guest
Re: Skyfall Command
« Reply #2 on: February 25, 2013, 04:04:01 pm »
thanks :)

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Skyfall Command
« Reply #3 on: February 25, 2013, 04:10:35 pm »
GOOD FOR YOU :D
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: Skyfall Command
« Reply #4 on: February 25, 2013, 10:18:24 pm »
easy command

 ;D

Offline kitt85711

  • Wiseguy
  • **
  • Posts: 72
    • View Profile
Re: Skyfall Command
« Reply #5 on: April 21, 2013, 10:05:29 pm »
It's been a long as time since I've scripted so I'm going to try this to make it better.

(Ive tried to put the code in here but I forgot how to do it but I know how its done)

If you want people to spawn in the coordinates that you place hey thats fine but if people want to "skydive" where there at you have to define xyz with a float. Float: X, Float: Y, Float: Z;
Then GetPlayerPos of the player who said the command and then SetPlayerPos(playerid, x, y, z); With z I think, not totally sure but with z you can control how high that player is. Ex: SetPlayerPos(playerid, x, y, z+5); This is how I would make my slap command with a bit of drunk level.