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

Pages: 1 ... 3 4 [5] 6 7 ... 14
61
mIRC/pawn Scripting / stupid question...is possible?
« on: April 18, 2013, 01:51:48 am »
i have this stupid question...
is possible.make a command for use the command of console
/settimerate


or
/setweather
or another question

is possible activate the /settimerate in ongamemodeinit????

i think not is possible...


but... still have a question


SORRY FOR MY BAD ENGLISH,
BUT YOU NOT TALK SPANISH  ;D

62
mIRC/pawn Scripting / Re: plece help !clanstats command (pawno)
« on: April 17, 2013, 04:00:02 am »
i have a clan stats... if the player use a skin of the clan...
and kill... put all amount in one folder and if you use !clanstats show you the kills of the clans


espaniol
tengo como sumar los puntos de cada clan.... pero deben de usar un equipo determinado...
si quieres puedo postearlo

63
ShowRoom (pawn) / Re: My new server [GM from 0]
« on: April 16, 2013, 06:08:33 pm »
Nice Job Aledark  ;D

thank you matheus xD

64
ShowRoom (pawn) / [Update]My new server [GM from 0]
« on: April 16, 2013, 05:53:55 pm »
Hello all....

Now i release my new gm from 0
But this gm contain my Register System (not gups)

vehicles added 148
note: If you want property system (send me pm)

Availables commands

For register and login


/c register [password]
/c login [password]


Server Cmds
!wep, !hp, !heal, !goto, !deposit, !withdraw, !script

Car commands

!buycar, !sellcar, !eject, !gotov, !lockcar, !unlockcar

Admins Cmds

/c setmon,  /c cash,  /c ban,  /c  unban, /c kick /c drown, /c setlevel, /c heal, /c setcar,  /c get



Server commands is 100 % in english
Folders is 100 % in spanish (sorry but is more work traslate all)



i hope you say thank you.....



Updated Server

New Commands

!pack - !weppack - !fix  !givecash

Admin Commands

/c ann  /c ann2  /c say /c resetmon



New weapon packs

Now you choose your weapon packs for spawn

have 4 weapons pack

Weapon pack 1 - Stubby - M4 - ingrams - Python
Weapon pack 2 - Python - Stubby - Ruger - Molotov
Weapon Pack 3 - M60 - SPAZ - MP5 - Colt
Weapon Pack 4 - Stubby - Python - Molotov - Ruger - M60

if you choose you weapon pack you spawned always whit the same guns


If you use !disarm

You need choose again your weapons


CAR NUMBER 182 "CABBIE" SPAWNED IN THE SEA //FIXED changed "car id" 182 = speeder

If you like this update,  Comment or is the last version.....








https://mega.co.nz/#!38hG2LyZ!WvCkWTVRzHaOo7lZh_9eg0PaZR9RqAuyzFureMoBF8w

Server Maked by BlackWarrior (aledark24) in based a Server falcon downloading of http://vicecitymultiplayer.com/





65
mIRC/pawn Scripting / Re: Want anything in pawn? Ask here!
« on: April 16, 2013, 02:55:33 pm »
i want a roleplay game mode of vcmp server plz
i have my own roleplay but is 100
% spanish....
if you traslate not is problem... and i uploading for you


answer....send me pm

66
mIRC/pawn Scripting / Re: a question
« on: April 16, 2013, 02:53:39 pm »
impossible....
not is the same game...

67
Snippet Showroom / Re: Easy Clan-war System By me and aledark24 :)
« on: April 12, 2013, 03:30:35 pm »
xD
i see my 52 %
but not  find credits for this

68
ShowRoom (pawn) / Re: Reset,Transfer, Inc And Dec Stats By ME (GUPS)
« on: April 10, 2013, 05:21:50 pm »
 :o :o :o another failed command...




note: today is my birthday....

69
Servers / Re: [r2] Vice City Cops And Robbers
« on: March 27, 2013, 02:40:40 am »
User was banned for 14 days for this post.
-stormeus


