• Welcome to Vice City Multiplayer.
 
Menu

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.

Show posts Menu

Messages - heekz.shadow

#91
ShowRoom (pawn) / Re: Some usefull functions
February 15, 2011, 04:35:53 PM
Quote from: yazeen on February 14, 2011, 03:15:27 AM
shadow can u give the code for making properties pickup by typing !addprop my gups have this cmd but dont work so i deleted it can u give me the code plse 

You could just read FAMP or TDHCLAN.ro and see that AddStaticPickup is usable just in OnGameModeInit ( I hope that I can say yet )
#92
ShowRoom (pawn) / Re: Some usefull functions
February 15, 2011, 04:31:33 PM
Wilson,I didn't understood a word.  ???  ???  ???

Theoreticlly,the best way to make VC:MP Scripts what you couldn't find,and you are a beginner,is downloading SA:MP Scripts and studying'em.

BTW I will list,when I will reach my home,my Ping-Limiter. :D

Aldo,trust me,a guy who can't make a !cop or !wanted command and who don't knows about random use......

QuoteIm a pro at it
*FAIL*

heekz.shadow cheers Aldo.
heekz.shadow advises FREESTYLE_WILSON to improve his english.
heekz.shadow advises some players of VC:MP to use Past Tense Verbs when they are needed.
heekz.shadow hides.
#93
ShowRoom (pawn) / Re: Some usefull functions
February 14, 2011, 05:46:04 PM
Do someone minded at taking scripts from sa-mp and converting into vcmp ?  ::) ::) ::) ::)
#94
ShowRoom (pawn) / Re: BLACK PANTHER v 1.1
February 14, 2011, 12:52:11 PM
Ummh... can be done better :D
#95
ShowRoom (pawn) / Re: Some usefull functions
February 14, 2011, 12:49:00 PM
What dont works more exactly?
#96
ShowRoom (pawn) / Re: Some usefull functions
February 13, 2011, 08:49:36 PM
Sorry,I dont got enough time and its just a prototype.
#97
ShowRoom (pawn) / Re: [RPG] Gamemode
February 13, 2011, 09:36:29 AM
1 WEEK TILL RELEASING!

a lil'preview ;)

#include <a_vcmp>
#include <core>
#include <float>
#include <Dini>
#include <dudb>
#pragma tabsize 0
#define divide(%0 / %1);

new Float:SpikePos[4];
new setspike;
new timer1;
new Nails[MAX_PLAYERS];
new hplayerid;


enum SavePlayerPosEnum
{
    Float:LastX,
    Float:LastY,
    Float:LastZ
}

new SavePlayerPos[MAX_PLAYERS][SavePlayerPosEnum];

new Float:CurPos[4];
new Float:OldPos[4];

enum ReadPositions{Float:ReadX,Float:ReadY,Float:ReadZ
}
new LuX_ReadPlayerPosition[MAX_PLAYERS][ReadPositions];
new Float:VehPosX[MAX_VEHICLES], Float:VehPosY[MAX_VEHICLES], Float:VehPosZ[MAX_VEHICLES];

#define MAX_SPIKESTRIPS 5

new IsLogged[MAX_PLAYERS];
new stealthmode[MAX_PLAYERS];
new undercover[MAX_PLAYERS];
new brobber[256];
new swatsuit[MAX_PLAYERS];
new adv[MAX_PLAYERS];
new onduty[MAX_PLAYERS];
new keycardp;
new value;
new pveh[MAX_PLAYERS];
new rob[MAX_PLAYERS];
new emp;
new empvalue;
new drugs[MAX_PLAYERS];
new buydrugs[MAX_PLAYERS];
new sp=0;
new jailedname[256];
new ajailname[256];
new nj;
new dj;
new bankrobbed;
new robber[MAX_PLAYERS];
new detain[MAX_PLAYERS];
new emallow;
new spikeloc;
new rrob;
new prob;
new phrob;
new kvl;
new claim;

// DCMD
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1



enum Info
{
AFK,
Muted,
Warned,
Wanted,
AdminLevel,
Cash,
}

new PlayerInfo[MAX_PLAYERS][Info];




///////////// NEWS
new pKills[MAX_PLAYERS];
new pDeaths[MAX_PLAYERS];


#define RED 0xF20000FF

new Rampage[MAX_PLAYERS];
new count;
new fsrc;

static szGameModeName[128] = "RPG v0.1";
static szGameModeAuthorName[128] = "[RAF]Shadow";

#define PlayerFile        "Info/Users/%s.ini"
#define COLOR_GREY 0xCCCCCCAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_ORANGE 0x33AA33AA
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x00FFFFAA
#define BLUE 0x00FFFFAA
#define COLOR_LIGHT_RED 0xFF0000AA
#define COLOR_LOW_BLUE 0x99CCCCAA
#define COLOR_LIGHT_GREEN 0x00FF00AA
#define COLOR_LIME 0x00FF00AA
#define VERZUI 0x99FF66AA
#define COLOR_PINK 0xFFCCFFAA
#define COLOR_MOV 0x9900FFAA
#define COLOR_LIGHT_BLUE 0x00FFFFAA
#define COLOR_PORTOCALIU 0xFFCC99AA
#define pink 0xFFCCCCAAAA
#define INACTIVE_PLAYER_ID 255
#define COLOR 0xFFFF00AA
#define PresidentFile "Server/President/Presidents.ini"
#define CopsFile "Server/Cops/Copsrank.ini"
#define PlayerFile "Users/%s.ini"


