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.


  Show Posts
Pages: 1 [2]
16  Scripting / Script Snippets / new wep system easy way on: June 11, 2017, 10:51:23 pm
Quote
function onPlayerCommand( pPlayer, szCommand, szArgs )
{
if ( szCommand == "cmds" )
   {
      MessagePlayer( "Current server commands are the following", pPlayer );
                MessagePlayer( "------------------wepcmds-------------------", pPlayer );
}
else if ( szCommand == "wepcmds" )
   {
       MessagePlayer( "------------Wepon Commands---------------", pPlayer );
                 MessagePlayer( "Syntax:-(/)use before wep name", pPlayer );
                 MessagePlayer( "Example:- /name of wep here", pPlayer );
                 MessagePlayer( "(/):- m16 colt shot gre uzi", pPlayer );
                 MessagePlayer( "----------------------------------------", pPlayer );
   }
else if ( szCommand == "m16" )
   {
      pPlayer.SetWeapon( 6 );
   }
   else if ( szCommand == "colt" )
   {
      pPlayer.SetWeapon( 2 );
   }
   else if ( szCommand == "shot" )
   {
      pPlayer.SetWeapon( 4 );
   }
   else if ( szCommand == "gre" )
   {
      pPlayer.SetWeapon( 11 );
   }
else if ( szCommand == "uzi" )
   {
      pPlayer.SetWeapon( 3 );
   }
}

Modify message
17  Scripting / Script Snippets / Re: /count on: May 25, 2017, 03:37:27 pm
yea "what ever" GTFO
18  Liberty Unleashed / Bug Reports / Re: Error when entering a server on: May 25, 2017, 02:50:47 pm
U can try downloading other patch of GTA 3.exe
19  Scripting / Script Snippets / Re: /count on: May 23, 2017, 03:06:30 pm
Code: [Select]
function onPlayerCommand( player, cmd, text )
{
if ( cmd == "count" )
{
NewTimer( Message, 1000, 1, "=3=", 200, 0, 0 );
NewTimer( Message, 2000, 1, "=2=", 200, 0, 0 );
NewTimer( Message, 3000, 1, "=1=", 200, 200, 0 );
NewTimer( Message, 4000, 1, "=GO!=", 0, 200, 0 );
}
}
Just a colorful little counting script snippet.
Useful for DMs.
I Have Did It Like /count not like /c count
look:
Code: [Select]
else if ( szCommand == "count" )
{
              NewTimer( "BigMessage", 1000, 1, player ,"=3=" , 5000, 3 );
              NewTimer( "BigMessage", 2000, 1, player ,"=2=" , 5000, 3 );
              NewTimer( "BigMessage", 3000, 1, player ,"=1=" , 5000, 3 );
              NewTimer( "BigMessage", 4000, 1, player ,"=GO!=" , 5000, 3 );
}
so when i type /count nothing happens why? do i have to define a pPlayer too?

try this


else if ( szCommand == "count" )
   {
   NewTimer( "BigMessage", 1000, 1, pPlayer ,"=3=" , 5000, 3 );
   NewTimer( "BigMessage", 2000, 1, pPlayer ,"=2=" , 5000, 3 );
   NewTimer( "BigMessage", 3000, 1, pPlayer ,"=1=" , 5000, 3 );
   NewTimer( "BigMessage", 4000, 1, pPlayer ,"=GO!=" , 5000, 3 );
   }
20  Servers / Advertise your server! / [0.1]Top Down City LC-MP Server on: March 20, 2017, 09:04:54 am


Server Name : TOP DOWN CITY LU-SERVER
Server Port : 2301
Current version: TDC
Owner : MRDK
Gamemode : ---DM---
Uptime :24hrs


COMMANDS:
register rules info wepcmds
login cd vcmds admins forum
script



REAL NAME: MEGA MIND
ingame nick: MRDK(OWNER)

OUR Website: https://sites.google.com/view/tdcs-org/home
OUR CLAN: http://tdkclan.smfnew2.com
OUR FACEBOOK PAGE: https://www.facebook.com/TDCVSMP/   
YOUTUBE: https://www.youtube.com/channel/UC2eTGoGsnz0sg7VDcBZggNQ

let me know in the forums if there are any bugs
Pages: 1 [2]
© Liberty Unleashed Team.