Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - heekz.shadow

Pages: 1 ... 5 6 [7] 8 9 ... 16
91
mIRC/pawn Scripting / Re: I don't understand returns
« on: January 05, 2013, 01:16:38 am »
...

for example, you want to know if a player is online, so you do something like

Code: [Select]
if( IsPlayerOnline(playerid) == 1 )
You won't get 1 if there'd be no return 1;

92
Servers / Re: Vice City Mini Missions!
« on: January 05, 2013, 01:15:13 am »
List of possible gamemodes:

- Bloodring destruction derby
- Hotring race
- Protect the president ( 2 teams - protect and kill )
- Sherlock Holmes ( find clientside pickups which contain logic riddles to help you find the big pickup )

and more to come! Suggestions are welcome!

EDIT: /c nojoin on/off command has been added so you can choose to not join a gamemode, if you set this command on, you will be let to freeroam the city and kill. ( none of these freeroam actions will be counted ingame )

93
mIRC/pawn Scripting / Re: I don't understand returns
« on: January 04, 2013, 08:28:34 pm »
If you want the public to return something, you use return, for example:

[pawn]public IsHeThere( playerid )
{
      if( strcmp( IsHe(playerid), "Yes", 0 ) )
     {
         DoSomething();
      }
}

public IsHe(playerid)
{
       if( IsThere( playerid ) ) return "Yes";
      else return "No";
}[/pawn]

94
Servers / Vice City Mini Missions!
« on: January 03, 2013, 10:59:07 pm »
Vice City Mini Missions/modes


I guess the title tells what the server is about, well, if you didn't understand, it's about mini modes, different modes will be loaded at times, each mode being different, there is a main script which holds the basic system needed for running a proper server.

So yeah, after few people lost hopes in my project, the first beta-test came !

The server is running on VRocker's machines, and the scripts are working, just ironing bugs in the first gamemode. :)

We have an echo, at #VC.MiniMissions

Screenshots to come soon!



List of commands:

  • Main script:
    • Registration system
      • register
      • login

    • Gamemode loading system:
      • load
      • unload

    • Administration system:
      • kick
      • ban
      • sban (subnet ban)
      • mute
      • freeze
      • unmute
      • unfreeze
      • kill

  • Test Gamemode - First gamemode
    • wep


Gamemodes:

  • Test Gamemode - First gamemode
    • This gamemode was supposed to be a very basic deathmatch in a building, you have 15 seconds to choose your spawnweapons using /c wep command ( ex: /c wep m4 m60 laser stubby ) then you will be teleported in the Army Base Building, at a random position every time you spawn. First to reach 50 score ( limit may be decreased, score is obtained by killing someone ) wins the gamemode, however, gamemode will not unload, this has to be done manually

  • Information:
    • Host: VRocker's Machines
    • IP: 178.32.55.64
    • Port: 5192
    • Gamemode: Main + various gamemodes
    • IRC Echo: #VC.MiniMissions
  • IRC Server: LUNet ( liberty-unleashed.co.uk:6667 )

95
General Discussion / Re: Give me VCMP 0.4 Beta
« on: January 03, 2013, 02:02:42 am »
www.sweetdreams.com

(there is no such link, 0.4 is not even released, it is rewritten from scratch)

96
General Discussion / Re: 0.4 question to the community
« on: January 02, 2013, 04:27:34 pm »
What i want to bring to front is...
i goto school i study online computer games and my Professor told me this online game is sloppy you used to much code in places that don't need it and not enough in place that really need it so you guys should really talk to the SA-MP Team for some help and i can not believe this is the OFFICIAL WEBSITE and squirrel has MORE working commands then PAWNO what a shame   

ok you are now promoted to official 0.4 developer, congratz, please work non-stop for us and take exams while being at university then come home, don't eat, don't sleep, don't party, just work for us ok, if you don't work you will be killed with a rocketlauncher.