This is just the upper sectionm,without enums and rand vars =)
#98
ShowRoom (pawn) / Re: Some usefull functions
February 13, 2011, 09:32:22 AM
Subnets banning is simple,it uses DINI.

So when someone does /c sban his subnet gonna be typed on a file then he is kicked
when a player connects,his subnet is compared with the subnets listed on that file,if it returns 1,then he is kicked,and if returns 0,it is just fine !
#99
ShowRoom (pawn) / Re: Some usefull functions
February 12, 2011, 08:38:50 PM
It under-understands :)) Its simple.

as example,you wanna do /c repair

this could be the code
if(strcmp(cmdtext,"repair",true) == 0)
{
if(PlayerToPoint(30.0,playerid,somecoords)) {
SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0);
SendClientMessage(playerid,COLOR_GREEN,"Vehicle Repaired");
}
else
{
SendClientMessage(playerid,COLOR_GREEN,"You are not at Pay'n'Spray");
}
return 1;
}
#100
ShowRoom (pawn) / Re: Some usefull functions
February 11, 2011, 09:59:32 PM
as example:
if(PlayerToPoint(Float:radi,playerid,Float:X,Float:Y,Float:Z)) {

// smthing happens
return 1;
}
#101
mIRC/pawn Scripting / Re: [Pawn]Timers
February 10, 2011, 07:52:39 AM
aXXo...you made it with playerid...Why just dont help him with playerid at timers?
#102
ShowRoom (pawn) / Some usefull functions
February 10, 2011, 07:47:47 AM
Add here all your greatest functions (: .
I will start:
PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
   new Float:oldposx, Float:oldposy, Float:oldposz;
   new Float:tempposx, Float:tempposy, Float:tempposz;
   GetPlayerPos(playerid, oldposx, oldposy, oldposz);
   tempposx = (oldposx -x);
   tempposy = (oldposy -y);
   tempposz = (oldposz -z);
   if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
   {
       return 1;
   }
   return 0;
}
Not made by me
GetNick(playerid)
{
new Nick[MAX_PLAYER_NAME];
if(IsPlayerConnected(playerid)) GetPlayerName(playerid,Nick,sizeof(Nick));
else format(Nick,sizeof(Nick),"0");
return Nick;
}
Made by me
forward HowMuchPlayersAreInArea(Float:radi,Float:x,Float:y,Float:z);
public HowMuchPlayersAreInArea(Float:radi,Float:x,Float:y,Float:z)
{
new i;
new cplayers=0;
   for(i = 0; i < MAX_PLAYERS; i++)
   {
       if(PlayerToPoint(radi, i, x, y, z))
       {
       cplayers++;
}
}
return cplayers;
}
Made by me:)



#103
General Discussion / Legendary RP v0.1 (Finally)
January 23, 2011, 10:55:27 AM
Legendary RP v 0.1

,,Always different....Always better!''

Scripter:

  • freestyle_Shadow



SE:PD

Speed Enforcement : Police Dept.

[CHAT] freestyle_Alvin: We are proud of our officers who everytime brought the situation under control.

Commands:

Type 1
/c command :

report
robbank
robpaynspray
robphills
robryntonaide
nails
cuff
search
uncuff
pursuit
backup
cm
am
call
answer
hangup
shout
local
w
emsuit
emsuitoff
undercover
undercoveroff
emp
withdraw
deposit
buyweps
repair
buynails
thrownails
buycocaine
takecocaine
buyfood beer,pizza,sprunk etc...
buy phone
buydrugs
selldrugs
plantweed
growweed
takeweed
useweed
sellweed
etc....

Type 2
! command

!keycard
!wanted
!admins
!jobhelp
!cophelp
!drugshelp
!weedhelp
!help
!commands 1
!commands 2
!commands 3
!commands 4
!commands 5
!commands 6
!commands 7
!repair
!buybomb
!plantbomb
etc....

We got a lot of functions and some funny sistems like Keycard
Keycard is a pickup what is good hided.So,you need to find it.Finding it brings you 50k.Once picked up,the prize is claimed and you need to wait till the next day when the cities are changing.

IP: rp4ever.no-ip.org

#104
ShowRoom (pawn) / [RELEASED][RPG] Gamemode
January 06, 2011, 06:33:53 PM
Those weeks I will release a RPG Gamemode with some functions:





  • Special COP CLASS [SE:PD] Designed for freestyle server...
  • Killing a cop or a innocent guy reward a 2 wanted levels for innocent and 4 for cop
  • SetGrav,SpawnVehicle, general used functions
  • Drug buying,using
  • Cuff,bust,suspect
  • Cop cars are restricted for [SE:PD]
  • Emergency suits for [SE:PD] and special features
  • Wanted Level Shower


  • Scripters:
  • Me ;)

Nothing stolen from other scripts!

LINK = http://www.mediafire.com/?jesmszs0fwaaan8