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

Pages: 1 ... 7 8 [9] 10
121
mIRC/pawn Scripting / Re: Funtion LevelCmds
« on: January 01, 2012, 07:43:48 pm »
Primero:

Crear carpeta ("Configuracion")
Luego un archivo de texto (.ini) ("Comandos")

Luego pon en el script:

Funcion:

stock NiveldeComando(playerid,cmd[]) {
   return (PlayerInfo[playerid][nivel] >= dini_Int("/Configuracion/Comandos.ini",cmd)) ? true : false;
}

Luego en comandos:

[pawn]   else if (strcmp(cmd, "ponercmd", true) == 0) {
       new tmp2[256];
      tmp = strtok(cmdtext, idx), tmp2 = strtok(cmdtext, idx);
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "Tienes que estar logueado primero!");
      else if(!NivelDeComando(playerid,"niveldecmd")) SendClientMessage(playerid, COLOR_RED, "No tienes acceso a este cmd!");
      else if (!strlen(tmp2)) SendClientMessage(playerid,COLOR_YELLOW,"USE: /c setcmdlevel [Comando] [Nivel]");
      else {
         new szMsg[256];
         dini_Set("Configuracion/Comandos.ini", tmp, tmp2);
         format(szMsg,sizeof(szMsg),"Nivel de comando:[ %s ] Cambiado a:[ %s ]",tmp,tmp2);
         SendClientMessage(playerid,COLOR_YELLOW,szMsg);
      }
      return 1;
   }[/pawn]

De nada.!  ;D

122
mIRC/pawn Scripting / Re: GUPS PROB
« on: December 29, 2011, 05:30:53 am »
Yes fuzzy... and:

Try to download this server from 0 for you to learn how to make things and in youtube put " How to script in VCMP "

Download Windows server from:
http://www.vicecitymultiplayer.com

123
mIRC/pawn Scripting / Re: GUPS PROB
« on: December 29, 2011, 04:54:25 am »
This Problem is in PAWN´s include.

 Make sure that this:
[pawn]
#include <a_vcmp>
#include <core>
#include <float>
#include <Dini>
#include <dudb>
#include <dutils>[/pawn]

Those file must be in:

This is an example for you to understand.
Documents and settings/Destop/My server/pawno/includes/Here must be those includes

124
mIRC/pawn Scripting / Re: problem
« on: December 25, 2011, 04:26:18 pm »
If it doesnt show you nothing.. Check if in your last script you putted this:


[pawn]return 1;
}
} // This must show you that problem.[/pawn]

and also:

[pawn]return 1;
}[/pawn]
you have to check cuz its depending of the lines that you want to close.

125
mIRC/pawn Scripting / Re: Please Help Me!
« on: December 25, 2011, 04:23:33 pm »
You dont even define when the player talk...
[pawn]
public OnPlayerText(playerid, cmdtext[])
{
if(Muted][playerid] == 1)
   {
    new str[256];
   format(str,sizeof(str),"%s ha sido kickeado por hablar mientras ha sido mandado a                   callar..",gPlayers[playerid]);
   SendClientMessageToAll(COLOR_YELLOW,str);
   Kick(playerid);
    return 0;
      }[/pawn]

PD: I did this simple middle script to you cuz mine is too diferent, my PAWN is in spanish, lol.

126
Support / Re: Playing Online...
« on: December 22, 2011, 12:03:55 am »
You need to check what error does you handling file, check if you change the original format

127
Support / Re: Can Any One help me
« on: December 21, 2011, 10:43:18 pm »
He wanna mean that:

Everyone uses mIRC channels, but not mIRC servers right? only the DMs and Hunting Arena servers...

128
mIRC/pawn Scripting / Re: How to do this on VCMP
« on: December 08, 2011, 09:29:28 pm »
[pawn]C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(129) : error 001: expected token: "}", but found ";"
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(134) : error 001: expected token: ";", but found "{"
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(136) : error 010: invalid function or declaration
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(213) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(214) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(215) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(221) : warning 204: symbol is assigned a value that is never used: "szMsg"
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(234) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(234) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(235) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(278) : warning 204: symbol is assigned a value that is never used: "szMsg"
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(304) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(304) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(305) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(306) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(306) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(307) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(310) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(310) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(311) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(312) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(312) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(313) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(316) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(316) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(317) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(318) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Serrvidores L.V.R.P\Las Vegas Roleplay Latino LV\gamemodes\LVRP.pwn(318) : error 035: argument type mismatch (argument 1)

Compilation aborted.Pawn compiler 3.0.3367         Copyright (c) 1997-2005, ITB CompuPhase


26 Errors.[/pawn]

129
mIRC/pawn Scripting / Re: How to do this on VCMP
« on: December 07, 2011, 05:55:07 am »
Fuzzy, thats scripts have too much errors, please help me with a new script in VCMP:

Please i cant do itttt i treated all the ways but i couldent.

Your knowladge will be transfered to my mine please!

130
mIRC/pawn Scripting / Re: How to do this on VCMP
« on: December 06, 2011, 01:36:09 am »
Ok thanks

131
mIRC/pawn Scripting / How to do this on VCMP
« on: December 04, 2011, 11:03:23 pm »
if:

Script:

SendClienteMessageToAll(COLOR_GREEN, "%s shoots the ball and... %s, gPlayers[playerid],randomshoot);

Cmd in game

/c shoot

Dilson_Thebest shoots and..dunk the ball
Or randomly

Dilson_Thebest shoots and... Faill the ball

Please help!!

i tried all modes to make it and cant



132
mIRC/pawn Scripting / Re: I Want mIRC Windows Server
« on: November 10, 2011, 12:24:59 am »

133
mIRC/pawn Scripting / Re: SetTimer help
« on: November 06, 2011, 07:02:43 am »
You mean:

 OnplayerCommandText:

[pawn] else if (strcmp(cmd, "freeze", true) == 0) {
      new szMsg[256], plr;
else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Jugador Desconocido");
SetTimer("freezel",130000,plr);[/pawn]

Functions near script button:

[pawn]public freeze(plr)
{
TogglePlayerControllable(plr,1);
}

public freeze2(plr)
{
TogglePlayerControllable(plr,1);
}[/pawn]

Its only an example... This isnt TESTED.

Hope it help you.

134
mIRC/pawn Scripting / Re: wHAT IS THIs for?
« on: October 03, 2011, 02:43:23 am »
What!!? Google translate have so much problems.... lol speak in spanish then i will traduce it for you..

Sorry i dont understand what do you wanna say to me....

135
Support / Re: No Servers in ''Internet'' section
« on: October 01, 2011, 03:43:02 pm »
Yaz: First, thinj wanted to know more than all of us, Stormeus too, So in their mines (2 years old) the think that the only posters are they and when thats thinks happends i will give then a angry opinion.. So that happends i dont accept any shit opinion about me and my post.

If my post sucks (i am not sure) and you are going to write a bad opinion BE QUIET and SHUT UP

Pages: 1 ... 7 8 [9] 10