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.


Topics - mrockxkingbutt

Pages: [1] 2 3 ... 6
1
Servers / [R2x] Dhoom:3 [ GRAND OPENING ] [Abbasi Hosting]
« on: May 02, 2014, 10:58:17 am »
HostName: [R2x] Dhoom:3 [ GRAND OPENING ] [Abbasi Hosting]
Address:  95.128.47.39:1323
Players:  30 / 30
Ping:     242
Mode:     Dhoom3 , JimX Server, VCCNR+Megawar , DM+RPG+Racing, ( multiGamemodes )
Map:      Vice-City
Forum : r2xdhoom3.createaforum.com


Server Features!!


Updates Are!
Vehicle Limits [ Fixed ] " Now User Can Only Buy 3 Vehicles "
New Vehicle System + Prop System [ New Systems ]
New Bank Robbery System [ Now A Robber Have To Find Bomb . To Rob Bank. And Need Atleast 220 Robskills. Which Can Be Get By Robbing Peoples "
Brb Freezing Bug Fixed [ Now A User Cannot Get Unjail If He Uses Brb And Back ]
Time Addon Added [ Now You Can Watch Time ]
Language System [ NOw 2 Languages Are SUpported URDU And English ]
Jailed Bugs Fixed [ Now There Are No Bugs Related To Jail System ]
Jailing Time Reduced to 250 Seconds [ Fixed ]
Fishing System [ Works With /c fhelp ]
24/7 Hosting [ Now Server Will Be ONline 24 Hours ]
Jobs System!
Loan System! [ A User Can Take UpTO 150,000$ Loan By Application On FOrum ]
Renting, Selling, Buying Vehicles & PROPS
Admin Applications Are Now Opened!
/c Jailbreak Added!!!! " A User Who Has Upto 10 Wanted Level Can Break Jail "
Running Merathon !!! A Running Merathon On Foot .. With !runner
Racing, Running, Dm Bugged Fixed!!
Other Unfunctional Bugs Fixed!!
Givecash Fixed!!!
Gotoloc Bugs Fixed!!!
Transfer Stats Added/Fixed!!!!
SpawnLoc Added [ You Can Use /c spawnloc to use ]
VCCNR Addons Added ! Now You Can Also Rob Places!!
Now An Hitman Can Kill Without Time !
New Vehicles System!
Black Market Available Now!
Race+Dm Addon!
Anti-Hack!
IRC!
Now If ANyone Share A Car With AnyOne. He WIll Recieve 5000$ . And When He Delshare 3000$ Will be Given Back. 2000$ Will Be Given Profit!
Bullet Proof Jacket. Now You Can Buy Bullet Proof Jacket. Its Cost Is 50,000$. It Will Be Able To Use For 100 Seconds!!


Commands!!!

!rules,  /c buybomb, /c plantbomb, !defuse, !duel, !bonus, /c buywep ,/c poke, !urdu, !english , !exit, !forum, !ladder, !race, !minigames, /c tax, /c register, /c login, /c logout, /c newpassword, /c setstats, /c setgoto, /c setloc, !eject, !fix, !hp, !armour, !wep, !stats, !level, !cash, !ping, !goto, !heal, !loc, !admins, !skin, !version, !cd, !report, !server, !duel,!race,!ladder,!runner ,
(/c) wanted,drag,arrest,cuff,breakcuff,sus,sur,wantedlevel,cop,issueticket,jailbreak,
(/c) heal [playerid] to heal a persion to call medical use !medical, /c medical
/c buyrope , kidnap, release, rob, robskills, /c kidnapper, /c killvictim
/c alert [ TO Alert Police In Case Of Bank-Robbery ], /c security
 Hitman . /c hitman , !wep, /c contract .


CREDITS : JiMX(ME)



2
Support / Server Crashes After Hosted!!
« on: April 27, 2014, 09:47:49 pm »
I Created A Server . pawn . Size : 420kb

i set it on hosted

it has been hosted

i played in server more than 3 times

then i joined the server

server stops responding!!

IDk why!!

3
Servers / [R2x] Dhoom 3 [ Server Now Up ]
« on: April 11, 2014, 06:33:19 pm »
Quote
HostName: [R2x] Dhoom:3 [Grand Opening][OBHost.tk]
Address:  5.175.142.37:5195
Players:  0 / 28
Ping:     343
Mode:     Dhoom 3
Map:      Vice-City
Forum: r2xdhoom3.createaforum.com
Type: Pawn

!!!

News!

Quote
Script Has Been Updated #3!
Updates Are!
LMS Added " You Can Play LMS . Last Man Standing "
Vehicle Limits [ Fixed ] " Now User Can Only Buy 3 Vehicles "
Mode Campatablity [ Fixed ] " Now A User Can Choose ANy Mode By His Will. RPG , DM Or Racing "" Mode Will Be Disable After Dieing . Then You Can Again CHoose New Mode "
New Vehicle System + Prop System [ New Systems ]
New Bank Robbery System [ Now A Robber Have To Find Bomb . To Rob Bank. And Need Atleast 220 Robskills. Which Can Be Get By Robbing Peoples "
Brb Freezing Bug Fixed [ Now A User Cannot Get Unjail If He Uses Brb And Back ]
Time Addon Added [ Now You Can Watch Time ]
Language System [ NOw 2 Languages Are SUpported URDU And English ]
Jailed Bugs Fixed [ Now There Are No Bugs Related To Jail System ]
Jailing Time Reduced to 250 Seconds [ Fixed ]
Price Changes [ Prices Of Propertys And Vehicles Are Increased ANd Decreased ]
Heal Command Fixed [ Now Its Works Instantly When In Dm Mode Or Race Mode Not In RPG Mode ]
Fishing System [ Works With /c fhelp ]
24/7 Hosting [ Now Server Will Be ONline 24 Hours ]
Jobs System!
Loan System! [ A User Can Take UpTO 150,000$ Loan By Application On FOrum ]
Renting, Selling, Buying Vehicles & PROPS
Admin Applications Are Now Opened!

REGARDING : JIMX
CREATOR : JIMX[Me]











4
0.4 Public Beta #3 / Problem!
« on: April 07, 2014, 12:07:35 pm »
I Installed 0.4 Beta #3

installed on correct directory!

click on server

click connect

1 hours past no-popup to vcmp

i opened task manager .

Tab ; Process.

there were showing gta-vc.exe

why is not opening ?

5
Snippet Showroom / Vehicle Fixing [ 5 Seconds ] [ Working ] [ By me ]
« on: April 03, 2014, 03:13:42 pm »
Add

Code: [Select]
Fixing[MAX_VEHICLES];
command [ put in OnPlayerCommand ]

Code: [Select]
    else if (strcmp(cmd, "fix", true) == 0) {
if(Fixing[GetPlayerVehicleID(playerid)] == 1) SendClientMessage(playerid,COLOR_RED," Already Fixing This Vehicle ");
else if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_RED," Not In Vehicle ");
else {
Fixing[GetPlayerVehicleID(playerid)] = 1;
SendClientMessage(playerid,COLOR_RED," Fixing ");
SetTimer("VehicleFixing", 10000, 0);
}
    return 1;
    }

Timer

Code: [Select]
forward VehicleFixing();
public VehicleFixing() {
for(new i ; i <MAX_VEHICLES;i++) {
if(Fixing[i] == 1) {
SetVehicleHealth(i, 1000);
SendClientMessageToAll(COLOR_GREEN," Vehicle Has Been Fixed ");
SetVehicleTyre(i,1);
Fixing[i] = 0;
}
}
return 1;
}

Credits : ME

6
Snippet Showroom / Gotoloc In 5 Seconds [ GUPS ] [ By Me ]
« on: April 03, 2014, 02:55:24 pm »
Add ...

Code: [Select]
enum Teleports
{
Float:FL1,
Float:FL2,
Float:FL3,
}

Code: [Select]
Tele[MAX_PLAYERS][Teleports];
Teleporting[MAX_PLAYERS];

Now Add Command..

Code: [Select]
    else if (strcmp(cmd, "gotoloc", true) == 0) {
tmp = strtok(cmdtext, idx);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"USAGE: /c gotoloc [Name]");
else {
    new splitx[3][128], szMsg[256];
    if(!IsLocationExist(tmp)) {
    format(szMsg,sizeof(szMsg),"Location:[ %s ] does not exist.",tmp);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
return 1;
    }
   
    split(dini_Get("/SavedLocations/Locations.ini",tmp), splitx, ' ');

SetTimer("GotolocTime", 5000, 0);
    Teleporting[playerid] = 1;
    format(szMsg,sizeof(szMsg),"Teleporting to location:[ %s ]",tmp);
SendClientMessage(playerid,COLOR_GREEN,szMsg);
Tele[playerid][FL1] = floatstr(splitx[0]);
Tele[playerid][FL2] = floatstr(splitx[1]);
Tele[playerid][FL3] = floatstr(splitx[2]);

 TogglePlayerControllable(playerid, 0);

}
return 1;
    }

