Recent Posts

Pages: 1 ... 7 8 [9] 10
81
Servers / Re: [0.4] Extreme Fighting Era 2015
« Last post by Honey. on October 11, 2014, 12:44:47 pm »
Server Is Back On The Permanent IP   :)

Server Perma IP : 107.182.186.206:5192
82
mIRC/pawn Scripting / Re: HELP
« Last post by [NYB]fast:p on October 11, 2014, 11:49:08 am »
83
Script Discussion / Re: onPlayerCrouchChange is bugged ?!
« Last post by Gudio on October 10, 2014, 10:00:12 pm »
- Fixed onPlayerOnFireChange, onPlayerCrouchChange, onPlayerGameKeysChange
- Added onPlayerActionChange( player, oldAction, newAction ), onPlayerStateChange( player, oldState, newState )

I noticed that onPlayerCrouchChange always returns false (probably server's bug)

Linux 32-bit module
Linux 64-bit module
84
Script Releases / Re: Function Accessible Locs like on 0.3
« Last post by soulshaker on October 10, 2014, 06:23:05 pm »
have already made that, but i thought this function will give the experience as same as 0.3 to user. ( just without fade in/out )
85
Script Releases / Re: Function Accessible Locs like on 0.3
« Last post by Franklin on October 10, 2014, 05:16:33 pm »
the best way would be using onplayerpickuppicked
86
Script Discussion / Re: onPlayerCrouchChange is bugged ?!
« Last post by S.L.C on October 10, 2014, 01:22:30 pm »
By the looks of it the callback function is implemented in C++ but wasn't attached to the event. Therefore the function is never called to forward the event to the script. The following code is never executed:
Code: [Select]
function onPlayerCrouchChange( i_player, state )
{
print( "Player " + i_player.Name + " is " + (state ? "crouched" : "standing") );
}
87
Script Discussion / onPlayerCrouchChange is bugged ?!
« Last post by sseebbyy on October 10, 2014, 01:08:11 pm »
I wanted to test the new event onPlayerCrouchChange by just adding Message("crouch status changed");, but when I crouched and uncrouched in game, there was no message.

Now the question is: "Is the event bugged ?"
88
Snippet Showroom / Re: Sistema De Duelo
« Last post by NeskWriter on October 10, 2014, 07:18:19 am »
are you kidding
89
Support / Re: VC:MP Problem
« Last post by Honey. on October 10, 2014, 04:57:05 am »
Vcmp should be installed in the same folder where your VC is installed.No sub folders.
90
Snippet Showroom / Sistema De Duelo
« Last post by luislabarcalopezpely on October 10, 2014, 04:53:28 am »
[pawn]new duelo[MAX_PLAYERS];[/pawn]
en public OnPlayerDisconnect(playerid, reason)
[pawn]duelo[playerid] = 0;[/pawn]

[pawn]public OnPlayerCommandText(playerid, cmdtext[])
{
 else if ( strcmp( cmd, "salirbatalla", true ) == 0 )
{
   if(duelo[playerid] == 0) {
    SendClientMessage(playerid,COLOR_RED,"Error: debes estar en batalla para salir de ella");
    }
   if(duelo[playerid] == 1) {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "logueate primero" );
      else
      {
format( szMsg, 128, "%s  a salido de batalla para salir pon /c salirbatalla",gPlayers[playerid] );
SendClientMessageToAll( BLUE, szMsg );
SetPlayerPos(playerid,-702.69311,337.37844,10.89598,0,0);
         duelo[playerid] = 0;
      }
      }
      return 1;
   }

 else if ( strcmp( cmd, "batalla", true ) == 0 )
{
   if(duelo[playerid] == 1) {
    SendClientMessage(playerid,COLOR_RED,"Error: ya estas en batalla");
    }
   if(duelo[playerid] == 0) {
      if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Logueate primero" );
      else
      {
format( szMsg, 128, "%s  a entrado a la batalla para entrar escribe /c batalla",gPlayers[playerid] );
SendClientMessageToAll( BLUE, szMsg );
SetPlayerPos(playerid,-1246.70227,1406.93408,84.69406,0,0);
 SetPlayerWeapon(playerid,27,10000);
 SetPlayerWeapon(playerid,21,10000);
         duelo[playerid] = 1;

      }
      }
      return 1;
   }[/pawn]







[pawn]public OnPlayerSpawn(playerid,classid,teamid)

{

    if(duelo[playerid] == 1) {
    SendClientMessage(playerid,COLOR_RED,"Apareces en batalla usa /c salirbatalla para salir de ella.");
   SetPlayerPos(playerid,-1246.70227,1406.93408,84.69406,0,0);
    }
       if(duelo[playerid] == 0) {
    SendClientMessage(playerid,COLOR_RED,"has salido de batalla");
    }
   return 1;
}[/pawn]
Pages: 1 ... 7 8 [9] 10