Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: jimmy on December 31, 2011, 08:08:03 pm

Title: GUPS PROB AGAIN
Post by: jimmy on December 31, 2011, 08:08:03 pm
hey guys i am scripting on GUPS i need the cmd of gotoloc i want to write !gotoloc not /c gotoloc plzz give me and tell me the cmd for !brb !back !lol when i write brb my player pause and when i write !back my player unpause for lol laughing out loud plzzzzzzzzz
Title: Re: GUPS PROB AGAIN
Post by: yazeen on December 31, 2011, 08:42:59 pm
Meh this is not a place to request scripts , this is a place where we help you fix the script if you post your script here.
Btw to change /c gotoloc to !gotoloc Cut the whole script /c gotoloc and paste it on OnplayerText with ! and if it shows errors just  paste it here.  ;)
Title: Re: GUPS PROB AGAIN
Post by: DilsonTB on January 04, 2012, 04:17:00 pm
You can treat to make it and if that dont work you POST it here
Title: Re: GUPS PROB AGAIN
Post by: jimmy on January 05, 2012, 11:25:29 am
      else if ( strcmp( cmd, "gotoloc", true ) == 0 )
   {
      tmp = strtok( cmdtext, idx );
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
      else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: /c gotoloc [Name]" );
      else
      {
          new splitx[ 3 ][ 128 ], szMsg[ 128 ];
          if ( !IsLocationExist( tmp ) )
         {
             format( szMsg, sizeof( szMsg ), "Location:[ %s ] does not exist.", tmp );
            SendClientMessage( playerid, COLOR_GREEN, szMsg );
            return 1;
          }
          split( dini_Get( "/SavedLocations/Locations.ini", tmp ), splitx, ' ' );
          
          SetPlayerPos( playerid, floatstr( splitx[ 0 ] ), floatstr( splitx[ 1 ] ), floatstr( splitx[ 2 ] ), 0, 0 );
          format( szMsg, sizeof( szMsg ), "Teleporting to location:[ %s ]", tmp );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
      }
      return 1;
      }
Title: Re: GUPS PROB AGAIN
Post by: jimmy on January 05, 2012, 11:26:25 am
this is gups cmd so plzz give me the right cmd of gotoloc for gups
Title: Re: GUPS PROB AGAIN
Post by: stormeus on January 05, 2012, 02:06:01 pm
when i write brb my player pause and when i write !back my player unpause for lol laughing out loud plzzzzzzzzz
this is gups cmd so plzz give me the right cmd of gotoloc for gups

wat.
Title: Re: GUPS PROB AGAIN
Post by: Leeter on January 05, 2012, 07:48:13 pm
when i write brb my player pause and when i write !back my player unpause for lol laughing out loud plzzzzzzzzz
this is gups cmd so plzz give me the right cmd of gotoloc for gups

wat.
lol

jimmy you need to be more clear..
Title: Re: GUPS PROB AGAIN
Post by: jimmy on January 07, 2012, 01:36:04 am
hey friend i dont know scripting well but i am making a server i am saying to you that the cmd for pause player game i need it i want to add it and also unpause brb means be right back then player automatically pause and back is back on game then player unpause if you know scripting take me as student friends