Timer

Code: [Select]
forward GotolocTime();
public GotolocTime() {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(Teleporting[i] == 1) {
SetPlayerPos(i,Tele[i][FL1],Tele[i][FL2],Tele[i][FL3],0,0);
GameTextForPlayer(i,"Teleported");
Teleporting[i] = 0;
TogglePlayerControllable(i, 1);
}
}
return 1;
}

CREDITS : ME








7
Snippet Showroom / Language SYstem [ v2 ] [ By me ]
« on: March 29, 2014, 08:55:11 pm »
!!!

Add

Code: [Select]
new PlayerName[MAX_PLAYERS][MAX_PLAYER_NAME+1]; // for others not gups

Code: [Select]
new gPlayers[MAX_PLAYERS][MAX_PLAYER_NAME+1]; // for gups
Add Commands In OnPlayerCommandText

Code: [Select]
else if(strcmp(cmd,"english", true) == 0) {
SendClientMessage(playerid,COLOR_GREEN," Just Set Language To English ");
Language[playerid] = 1;
return 1;
}
else if(strcmp(cmd,"spainish", true) == 0) {
SendClientMessage(playerid,COLOR_GREEN," Sólo tienes que configurar su idioma Para Spainish");
Language[playerid] = 2;
return 1;
}
else if(strcmp(cmd,"language", true) == 0) {
new xD[123];
format(xD,123," %s 's Langauge, %s ", PlayerName, GetPlayerLanguage(playerid));
SendClientMessageToAll(COLOR_GREEN,xD);
return 1;
}

