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 - Riders

Pages: [1] 2
1
General Discussion / Re: New Develolper?
« on: September 07, 2013, 08:44:06 am »
Congratulations Storm  :)

2
0.4 Public Beta #1 / Re: VC:MP 0.4 Public Beta #1 - LIVE NOW
« on: July 04, 2013, 07:32:50 pm »
Its working fine for me But sometime It crashes.

3
mIRC/pawn Scripting / Re: I need help with command /c bringall
« on: January 06, 2013, 08:50:36 pm »
Take this command /c bringall

[pawn]else if (strcmp(cmd, "bringall", true) == 0) {
      tmp = strtok(cmdtext, idx);
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first");
      else if(!IsAuthorized(playerid,"bring")) SendClientMessage(playerid, COLOR_RED, "You don't have acces to this command!");
      else { new Float:x, Float:y, Float:z, szMsg[256];
      for(new i = 0; i <= MAX_PLAYERS; i++) {
      if(IsPlayerConnected(i) == 1)
      GetPlayerPos(playerid,x,y,z);
      SetPlayerPos(i,x,y + 1.0,z,0,0);
      format(szMsg,sizeof(szMsg),"Admin:[ %s ] brought all people to him",gPlayers[playerid]);
             SendClientMessage(i,COLOR_GREEN, szMsg);
}
}[/pawn]

4
mIRC/pawn Scripting / Re: Help..
« on: December 17, 2012, 08:01:27 am »
Add This Function for Auto-Kick for Invalid Nick-Names.
 [pawn]public IsInvalidChar( c[ ] )
{

    if (strfind(c, "*", true) != -1 ||
        strfind(c, "?", true) != -1 ||
        strfind(c, ">", true) != -1 ||
        strfind(c, "<", true) != -1 ||
        strfind(c, "¡", true) != -1 ||
        strfind(c, "$", true) != -1 ||
        strfind(c, "%", true) != -1 ||
        strfind(c, "&", true) != -1 ||
        strfind(c, ";", true) != -1 ||
        strfind(c, "|", true) != -1 ||
        strfind(c, ":", true) != -1 ||
        strfind(c, "£", true) != -1 ||
        strfind(c, "\\", true) != -1 ||
        strfind(c, "{{", true) != -1 ||
        strfind(c, "\"", true) != -1 ||
             strfind(c, "/", true) != -1 ||
        strfind(c, "/", true) != -1) return 1;
    if (isNumeric(c)) return 1;
        else return 0;
    return 1;
 }[/pawn]

And on Public OnPlayerConnect( playerid ); Add this Function
[pawn]if ( strcmp( gPlayers[ playerid ], "ipbans", true ) == 0 || strcmp( gPlayers[ playerid ], "none", true ) == 0 )
   {
      format( string, 128, "** Auto-Kick:[ %s ] Reason:[ Invalid Nick-Name ]", gPlayers[ playerid ] );
      SendClientMessageToAll( PURPLEE, string );
      Kick( playerid );
      return 1;
   }[/pawn]

5
mIRC/pawn Scripting / GameTextForBottom?
« on: November 15, 2012, 06:46:47 pm »
Do anyone know how to add GameTextForBottom in OnplayerConnect and OnplayerSpawn With Color Changing ?

Like This :-
                    http://s11.postimage.org/d48f2czs3/vc_mp_019.jpg
                    http://s10.postimage.org/7007atjo9/vc_mp_018.jpg
                   

6
mIRC/pawn Scripting / Re: Change My server
« on: November 14, 2012, 08:03:44 pm »
Remove ur public code OnPlayerEnterVehicle in your script .

7
mIRC/pawn Scripting / Re: !eject cmd PLz
« on: November 14, 2012, 07:41:35 pm »
Take this command !eject :)

[pawn]else if(strcmp(cmd,"!eject",true) == 0)
{
   if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_GREEN,"** pm>> You're not in a vehicle!");
              else if ( (GetPlayerVehicleID(playerid) == 155) || ( GetPlayerVehicleID(playerid) == 177) ) SendClientMessage(playerid,COLOR_WHITE,"You cant fix this vehicle");
      else {
          RemovePlayerFromVehicle(playerid);
          SendClientMessage(playerid, COLOR_GREEN, "** pm>> You have been Sucessfully ejected!");
      }
        return 1;
        }[/pawn]

8
mIRC/pawn Scripting / Re: I Need Gotoprop cmd,gotoveh,!cash <id/nick>
« on: November 12, 2012, 07:29:35 pm »
!cash command i dont know .

[pawn]enum pInfo

GotoProp, /// add this

new playergotoloc[MAX_PLAYERS][128]; /// at down

public GotoPropPlayer()
{
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
        if(IsPlayerConnected(i))
      {
         if(PlayerInfo[GotoProp]<99)
         {
             new splitx[4][128];
            split( dini_Get( "/Pickups/Pickups.ini", IntToStr(PlayerInfo[GotoProp] ) ), splitx, ' ' );
            SetPlayerPos( i, floatstr( splitx[ 1 ] ), floatstr( splitx[ 2 ] ), floatstr( splitx[ 3 ] ), 0, 0 );
            PlayerInfo[GotoProp]=99;
         }
      }
   }
}