97
Tutorials / Re: How to make a gametext with changing colors
« on: December 31, 2012, 08:54:53 pm »
Why 2 timers ?
Please don't follow the method described above, see this:

[pawn]
new tick = 0;

forward gtchange();

public OnGameModeInit()
{
         SetTimer("gtchange", 2000, 1);
}

public gtchange()
{
    switch(tick)
    {
         case 0:
                  GameTextForAllBottom("Your text with your colour No1 here");
                  tick = 1;
         case 1:
                  GameTextForAllBottom("Your text with your colour No1 here");
                  tick = 0;
    }
return 1;
}[/pawn]

Don't use too many timers, this version should be better..                 

98
mIRC/pawn Scripting / Re: count command by me(not that count down in gups)
« on: December 29, 2012, 01:47:31 pm »
on top:
[pawn]new repeat = 0;[/pawn]

command:
[pawn]SetTimer( "CountDown", 1000, 3 );[/pawn]

public:
[pawn]public CountDown()
{
       switch(repeat)
        {
                case 0:
                    SendClientMessageToAll( COLOR_GREEN, "=== 3 ===" );
                        repeat = 1;
                        break;
                case 1:
                         SendClientMessageToAll( COLOR_GREEN, "=== 2 ===" );
                        repeat = 2;
                        break;
                case 2:
                         SendClientMessageToAll( COLOR_GREEN, "=== 1 ===" );
                         repeat = 3;
                         break;
               case 3:
                        SendClientMessageToAll( COLOR_GREEN, "GO! GO! GO!" );
                   GameTextForAll("gogogo!!");
                        repeat = 0;
                       break;
           }
}
                         [/pawn]

Should work better with a single timer, not tested but it should work, long time no see, pawn.

99
SQL = SQLite which is a QUERY LANGUAGE

Squirrel does not have an official abbreviation, but you can use SQ.

100
mIRC/pawn Scripting / Re: Can You Fix !heal cmd i have made it!!?
« on: December 21, 2012, 11:06:03 am »
If the player has 4990,4991,4992,4993,4994,4995,4996,4997,4998,4999 money, nothing happens.

101
mIRC/pawn Scripting / Re: HEY GUYS!
« on: December 19, 2012, 03:14:39 pm »
Some people make their own gamemodes and do not will to share it with others. I believe this gamemode cannot be found, go and make your own. And why make a poll?

102
Snippet Showroom / Re: heal superfast (report it if you shown any bug init)
« on: December 12, 2012, 06:49:44 pm »
no i have false the goto hospital
becuz it code hospital  = false = 0
healing in 1 sec
first try then say
Better use settimer and public whit SetPlayerHealth(i),100.0
think first
only is one idea

Do you know how bad timers are ?

103
Snippet Showroom / Re: heal superfast (report it if you shown any bug init)
« on: December 12, 2012, 03:20:27 pm »
Not even made by you...

104
mIRC/pawn Scripting / Re: how to add !rob playername
« on: December 11, 2012, 10:22:52 pm »
i need some basic cmds with some functions
!rob then type if you r near a player you can rob himlol understand
you not understand,make you own commands
the forum is for help not for give to you all commands

I think is okay cuz he asked us for cmd in the right topic so.

It's obvious that you do not understand why these forums were made. We are not here to script for others, we script at our own will for our own benefits, if others choose to help others, that's completly different. We are here to help, not to give away commands. He should try to do it himself and then post the script if he had any mistake.

105
General Discussion / Re: 0.4 question to the community
« on: December 04, 2012, 05:20:25 pm »
maxorator

Last Active:
October 11, 2012, 05:21:57 PM

 :(

How could a forum tell that he didn't do anything since April till now? maxorator is alive, if you use your mind, you can find him pretty easy... Learn Squirrel in the meantime if you are not that lazy...

Pages: 1 ... 5 6 [7] 8 9 ... 16