Add On OnPlayerConnect
Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s Conectado al servidor", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s Connect To Server", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}


OnPlayerDisconnect

Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s dejado el servidor", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s left the server", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}

OnPlayerSpawn

Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s ha generado " , PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s Has Spawned" , PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}

OnPlayerDeath

Code: [Select]
if(Language[playerid] == 2) {
new xD[123];
format(xD,123,"%s ha muerto", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}
if(Language[playerid] == 1) {
new xD[123];
format(xD,123,"%s has died", PlayerName[playerid]);
SendClientMessage(playerid,COLOR_RED,xD);
}

Add This In. OnPlayerSpawn, OnPlayerDeath, OnPlayerConnect & OnPlayerDisconnect

Code: [Select]
GetPlayerName(playerid,PlayerName[playerid],MAX_PLAYER_NAME);
Public To Check Player Language!!

Code: [Select]
public GetPlayerLanguage(playerid) {
if(Language[playerid] == 0) {
SendClientMessage(playerid,COLOR_RED," Language Default ( English )");
}
if(Language[playerid] == 1) {
SendClientMessage(playerid,COLOR_GREEN," Language : English ");
}
if(Language[playerid] == 2) {
SendClientMessage(playerid,COLOR_BLUE,"Malpas: Spainish");
}
return 1;
}






8
Hey !

I Created A Most Advance Bomb System!

Credits Me


Add This

Code: [Select]
new Bomb[MAX_PLAYERS];
new Bombed[MAX_PLAYERS];
new Cracker[MAX_PLAYERS];
new Defused[MAX_VEHICLES];

onplayerentervehicle
Code: [Select]
if(Bombed[vehicleid] == 1) {
PutDirectlyInVehicle(playerid,vehicleid);
SendClientMessage(playerid,COLOR_RED," The Vehicle You have Entered Has Been Bombed ");
GameTextForPlayer(playerid," Bomb Planted ");
SetVehicleHealth(vehicleid, 100);
Bombed[vehicleid] = 0;
}

OnPlayerCommandText

Code: [Select]
else if(strcmp(cmd,"buybomb", true) == 0) {
new tmp[123];
tmp = strtok(cmdtext,idx);
if(Bomb[playerid] == 1) SendClientMessage(playerid,COLOR_RED," Already Have A Bomb ");
else {
if(!strlen(tmp)) {
Bomb[playerid] = 1;
SendClientMessage(playerid,COLOR_GREEN," You Have Bought The Bomb ### ");
}
}
return 1;
}

else if(strcmp(cmd,"plantbomb", true) == 0) {
new tmp[123];
tmp = strtok(cmdtext,idx);
if(Bomb[playerid] == 0) SendClientMessage(playerid,COLOR_RED,"Dont Have A Bomb");
else if(Bombed[GetPlayerVehicleID(playerid)] == 1) SendClientMessage(playerid,COLOR_RED," Bomb Already Planted ");
else if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_GREEN," Not In Vehicle ");
else {
Bomb[playerid] = 0;
Defused[GetPlayerVehicleID(playerid)] = 1;
SetTimer("BombTime", 100000, 0);
Bombed[GetPlayerVehicleID(playerid)] = 1;
SendClientMessage(playerid,COLOR_RED," Bomb Has Been Planted ");
}
return 1;
}