Quote
Im BlackWarrior

and you crashed my server  [Vcmp] Cops and Robbers by blackwarrior

TBS.Milko
TBS.Kraiten
TBS.Wafflex


I leave now of vcmp, but i will back
And the next time back whit a new program,
and attacked you VPS and give lost connection to you server..
And dissapear you port and send you viruses to you ip
yeah, i have all ips

You sq and linux not is invulnerable....
I make one program.... and attack you!

See me later!!!!!
The next time you are disconnected

70
ShowRoom (pawn) / Re: 100% Racing Script Pawn Full By Me
« on: March 21, 2013, 06:36:47 pm »
Nice try.....
Still learning pawn...
But is another failed script

71
Snippet Showroom / Re: Now Can Rob A Vehicle Money And HP
« on: March 21, 2013, 06:27:44 pm »
new Robbed[MAX_VEHICLES];
is work as new robbed[MAX_PLAYERS]
this define vehicleid or playerid

another command failed....

nice try....

72
Because not all players have DecPlayerHandCash And IncPlayerHandCash, so this reason is "not have public" Deleted inc and dec :p
and i posted my commands but always update and keep the latest update.....

I'm talking about players that have both functions implemented. (DecPlayerHandCash & IncPlayerHandCash)
I suggest you to give more details in the first post, or to make 2 versions: one for GUPS and one for standard scripts. (detailed too)

+

What happens if the victim player doesn't have 200$ ? It will still take + give that amount.



ok ok


[pawn]               else if(strcmp(cmd,"rob",true) == 0) {
{
     tmp = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
      if(Wallet[plr] == 1) {

        SendClientMessage(playerid,0xAA3333AA,"You not cant rob the same player again!");
}
       if ( !strlen( tmp ) ) SendClientMessage( playerid, 0xFFFF00AA, "Write: /c rob [Nick/ID]" );
   else{
   if(Wallet[plr] == 0) {
    new Float:XR, Float:YR, Float:ZR;
   GetPlayerPos(playerid,XR,YR,ZR);
   if(PlayerToPoint(3.0,plr,XR,YR,ZR)){
   if ( GetPlayerMoney( plr ) > 199 ) {
       format( szMsg, sizeof( szMsg ), "%s steal the wallet of %s", gPlayers[playerid],gPlayers[plr]);
        SendClientMessageToAll( 0xFFFF00AA, szMsg );
       format( szMsg, sizeof( szMsg ),"You steal $ 200 of the player %s",gPlayers[plr]);
        SendClientMessage(playerid, 0xFFFF00AA, szMsg );
        SetPlayerMoney(plr,GetPlayerMoney(plr) - 200);
        SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 200);
        Wallet[plr] = 1;
        }
        if ( GetPlayerMoney( plr ) < 199 ){
      SendClientMessage(playerid,0xFFFF00AA,"This player not have money to rob");
       SetPlayerMarker(playerid,15);
       Wallet[plr] = 0;
       }
       }
      else SendClientMessage(playerid,0xAA3333AA,"Need to be closer for rob");
      }
  }
}

      return 1;
}[/pawn]

is better now sseebbyy??

73
What happens if the victim player doesn't have 200$ ? It will still take + give that amount.

+ Why you used both functions that increase/decrease the money of a player ?

Quote
Code: [Select]
IncPlayerHandCash(playerid,200);
        DecPlayerHandCash(plr,200);
SetPlayerMoney(plr,GetPlayerMoney(plr) - 200);
SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 200);

This couple of lines will take $200 from the victim once (at the second line: "DecPlayerHandCash(plr,200);") and will take again this amoun (200 $) because you have used this line: "SetPlayerMoney(plr,- 200);" . And the robber will increase $400 not $200 by robbing that player.

+ just $200 will be saved in the database, the rest of $200 will be just in the HUD, so just $200 will be usable.


Because not all players have DecPlayerHandCash And IncPlayerHandCash, so this reason is "not have public" Deleted inc and dec :p
and i posted my commands but always update and keep the latest update.....