else if ( strcmp( cmd, "!gotoprop", true ) == 0 )
   {
         tmp = strtok( cmdtext, idx );
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_WHITE, "Please log-in to your account." );
      else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_YELLOW, "USAGE: !gotoprop [PropertyID]" );
      else if ( !IsPropertyExist( strval( tmp ) ) ) SendClientMessage( playerid, COLOR_YELLOW, "Error: Unknown Property" );
      else if ( !IsPropertyOwner( strval( tmp ), playerid ) ) SendClientMessage( playerid, COLOR_YELLOW, "Error: That property is not owned by you." );
      else
      {

         format( szMsg, sizeof( szMsg ), "*** pm>> Teleporting to Property %s in 5 seconds", PickupInfo[ strval( tmp ) ][ pName ]  );
         SendClientMessage(playerid,COLOR_GREEN,szMsg);
         GameTextForPlayer(playerid,"Teleporting...");
         playergotoloc[playerid]=tmp;
         PlayerInfo[playerid][GotoProp]=strval( tmp );
         SetTimer ("GotoPropPlayer", 5000, 0);


      }
      return 1;
   }


 else if ( strcmp( cmd, "!gotoveh", true ) == 0 )
   {
         tmp = strtok( cmdtext, idx );
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
      else if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "USAGE: !gotoveh [VehicleID]" );
      else if ( !IsVehicleExist( strval( tmp ) ) ) SendClientMessage( playerid, COLOR_GREEN, "Error: Unknown Vehicle" );
      else if ( !IsVehicleOwnedShared( strval( tmp ), gPlayers[ playerid ] ) ) SendClientMessage( playerid, COLOR_GREEN, "You do not have the keys for that vehicle." );
      else
      {
       PutDirectlyInVehicle(playerid, strval( tmp ) );
      }
      return 1;
   }[/pawn]

9
[pawn]public OnGameModeInit()
{

AddStaticPickup(300,408,-884.3455,-340.8738,11.1034,88.5588 );  // 408 is the Pickup id
AddStaticPickup(303,408,-942.9076,-343.5944,7.2269,94.4124 );   // 408 is the Pickup id
AddStaticPickup(304,382,-871.1569,-118.1698,11.0950,65.2739 );  // 382 is the Pickup id
[/pawn]

10
mIRC/pawn Scripting / !admins cmd bug
« on: November 06, 2012, 04:38:22 am »

1.When i do !admins non-register players name will appear in the !admins list
2.Is there any Auto-Kick for Non-Register Peoples?

Can anyone Know how to fix it?

Pic for the !admins bug :-

http://s7.postimage.org/psjjyp30r/vc_mp_003.jpg
http://s7.postimage.org/7e90upqq3/vc_mp_004.jpg

[pawn]else if ( strcmp( cmd, "!admins", true ) == 0 )
   {
      new a, b[ 128 ], m = GetMaxPlayers() + 1;
      for ( a = 0; a < m; a++ )
      {
         if ( IsPlayerConnected( a ) && IsPlayerValidAdmin( a ) )
         {
            if ( strlen( b ) ) format( b, 128, "%s , %s", b, gPlayers[ a ] );
            else format( b, 128, "%s", gPlayers[ a ]);
         }
      }
      if ( strlen( b ) )
      {
         format( szMsg, 128, "Admins Ingame: %s", b );
         SendClientMessageToAll( GREEN, szMsg );
      }
      else SendClientMessageToAll( RED, "No admins ingame." );
   }[/pawn]

Regards,
Riders

11
mIRC/pawn Scripting / Re: Prob?
« on: November 04, 2012, 03:28:27 pm »
Fixed When my friend gave me the New Version of Pawno ..

Download link http://www.mediafire.com/?6rswmduininfujd

12
mIRC/pawn Scripting / Prob?
« on: November 03, 2012, 06:39:02 pm »
When i used to complie a Pawno File it shows me a error?  :(

[pawn]C:\Users\MY_PC\Desktop\Editx\gamemodes\GUPS1.16.pwn(1) : fatal error 100: cannot read from file: "a_vcmp"[/pawn]

13
General Discussion / Re: what to do?
« on: November 02, 2012, 05:10:25 pm »
How do i create a server? I click on the vcmp server and i check in vc:mp with my IP and it doesnt work. :-X

Just type this ip :5192

14
Support / Re: Needed help with the server list
« on: October 10, 2012, 06:19:09 pm »
Try Re-install the VCMP folder again.

15
mIRC/pawn Scripting / Re: I need Money for !gotoloc
« on: September 24, 2012, 06:00:35 pm »
but whr to paste it ? :(

Thankyou for sharing.

Pages: [1] 2