else if(strcmp(cmd,"buycracker", true) == 0) {
if(Cracker[playerid] == 1) SendClientMessage(playerid,COLOR_RED," You Already Have Cracker ");
else {
Cracker[playerid] = 1;
SendClientMessage(playerid,COLOR_RED," Cracker Has Been Bought Do /c defuse ");
}
return 1;
}

else if(strcmp(cmd,"defuse", true) == 0) {
if(Cracker[playerid] == 0) SendClientMessage(playerid,COLOR_GREEN," Not Have Cracker ");
else if(!IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_RED," Not In vehicle ");
else {
if(Defused[GetPlayerVehicleID(playerid)] == 1) {
Cracker[playerid] = 0;
Bombed[GetPlayerVehicleID(playerid)] == 0;
RemovePlayerFromVehicle(playerid);
SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
GameTextForPlayer(playerid," Bomb Defused ");
}

if(Defused[GetPlayerVehicleID(playerid)] == 0) {
Bombed[GetPlayerVehicleID(playerid)] == 1;
GameTextForPlayer(playerid," Bomb Defusing Failed ");
}
}
return 1;
}
 


Timer & Stock
Code: [Select]
forward BombTime();
public BombTime() {
for(new i ; i <MAX_VEHICLES;i++) {
if(Bombed[i] == 1) {
if(Defused[i] == 1) {
Defused[i] = 0;
}
}
}
return 1;
}

Features Of It!

Bomb Can Be Defusable
Bomb Can't Be Defused After 100 Seconds Of Planting BOmb
Bomb Can Be Bought
Bomb Can Be Planted
Need A Cracker To Crack The Bomb


9
General Discussion / ~STormeus~
« on: March 19, 2014, 09:01:09 am »
http://forum.vicecitymultiplayer.com/index.php?reportsent;topic=6634.msg38656#msg38656

Remove The Link &n Topic

He Stolen My Script!
added his own credits
ands rename gamemode and saying i edited it. so i am now the owner so i removed your credits.

remove it pls stormeus!

Every evidence is in the topic

10
General Discussion / ( Awards & Archievments ) ( For All Scripters )
« on: March 17, 2014, 04:56:05 pm »
The Debut And Awards Will be Shown Here With Names


Best Server Crasher



Quote
" Rohanaj60 "

Best Scripter ( Senior )
Quote
Stormeus  [7 Votes]

Best Scripter ( Junior )

Code: [Select]
Not Selected
Best Newbie

Code: [Select]
Not Selected
Best Credits Remover

Quote
Rohanaj60

Best Quoters

Quote from: Vrocker
It Was Like This Guy Is American We 're American We Bum Buddies
Quote from: Mrockxkingbutt
I Am Best Scripter Dont Be Jealous
Quote from: rohanaj60
i edit your script so i removed your credits nothing elegal init
Quote from: rohanaj60
Where To Paste Them?
Quote from: seby
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.
Quote from: rohanaj60
I Am A Best Script Editor
A code mrockx posted is definitely bullshit. Use AddPlayerClassEx in public function "OnGameModeInit". Here are parameters of the function:
(teamid, modelid, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)

Best Moderator

Code: [Select]
Not Selected yet
Best Helper

Code: [Select]
Not Selected
Best Script

Quote
Not Selected

Best Snippet Function

Code: [Select]
Not Selected
Most Active
Quote
Not Selected

Most Stupid

Code: [Select]
Not Selected
Most Failiure Scripts

Code: [Select]
Not Selected
Most Failiure Snippet

Code: [Select]
Not Selected
Most Scripts
Quote
  Rank > Name > Script COunt
"|1| ManiMrockx ( 27 ) "
"|2| Aledark ( 20 ) "
"|3| Seby ( 10 )"
"|4| NeskWriter ( 6 )"
"|5| Matheus ( 4 )"
"|6| Rathore ( 3 )"