74
Sorry alejandro. You may edit and add "this is for GUPS"

if you are stup_ _ ....
and not see ...
if you not have IncPlayerHandCash or DecPlayerHandCash
is you problem, but have two system
SetPlayerMoney -200
and SetPlayerMoney + 200
so...
you only need remove


IncPlayerHandCash and DecPlayerHandCash

Note: I have a server from 0
Only i put the register system of gups, but have my own system of
IncPlayerHandCash and DecPlayerHandCash and bank System, if you need my system only talk whit me

75
[pawn]new Wallet[MAX_PLAYERS];[/pawn]

 "Gups or Fc version"

 [pawn]              else if(strcmp(cmd,"rob",true) == 0) {
{
     tmp = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
      if(Wallet[plr] == 1) {

        SendClientMessage(playerid,0xAA3333AA,"You not cant rob the same player again!");
}
       if ( !strlen( tmp ) ) SendClientMessage( playerid, 0xFFFF00AA, "Write: /c rob [Nick/ID]" );
       else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, 0xAA3333AA, "Error: Unknown Player" );
   else{
   if(Wallet[plr] == 0) {
    new Float:XR, Float:YR, Float:ZR;
   GetPlayerPos(playerid,XR,YR,ZR);
   if(PlayerToPoint(3.0,plr,XR,YR,ZR)) {
       format( szMsg, sizeof( szMsg ), "%s steal the wallet of %s", gPlayers[playerid],gPlayers[plr]);
        SendClientMessageToAll( 0xFFFF00AA, szMsg );
        IncPlayerHandCash(playerid,200);
        DecPlayerHandCash(plr,200);
        Wallet[plr] = 1;
       SetPlayerMarker(playerid,15);
       }
      else SendClientMessage(playerid,0xAA3333AA,"Need to be closer for rob");
      }
  }
}

      return 1;
}[/pawn]

[pawn]public OnPlayerDeath(playerid, killerid, reason, bodypart)
{

Wallet[playerid] = 0;[/pawn]

[pawn]public OnPlayerDisconnect(playerid, reason)
{

Wallet[playerid] = 0;[/pawn]

All scripts version

[pawn]               else if(strcmp(cmd,"rob",true) == 0) {
{
     tmp = strtok( cmdtext, idx ), plr = FindPlayerIDFromString( tmp );
      if(Wallet[plr] == 1) {

        SendClientMessage(playerid,0xAA3333AA,"You not cant rob the same player again!");
}
       if ( !strlen( tmp ) ) SendClientMessage( playerid, 0xFFFF00AA, "Write: /c rob [Nick/ID]" );
   else{
   if(Wallet[plr] == 0) {
    new Float:XR, Float:YR, Float:ZR;
   GetPlayerPos(playerid,XR,YR,ZR);
   if(PlayerToPoint(3.0,plr,XR,YR,ZR)){
   if ( GetPlayerMoney( plr ) > 199 ) {
       format( szMsg, sizeof( szMsg ), "%s steal the wallet of %s", gPlayers[playerid],gPlayers[plr]);
        SendClientMessageToAll( 0xFFFF00AA, szMsg );
       format( szMsg, sizeof( szMsg ),"You steal $ 200 of the player %s",gPlayers[plr]);
        SendClientMessage(playerid, 0xFFFF00AA, szMsg );
        SetPlayerMoney(plr,GetPlayerMoney(plr) - 200);
        SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 200);
        Wallet[plr] = 1;
        }
        if ( GetPlayerMoney( plr ) < 199 ){
      SendClientMessage(playerid,0xFFFF00AA,"This player not have money to rob");
       SetPlayerMarker(playerid,15);
       Wallet[plr] = 0;
       }
       }
      else SendClientMessage(playerid,0xAA3333AA,"Need to be closer for rob");
      }
  }
}

      return 1;
}[/pawn]

Pages: 1 ... 3 4 [5] 6 7 ... 14