Author Topic: Pawno help  (Read 2927 times)

0 Members and 1 Guest are viewing this topic.

Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
Pawno help
« on: December 10, 2012, 03:02:16 pm »
Hello, pleace help my for SetWorldBounds, why commands not work!?!?!?

   else if (strcmp(cmd, "!close", true) == 0) {
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid,COLOR_GREEN,"**pm >> LOGIN!!!");
      else {
         SetWorldBounds(129.2857, -198.0357, 1316.25, 821.7857);
         SendClientMessage(playerid,COLOR_GREEN,"**pm >> Map been closed!");
      }
      return 1;
    }
   else if (strcmp(cmd, "!open", true) == 0) {
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid,COLOR_GREEN,"**pm >> LOGIN!!!");
      else {
         SetWorldBounds(5000.0, -5000.0, 5000.0, -5000.0);
         SendClientMessage(playerid,COLOR_GREEN,"**pm >> Map been opening!");
      }
      return 1;
    }


Thanks advanced.

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Pawno help
« Reply #1 on: December 10, 2012, 03:15:34 pm »
Setworldbounds?? You are crazy or what??
Ke yo sepa solo se usa en ongamemodeunit
es imposible usarlo en un comando
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Pawno help
« Reply #2 on: December 10, 2012, 04:14:38 pm »
When you set the world bounds, you set for ALL , not just for one player !

Anyway, SetWorldBounds work just in "OnGameModeInit" .

If the player isn't logged, freeze him. :P

http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/TogglePlayerControllable

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Pawno help
« Reply #3 on: December 10, 2012, 06:03:53 pm »
Damn! As always, ssseby answered first... >:(


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
Re: Pawno help
« Reply #4 on: December 12, 2012, 01:58:18 pm »
Damn! As always, ssseby answered first... >:( ,
:D:D:D hehe seby is good player so veri nice know pawno :D:D:D

Sorry for my bad english!

Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
Re: Pawno help
« Reply #5 on: December 12, 2012, 01:58:42 pm »
so sseebbyy :D:D thanks :P