Most Inactive


Quote
Not Selected

Corrector

Quote
Not Selected

11
Script Showroom / [ JimX > ManiMrockx ] Discoveries & Showroom!
« on: March 17, 2014, 04:14:28 pm »
Hello! All!

Here Is The Show Room & Discoveries Of Mine!


I Will Show You All My Creative Features Of Pawn Also Discovers !


The Discoveries Will Be Shown Here!!

 
Quote
GetPlayerWeapon+ SetPlayerWeapon+ DisableWeapon+ Restore Weapon[By me]
Link Is : http://forum.vicecitymultiplayer.com/index.php?topic=6637.0

Quote
Disable And Restore Weapon In Bank!
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6623.0

Quote
Auto-Kick For Pings
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6616.0

Quote
Be Right Back 2 in 1 Systems
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6613.0

Quote
San Andreas Explosion System By Me And Stormeus
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=5777.0

Quote
BRB Protection
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6439.0

Quote

GUPS Fixing GetCar Bug Help Snippet By me
http://forum.vicecitymultiplayer.com/index.php?topic=5081.msg38365#msg38365

Quote
Cheat Codes For Multiplayer
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6426.0

Quote
Vehicle Repairing System [ In 5 Seconds ]
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6690.new#new

Quote
Timing System Working By me
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6560.0


Quote
Clanstats & Clan Register By me!
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6555.0

Quote
Advanced Plantbomb, Buybomb, BuyCracker + Defusing SYstem By Me
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6656.0

Quote
Duel System
Link Is == http://forum.vicecitymultiplayer.com
Quote
3 in 1 Weapon Limits, Weapon System, Weapon STats By me
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6437.0

Quote
Bot System By me ( Pawn )
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=5700.msg33187#msg33187

Quote
Heal In 5 Seconds
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=5592.0



Quote
Spawnloc
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6431

Quote
Anti-Spawn-Killing
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6425.0

Quote
Custom GameMode Name
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=5784.0

Quote
Teaming System
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=5718.0

Quote
Gotoloc System [ 5 Seconds ]
Link Is ==
http://forum.vicecitymultiplayer.com/index.php?topic=6689.new#new

Quote
Language System Defined
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6678.0

Quote
Anti-Insult v1
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=5469.0

Quote
Mini-Mission v5
Link Is : http://forum.vicecitymultiplayer.com/index.php?topic=5622.0
Quote

String To get Player Distance In GUPs UseFull
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=5591.0

Quote
Cool Pickups & Function
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=5455.0

Quote
Transfer Stats GUPS
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6544.0

ShowRoom For Scripts

Quote
Mission Script V3.7
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6636.0
Quote

Begginers Script v2
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6546.0

Quote
PCJ 600 v1
Link Is == http://forum.vicecitymultiplayer.com/index.php?topic=6629.0

Quote
Grand Hunting Project v2
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6617.0

Quote
Crime City v1
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6582.0

Quote
RaceTracks v3
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6574.0

Quote
Prototyped Script
Link is == http://forum.vicecitymultiplayer.com/index.php?topic=6543.0


12
Its A Working System Of Weapons That Are Bugged In Pawn Fixed By Me! Added new!

Its Features
Disable Weapon Feature! ( Fixed )
Restore Weapon Originaly! ( Fixed )
SetPlayerWeapon ( New Fixed )
GetPlayerWeapon ( New Totally Fixed )





Started The Commands

OnPlayerCommandText

Code: [Select]
else if(strcmp(cmd,"restore", true) == 0) {
GameTextForPlayer(playerid," Weapon Restored ");
jRestoreWeapons(playerid);
return 1;
}

else if(strcmp(cmd,"disable", true) == 0) {
GameTextForPlayer(playerid," Weapon Disabled ");
jDisableWeapons(playerid);
return 1;
}
else if(strcmp(cmd,"jwep", true) == 0) {
new tmp[123];
tmp = strtok(cmdtext,idx);
if(!strlen(tmp)) SendClientMessage(playerid,COLOR_RED," usage /c jwep [wepid] [ammos] [category-1/2/3]");
else {
new category[123], ammo[123];
ammo = strtok(cmdtext,idx);
category = strtok(cmdtext,idx);
jSetPlayerWeapon(playerid,strval(tmp),strval(ammo),strval(category));
SendClientMessage(playerid,COLOR_GREEN," Weapon Excuted ");
}
return 1;
}

add this

Code: [Select]
new Weapon1[MAX_PLAYERS];
new Weapon2[MAX_PLAYERS];
new Weapon3[MAX_PLAYERS];
new Wep1[MAX_PLAYERS];
new Wep2[MAX_PLAYERS];
new Wep3[MAX_PLAYERS];

add publics

Code: [Select]
public jSetPlayerWeapon(playerid,wep,ammo,categry) {
if(categry == 1) {
SetPlayerWeapon(playerid,wep,ammo);
Weapon1[playerid] = wep;
Wep1[playerid] = wep;
}
if(categry == 2) {
SetPlayerWeapon(playerid,wep,ammo);
Wep2[playerid] = wep;
Weapon2[playerid] = wep;
}
if(categry == 3) {
SetPlayerWeapon(playerid,wep,ammo);
Weapon3[playerid] = wep;
Wep3[playerid] = wep;
}
return 1;
}

public jGetPlayerWeapon(playerid) {
return Weapon1[playerid], Weapon2[playerid], Weapon3[playerid];
}

public jRestoreWeapons(playerid) {
SetPlayerWeapon(playerid,Wep1[playerid],1000);
SetPlayerWeapon(playerid,Wep2[playerid],1000);
SetPlayerWeapon(playerid,Wep3[playerid],1000);
SendClientMessage(playerid, COLOR_GREEN," Weapons Have Been Restored ");
return 1;
}

public jDisableWeapons(playerid) {
Wep1[playerid] = Weapon1[playerid];
Wep3[playerid] = Weapon3[playerid];
Wep2[playerid] = Weapon2[playerid];
SetPlayerWeapon(playerid,0,0);
SendClientMessage(playerid, COLOR_GREEN," Weapons Have Been Disabled ");
return 1;
}



13
ShowRoom (pawn) / [ R2x ] Missions v3.7 [ New Includes ] [ By Me ]
« on: March 17, 2014, 03:27:10 pm »
Download Link!

http://speedy.sh/fyruk/Missions-Version-3.7.zip

Credits : Manimrockx aka jimX

New Includes

ANti-Credits-Changer
Caution: If You Change My Credits Your Server Will Be Bugged Tested!
GStringss!
Many New Includes!

Download!!
http://speedy.sh/fyruk/Missions-Version-3.7.zip

password :
Quote
[email protected]


14
ShowRoom (pawn) / PCj-600 . PCj gang Server By Me [ For PCJ Lovers ]
« on: March 17, 2014, 01:17:14 am »
Download Link!

http://speedy.sh/eggma/PCJ-Gang.zip

Password :

[email protected]

Features!
Thanks To TriX For Its Server Monkey!




Vehicle Info By me!
Hideouts By me!
PCj-Member Login System By me!
Speed System By Me!
Random Speeds, Values By me!
GetCar Addon By me!
Anti-Creator-Credits-Remove By me!


Visit My Forum To Join pCJ Gang!!
PCJ600-gang.createaforum.com


Credits

Me & TriX

Give Me Your Comments Thanks!


15
Snippet Showroom / Disable Weapons/ Restore In bank [Snippet By me ]
« on: March 14, 2014, 09:41:02 pm »
Add [pawn]new WasPlayerInBank[MAX_PLAYERS];[/pawn]

Now Add Publics

[pawn]
forward CheckBank();
public CheckBank() {
for(new i = 0; i < MAX_PLAYERS; i++) {
if(WasPlayerInBank == 1) {
if(strcmp(GetPlayerLocation(i),"Bank-Little-Havana-Vice-City-Mainland", true) == 1) {
GameTextForPlayer(i," Restored Your Weapons ");
SetPlayerWeapon(i,19,1000);
SetPlayerWeapon(i,22,1000);
WasPlayerInBank = 0;
for(new i = 0; i < MAX_PLAYERS; i++) {
if(strcmp(GetPlayerLocation(i),"Bank-Little-Havana-Vice-City-Mainland", true) == 0) {
GameTextForPlayer(i," Disabled Your Weapons");
SetPlayerWeapon(i,0,0);
WasPlayerInBank = 1;
}
}
}
}
}
return 1;
}[/pawn]

Now Add Timers In OnGameModeInit
[pawn]
SetTimer("CheckBank", 1000, 1);[/pawn]

Post Comments About It

Credits : All By Me!!

Pages: [1] 2 3 ... 6