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

Pages: 1 ... 3 4 [5] 6 7
61
General Discussion / Windows XP problem ! Please help me ! [OFF-TOPIC]
« on: November 28, 2012, 11:51:14 pm »
Hi all !
I'm sorry but this isn't a topic about VC:MP ... I'm desperate, idk what to do.

I use Windows XP. Local Disk(D) was filled ... When I try to open it , ask me if I want to format it . (I can't open it)

I have there all my important files :( and idk how to recover these files.

I really need help.. so.. Please ! If anybody know how can I recover my files, please reply !

Thank You !
-Sebi

62
General Discussion / (2012) Count of VC:MP Players - NEW NAME + IP -
« on: November 09, 2012, 08:40:03 pm »
I'm a bit curious about VC:MP Players.


All servers with unique mode or edited mode have a big folder with all players registered.
Dozens, or why not, hundreds of accounts registered. But you never saw so many players online in VC:MP.


How many players still play VC:MP ?
I decided to do a server to Count the VC:MP Players. And I made it.

But who will give time for join to the server, type "/c register [password]" and type "/q" to quit ? Not ALL !

But in this server is The Easiest and The Fastest Register System !
"What you mean?"
Is Easy ! Just join to the server and WAIT max. 40 seconds ! You don't have to type a register command + password.

So, if you have to go to the bathroom and you aren't registered on this server, just join to the server ! When you will be back, You will be registered and out of the game. :P

The number of all registrations made is published on server ! (In the welcome message)

How will look my account in a .ini file ?
Like this:

Code: [Select]
Login=(1 for "registered" and 0 for "unregistered")
Name=(Player Name)
RegistrationNumber=(The number of your registration)

You are registered by IP not by name to can't join with another name but the same IP.

1 IP = 1 Account

But Your name is registered in another .ini file to protect your name.
The file looks like this:
Code: [Select]
(Player Name)=1 (1 = The Nickname is Used!)
The server isn't hosted , but I will open it every time when I will open my notebook. ;)

I will type here the IP every time when it will be changed. (if it will be changed)

IP: 5.13.133.213:5192
Name: [2012] Count of VC:MP Players

I hope all players will give max. 40 seconds for this project. :)

PS: About the name of the server... I used my old server's name to attract more players whit no contact with forum.vicecitymultiplayer.com
EDIT: Enough with my old server's name, I named it how should be now.

PS2: The Number of All VC:MP Players joined to the server will be published in this topic!

PS3: NC, Morphine, Skirmant and more players already registered, so ... Trust me

63
Vice City / Happy Birthday ! :D
« on: October 29, 2012, 09:37:51 pm »
Vice City celebrates 10 years !

Now "he" grew up, have to be careful with him :P
Vice City was one of the first games played by someone. ( unforgettable memories )

It's time to do a surprise for his birthday, wishing him Happy Birthday !




P.S.: Rockstar Games:

"In conjunction with the anniversary, we're pleased to announce that we'll be releasing an Anniversary Edition of Grand Theft Auto: Vice City for select iOS and Android devices later this fall. This upcoming version will bring the full experience to mobile devices, featuring native high-resolution graphics and several enhancements unique to the iOS and Android platforms. Stay tuned for more details in the weeks ahead including a list of compatible iOS and Android devices."

64
mIRC/pawn Scripting / What Happen ? Server not starts
« on: October 13, 2012, 11:16:42 am »
Today I wanted to play on my "Zombie Invasion" but when I run the vcmp-svr.exe , I got error:
(Last time when I started it , ran >long time ago< )



I tried and with the standard server (from www.vicecitymultiplayer.com) and I saw this:

Code: [Select]
Executing Server Config...
D:\Jocuri\Test\scriptfiles\

I can't really remember if before this appears in the console.
Anyway, another thing is ... In the directory of the standard server ( "Test" ) not exist an "scriptfiles" directory.

I heard about some changes on "announce.exe" and "vcmp-svr.exe" , can that affect my servers ?

65
Videos and Screenshots / Deluxo - Twin Drifting [Andrei & Sebi]
« on: September 03, 2012, 12:01:52 am »
http://www.youtube.com/watch?v=iJk9ZeN3N0I

Code: [Select]
You are welcome to see our Drifting Skills.

I recorded on my notebook, and Andrei on his PC, so we have the same videos but on another angle.

I hope you like it :P

Video Editor: CyberLink PowerDirector 10
Song: Robot Remain - Stronger Bangerz Remix
Recorder: Fraps

66
Videos and Screenshots / Cool Face - Problem, Officer ?
« on: August 29, 2012, 12:09:37 am »
http://www.youtube.com/watch?v=9ZjfjE60o4w


Code: [Select]
I made a remake of the popular "Cool Face" , but in Vice City Multiplayer Style.

Original Link: http://www.youtube.com/watch?v=f3SXBirhH7s

Enjoy ! :)

Participated:
        [RO]Sebi - Cameraman (me)
        [RO]Wippy
        [RO]Andrei
        andonache5
        [RO]Lays_2
        NeoNx
        KeedZor

---------- PARTICIPATED IN ROTATION ----------

- Sebi is my real name, so I will use this name from now.
Code: [Select]
Old Name -> Moby               New Name -> Sebi

67
Videos and Screenshots / Vice City - Special Oceanic
« on: August 25, 2012, 11:54:27 pm »
I decided to re-make the end of Vice City.

Today I made the "Bar Brawl" mission and I saw that Special Oceanic.

I made a video to show you how to get it.

Is interesting, but don't damage it :P

http://www.youtube.com/watch?v=fIdHcBb6Cms

68
I have the Property System from Shadow because the Bass Property System was removed. (Thank you Shadow !)

The problem now: I want to make the price to be shown with commas .

For example (with normal Property System):

PropID: 1  PropName: Malibu Club
Price: 3846377


But I want to see something like this (with modified Property System):

PropID: 1 PropName: Malibu Club
Price: 3,846,377


I tried with another " .ini " file where is the "show" price :

1=3,846,377
2=3,734,733


But not working , I see only the first figure ( Price: 3 )

I tried to replace the commas with point :

1=3.846.377
2=3.734.733


But I get the same problem.

And now , I think isn't needed to be another " .ini " special for "show" prices.

I think is something from script, need to put some zeros at %d ...

Thank You !

69
General Discussion / Suggestions for Version 0.4
« on: August 01, 2012, 01:34:49 am »
Here you can post your Suggestions for upcoming release: 0.4 !

If you want to see the Current status of version 0.4 just CLICK HERE !

Maxorator give us a List with all Functions and Publics currently implemented on version 0.4.
If you want to see that list, CLICK HERE !



Now, be free to present your suggestions !

70
Snippet Showroom / Auto-Change GameMode Name by Moby (me)
« on: August 01, 2012, 12:27:13 am »
Auto-Change GameMode Name

This script will make the server name to change once a certain period of time chosen by you!

I just give examples.

Video: http://www.youtube.com/watch?v=SgzkcNDsLeo


On Top :


Code: [Select]
new RandomGMName[][] =
{

"Come and You!",
"Best Server!",
"<= Small Ping",
"<= is funny",
"***By Moby"
};

forward SendGMName();

OnGameModeInit:

Code: [Select]
SetTimer("SendGMName",1000, true);
On End:

Code: [Select]
public SendGMName()
{
    new randMSG = random(sizeof(RandomGMName));
    SetGameModeText(RandomGMName[randMSG]);
}

Have Fun !

71
Snippet Showroom / SetDeathMessage / SendDeathMessage
« on: August 01, 2012, 12:21:44 am »
SetDeathMessage / SendDeathMessage


You can stop the Death Message to appear very simple.

In a_vcmp.inc from "gamemodes" directory is mentioned this functions:


Code: [Select]
native SetDeathMessage(bool);
So ... I added it on "a_vcmp.inc" from "Include" from Pawno Directory and ... I tested it and ..

Work !!

What is this "Death Message" ?

Death Message = text when a player die.


">>Elvis died."

">>Elvis killed Chuck (Palm) (Face)"

">>Elvis killed team-mate Michael (M4) (Eggs)"



I made 2 commands to Turn ON and Turn OFF the Death Message

Add this on the top:


Code: [Select]
new Death;
Add this at OnPlayerCommandText:

Start Death Message Command:


Code: [Select]
else if(strcmp(cmd, "startdeath", true) == 0) {
    if(Death == 1) SendClientMessage(playerid,COLOR_RED,"Death Message are already started !");
    else {
        SendClientMessageToAll(COLOR_YELLOW,"Death Message is Started now !");
        print("Death Message is Started now !");
    SetDeathMessage(1);
    Death = 1;
}
    return 1;
}

Stop Death Message Command:

Code: [Select]
else if(strcmp(cmd, "stopdeath", true) == 0) {
    if(Death == 0) SendClientMessage(playerid,COLOR_RED,"Death Message are already stopped !");
    else {
        SendClientMessageToAll(COLOR_YELLOW,"Death Message is Stopped now !");
        print("Death Message is Stopped now !");
    SetDeathMessage(0);
    Death = 0;
}
    return 1;
}


SendDeathMessage - Is very simple to use it .

You can put it at OnPlayerDeath. (for a double death message if is on)


Code: [Select]
SendDeathMessage(playerid,weapon,killerid,type,bodypart);
I tested the types (with numbers) :

type = 1 => ">>%s killed %s (Weapon Name) (BodyPart)."

type = 2 => ">>%s killed team-mate %s (Weapon Name) (BodyPart)."

type = 3 => ">>%s died."

72
ShowRoom (pawn) / Advanced Jail System By Moby (me)
« on: August 01, 2012, 12:06:47 am »
Advanced Jail System


Commands: /c jail [Nick/ID] , /c unjail [Nick/ID] => Commands for rcon admins !

What is new in this UPDATE ?

*You decide how many minutes to stay in jail and You can add Reason with why you jailed the player !

Now , you have a Random JailSpawns , because, in the Simple Jail System you have just one place, now you have much more places.

Type on your gm top this:


Code: [Select]
#define NOTACCES 0xFF0000AA

new Jail[MAX_PLAYERS];


enum playerjailspawns {
Float:spawnxj,
Float:spawnyj,
Float:spawnzj,
}


new RandomPlayerJailSpawns[][playerjailspawns] = {
{387.0193,-510.2893,9.3956},
{388.4367,-511.6012,9.3956},
{389.7545,-509.8963,9.3956},
{388.2702,-508.7623,9.3956},
{389.5057,-507.1813,9.3956},
{390.9967,-508.3748,9.3956},
{392.1059,-506.9302,9.3956},
{390.8487,-505.9404,9.3956},
{392.1864,-504.1500,9.3956},
{393.5389,-505.2466,9.3956},
{395.1618,-504.3013,9.3956},
{382.1467,-505.1280,9.3956},
{384.9164,-502.2434,9.3956},
{387.6998,-499.4460,9.3956}
};


forward SetPlayerRandomJailSpawns(playerid);
forward unjail();

OnPlayerDisconnect:

Code: [Select]
Jail[playerid] = 0;
Now, add Commands !

Commands:


Code: [Select]
else if (strcmp(cmd, "jail", true) == 0) {
    if(IsPlayerAdmin(playerid))
    {
    new time[256],reason[256],plr;
tmp = strtok(cmdtext, idx),plr = FindPlayerIDFromString(tmp),time = strtok(cmdtext, idx),reason = strtok(cmdtext, idx);

    if(Jail[plr] == 1) {
    SendClientMessage(playerid,NOTACCES,"This Player Is In Jail !");
    }
    if(Jail[plr] == 0) {
if (!strlen(tmp) || !strlen(time) || !strlen(reason)) SendClientMessage(playerid,COLOR_RED, "USAGE: /c jail [Nick] [Min] [Reason]");
else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
else {
new string[256];
SetPlayerRandomJailSpawns(plr);
SetPlayerWeapon(plr,0,0);
SetPlayerWeapon(plr,0,0);
SetPlayerWeapon(plr,0,0);
format(string,sizeof(string),"Admin %s has jailed %s fo r%d",minutes.",gPlayers[playerid],gPlayers[plr],strval(time));
SendClientMessageToAll(COLOR_YELLOW, string);
format(string,sizeof(string),"Reason:[ %s ].",cmdtext[strlen(tmp)+7]);
SendClientMessageToAll(COLOR_YELLOW, string);
SendClientMessage(plr,COLOR_YELLOW,"You have been jailed !");
SetTimer("unjail",(strval(time)*60000),false);
Jail[plr] = 1;
TogglePlayerControllable(plr,0);
}
}
}else{
SendClientMessage(playerid,NOTACCES,"***Not have permission to use this command!");
}
return 1;
}
else if(strcmp(cmd, "unjail", true) == 0) {
    if(IsPlayerAdmin(playerid))
    {
    tmp = strtok(cmdtext, idx); new plr = FindPlayerIDFromString(tmp);
    if(Jail[plr] == 0) {
    SendClientMessage(playerid,NOTACCES,"This Player Is Not In Jail !");
    }
    if(Jail[plr] == 1) {
    if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED, "USAGE: /c unjail [Nick]");
    else{
        if (plr != INACTIVE_PLAYER_ID) {
            new string[256];
        format(string,sizeof(string),"Admin %s has unjailed %s!",gPlayers[playerid],gPlayers[plr]);
SendClientMessageToAll(COLOR_YELLOW, string);
SetPlayerPos(plr,397.688, -471.821, 11.5172,0,0);
SendClientMessage(plr,COLOR_YELLOW,"You have been unjailed !");
Jail[plr] = 0;
TogglePlayerControllable(plr,1);
}
else SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
}
}
}else{
SendClientMessage(playerid,NOTACCES,"***Not have permission to use this command!");
}
return 1;
}

Now, the publics :

Code: [Select]
public SetPlayerRandomJailSpawns(playerid)
{
new rand = random(sizeof(RandomPlayerJailSpawns));
SetPlayerPos(playerid,RandomPlayerJailSpawns[rand][spawnxj],RandomPlayerJailSpawns[rand][spawnyj],RandomPlayerJailSpawns[rand][spawnzj],0,0); // Minigun
return 1;
}

public unjail() {
    for(new i = 0; i < MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i)) {
    if(Jail[i] == 0) {
    }
    if(Jail[i] == 1) {
SetPlayerPos(i,397.688, -471.821, 11.5172,0,0);
SendClientMessage(i,COLOR_YELLOW,"You have been unjailed ! Time Expired !");
Jail[i] = 0;
TogglePlayerControllable(i,1);
}
}
}
}

Finish !

Code: [Select]
This was my first system :D !

73
Snippet Showroom / Christmas Theme By Moby (me) [ + VIDEO]
« on: July 31, 2012, 03:54:11 pm »
Christmas Theme



This is a script based on Christmas.

It contains two Christmas Trees and lights that change colors formed in bottom.

I did it because I saw that on most servers there is no Christmas atmosphere.
(At least two years when I play)

I know... not are the Christmas now... but in least two years none had Christmas Atmosphere.

These trees are in Little Haiti .

VIDEO: http://www.youtube.com/watch?v=ZC78voza_04

Put this on your Script's Top :


Code: [Select]
new RandomXMS[][] =
{
"~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~x~t~m~x~a~o~s~x~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.",
"~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~x~x~m~o~a~y~s~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.",
"~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~x~o~m~y~a~t~s~o~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.",
"~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~x~y~m~t~a~x~s~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~.~o~.~y~.~t~.~x~."
//      "~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~x~t~m~o~a~y~s~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~-",
// "~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~x~o~m~y~a~x~s~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~-",
// "~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~x~y~m~x~a~t~s~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~-",
// "~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~x~x~m~t~a~o~s~y~-~x~-~t~-~o~-~y~-~x~-~t~-~o~-~y~-"
};

forward SendXMS();

Search OnGameModeInit' and paste this :

Code: [Select]
AddStaticPickup(45,350,-1018.54, -251.846, 27.215);
AddStaticPickup(46,375,-1018.54, -251.846, 28.6445);
AddStaticPickup(47,396,-1020.23, -252.313, 15.0776);
AddStaticPickup(48,396,-1016.14, -252.59, 17.087);
AddStaticPickup(49,396,-1018.25, -251.358, 22.2343);
AddStaticPickup(50,396,-1019.55, -253.995, 22.2343);
AddStaticPickup(51,396,-1021.09, -250.346, 19.4861);
AddStaticPickup(52,507,-1017.73, -248.656, 19.3726);
AddStaticPickup(53,507,-1016.4, -252.286, 14.3584);
AddStaticPickup(54,507,-1019.11, -254.959, 18.078);
AddStaticPickup(55,507,-1016.51, -252.191, 19.82);
AddStaticPickup(56,506,-1021, -250.034, 15.5073);
AddStaticPickup(57,506,-1016.06, -253.006, 17.1656);
AddStaticPickup(58,504,-1017.38, -255.009, 22.0683);
AddStaticPickup(59,504,-1016.97, -250.321, 22.0683);
AddStaticPickup(60,504,-1022.39, -250.606, 18.9978);
AddStaticPickup(61,504,-1019.67, -256.364, 21.9568);
AddStaticPickup(62,531,-1018.03, -252.566, 23.5991);
AddStaticPickup(63,531,-1018.11, -253.697, 19.4885);
AddStaticPickup(64,531,-1015.97, -252.03, 16.9937);
AddStaticPickup(65,531,-1018.76, -250.057, 22.4094);
AddStaticPickup(66,531,-1021.55, -249.277, 18.8975);
AddStaticPickup(67,531,-1020.27, -254.655, 21.3478);
AddStaticPickup(68,526,-1020.54, -255.209, 17.8344);
AddStaticPickup(69,526,-1018.73, -251.66, 24.2022);
AddStaticPickup(70,526,-1017.22, -250.619, 19.5403);
AddStaticPickup(71,526,-1020.3, -248.681, 16.9282);
AddStaticPickup(72,526,-1017.57, -252.714, 21.3279);
AddStaticPickup(73,431,-1018.29, -250.846, 12.6587);
AddStaticPickup(74,431,-1020.28, -252.296, 13.64);
AddStaticPickup(75,431,-1023.05, -252.164, 18.1491);
AddStaticPickup(76,431,-1020.1, -252.091, 22.3743);
AddStaticPickup(77,431,-1016.84, -256.217, 18.1367);
AddStaticPickup(78,431,-1014.99, -250.504, 18.9263);
AddStaticPickup(79,396,-1000, -243.051, 12.2559);
AddStaticPickup(80,396,-996.117, -247.737, 12.2559);
AddStaticPickup(81,350,-1010.27, -263.701, 23.5877);
AddStaticPickup(82,375,-1010.27, -263.701, 24.7894);
AddStaticPickup(83,396,-1009.82, -263.134, 18.9136);
AddStaticPickup(84,396,-1011.95, -261.857, 16.0831);
AddStaticPickup(85,396,-1008.46, -263.323, 15.4826);
AddStaticPickup(86,396,-1010.66, -265.805, 18.1433);
AddStaticPickup(87,396,-1009.38, -261.938, 18.6793);
AddStaticPickup(88,396,-1012.28, -263.946, 17.9772);
AddStaticPickup(89,396,-1010.48, -263.551, 13.0517);
AddStaticPickup(90,506,-1012.39, -261.64, 14.6155);
AddStaticPickup(91,506,-1010.4, -262.305, 18.5647);
AddStaticPickup(92,506,-1009.55, -264.437, 18.5647);
AddStaticPickup(93,506,-1010.86, -266.731, 18.5647);
AddStaticPickup(94,507,-1012.93, -262.069, 18.5647);
AddStaticPickup(95,507,-1010.53, -263.023, 21.1241);
AddStaticPickup(96,507,-1011.43, -261.613, 16.4495);
AddStaticPickup(97,505,-1008.8, -262.065, 20.3149);
AddStaticPickup(98,505,-1011.4, -265.325, 20.3149);
AddStaticPickup(99,505,-1008.35, -263.369, 13.6326);
AddStaticPickup(100,531,-1009.98, -262.707, 12.4847);
AddStaticPickup(101,531,-1011.32, -263.381, 13.458);
AddStaticPickup(102,531,-1012.37, -261.115, 17.638);
AddStaticPickup(103,531,-1011.63, -265.263, 18.2076);
AddStaticPickup(104,531,-1009.19, -263.277, 21.3088);
AddStaticPickup(105,531,-1009.31, -265.843, 19.5664);
AddStaticPickup(106,526,-1010.05, -266.143, 20.7532);
AddStaticPickup(107,526,-1010.74, -266.4, 20.7576);
AddStaticPickup(108,526,-1009.69, -262.289, 20.7576);
AddStaticPickup(109,526,-1013.11, -262.186, 16.7362);
AddStaticPickup(110,526,-1008.07, -263.559, 16.6829);
AddStaticPickup(111,526,-1007.46, -262.003, 17.1439);
AddStaticPickup(112,431,-1011.33, -263.174, 19.4103);
AddStaticPickup(113,431,-1007.54, -262.432, 19.4103);
AddStaticPickup(114,431,-1008.66, -264.522, 15.6439);

SetTimer("SendXMS", 2000, true);

And Last Part , On The End Of Your Script :

Code: [Select]
public SendXMS()
{
new randXMS = random(sizeof(RandomXMS));
GameTextForAllBottom(RandomXMS[randXMS]);
}

And for a TOTAL CHRISTMAS ATMOSPHERE , I added a Christmas Song.

You can download From Here: http://www.solidfiles.com/d/7b76b643f1/

Put this file in your Audio Folder from Vice City Directory. Make a Backup First !

Now when you are in Christmas Tree Area, the song will start .

Hope you Enjoy !

74
ShowRoom (pawn) / Xmod For Some Cars [By Me]
« on: July 31, 2012, 03:33:24 pm »


This script can give some cars the Xmod !

Had a small bug, and I resolved !

Commands: (/c) xmod, smod, xplace.

For go to all cars with Xmod on this script, type "/c xplace" !

I give just 6 examples, but you can add other cars.

Cars Have Xmod On This Script: Sentinel, Hermes, Sabre, Kaufman Taxi, Limo, Burrito.

On Top:


Code: [Select]
new c1,c2,c3,c4,c5,c6,c11,c22,c33,c44,c55,c66;
new xmod[MAX_VEHICLES];

public OnPlayerEnterVehicle:

Code: [Select]
if(xmod[vehicleid] == 1) {
       RemovePlayerFromVehicle(playerid);
       SendClientMessage(playerid,COLOR_YELLOW,"Is Busy Now!");
       }
    if(vehicleid == c1 || vehicleid == c11) {
       SendClientMessage(playerid,COLOR_YELLOW,"==> This car have Xmod or S(tock)mod <==");
       xmod[c1] = 1;
       xmod[c11] = 1;
       }
    if(vehicleid == c2 || vehicleid == c22) {
       SendClientMessage(playerid,COLOR_YELLOW,"==> This car have Xmod or S(tock)mod <==");
       xmod[c2] = 1;
       xmod[c22] = 1;
       }
    if(vehicleid == c3 || vehicleid == c33) {
       SendClientMessage(playerid,COLOR_YELLOW,"==> This car have Xmod or S(tock)mod <==");
       xmod[c3] = 1;
       xmod[c3] = 1;
       }
    if(vehicleid == c4 || vehicleid == c44) {
       SendClientMessage(playerid,COLOR_YELLOW,"==> This car have Xmod or S(tock)mod <==");
       xmod[c4] = 1;
       xmod[c44] = 1;
       }
    if(vehicleid == c5 || vehicleid == c55) {
       SendClientMessage(playerid,COLOR_YELLOW,"==> This car have Xmod or S(tock)mod <==");
       xmod[c5] = 1;
       xmod[c55] = 1;
       }
    if(vehicleid == c6 || vehicleid == c66) {
       SendClientMessage(playerid,COLOR_YELLOW,"==> This car have Xmod or S(tock)mod <==");
       xmod[c6] = 1;
       xmod[c66] = 1;
       }

public OnPlayerCommandText:

Code: [Select]
else if(strcmp(cmd, "xmod", true) == 0) {
    if(IsPlayerInVehicle(playerid,c1)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c1);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c11);
         SetVehiclePos(c11,X,Y,Z,Angle);
         SetVehicleHealth(c11,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the X Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the S(tock) Mod , type &#039;/c smod!' !");
         SetVehicleToRespawn(c11);
          SetVehiclePos(c11,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c11);
         SetVehiclePos(c1,0,0,0,0);
         SetVehicleToRespawn(c1);
            RemovePlayerFromVehicle(playerid);
          SetVehiclePos(c1,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c2)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c2);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c22);
         SetVehiclePos(c22,X,Y,Z,Angle);
         SetVehicleHealth(c22,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the X Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the S(tock) Mod , type &#039;/c smod!' !");
         SetVehicleToRespawn(c22);
          SetVehiclePos(c22,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c22);
         SetVehiclePos(c2,0,0,0,0);
         SetVehicleToRespawn(c2);
            RemovePlayerFromVehicle(playerid);
          SetVehiclePos(c2,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c3)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c3);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c33);
         SetVehiclePos(c33,X,Y,Z,Angle);
         SetVehicleHealth(c33,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the X Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the S(tock) Mod , type &#039;/c smod!' !");
         SetVehicleToRespawn(c33);
          SetVehiclePos(c33,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c33);
         SetVehiclePos(c3,0,0,0,0);
         SetVehicleToRespawn(c3);
            RemovePlayerFromVehicle(playerid);
          SetVehiclePos(c3,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c4)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c4);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c44);
         SetVehiclePos(c44,X,Y,Z,Angle);
         SetVehicleHealth(c44,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the X Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the S(tock) Mod , type &#039;/c smod!' !");
         SetVehicleToRespawn(c44);
          SetVehiclePos(c44,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c44);
         SetVehiclePos(c4,0,0,0,0);
         SetVehicleToRespawn(c4);
            RemovePlayerFromVehicle(playerid);
          SetVehiclePos(c4,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c5)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c5);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c55);
         SetVehiclePos(c55,X,Y,Z,Angle);
         SetVehicleHealth(c55,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the X Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the S(tock) Mod , type &#039;/c smod!' !");
         SetVehicleToRespawn(c55);
          SetVehiclePos(c55,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c55);
         SetVehiclePos(c5,0,0,0,0);
         SetVehicleToRespawn(c5);
            RemovePlayerFromVehicle(playerid);
          SetVehiclePos(c5,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c6)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c6);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c66);
         SetVehiclePos(c66,X,Y,Z,Angle);
         SetVehicleHealth(c66,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the X Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the S(tock) Mod , type &#039;/c smod!' !");
         SetVehicleToRespawn(c66);
          SetVehiclePos(c66,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c66);
         SetVehiclePos(c6,0,0,0,0);
         SetVehicleToRespawn(c6);
            RemovePlayerFromVehicle(playerid);
          SetVehiclePos(c6,0,0,0,0);
      }
      return 1;
      }
     
else if(strcmp(cmd, "smod", true) == 0) {
    if(IsPlayerInVehicle(playerid,c11)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c11);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c1);
         SetVehiclePos(c11,X,Y,Z,Angle);
         SetVehicleHealth(c1,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the S(tock) Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the X Mod , type &#039;/c xmod!' !");
         SetVehicleToRespawn(c1);
          SetVehiclePos(c1,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c11);
         SetVehiclePos(c11,0,0,0,0);
         RemovePlayerFromVehicle(playerid);
         SetVehicleToRespawn(c1);
          SetVehiclePos(c11,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c22)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c22);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c2);
         SetVehiclePos(c22,X,Y,Z,Angle);
         SetVehicleHealth(c2,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the S(tock) Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the X Mod , type &#039;/c xmod!' !");
         SetVehicleToRespawn(c2);
          SetVehiclePos(c2,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c22);
         SetVehiclePos(c22,0,0,0,0);
         RemovePlayerFromVehicle(playerid);
         SetVehicleToRespawn(c2);
          SetVehiclePos(c22,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c33)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c33);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c3);
         SetVehiclePos(c33,X,Y,Z,Angle);
         SetVehicleHealth(c3,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the S(tock) Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the X Mod , type &#039;/c xmod!' !");
         SetVehicleToRespawn(c3);
          SetVehiclePos(c3,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c33);
         SetVehiclePos(c33,0,0,0,0);
         RemovePlayerFromVehicle(playerid);
         SetVehicleToRespawn(c3);
          SetVehiclePos(c33,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c44)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c44);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c4);
         SetVehiclePos(c44,X,Y,Z,Angle);
         SetVehicleHealth(c4,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the S(tock) Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the X Mod , type &#039;/c xmod!' !");
         SetVehicleToRespawn(c4);
          SetVehiclePos(c4,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c44);
         SetVehiclePos(c44,0,0,0,0);
         RemovePlayerFromVehicle(playerid);
         SetVehicleToRespawn(c4);
          SetVehiclePos(c44,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c55)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c55);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c5);
         SetVehiclePos(c55,X,Y,Z,Angle);
         SetVehicleHealth(c5,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the S(tock) Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the X Mod , type &#039;/c xmod!' !");
         SetVehicleToRespawn(c5);
          SetVehiclePos(c5,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c55);
         SetVehiclePos(c55,0,0,0,0);
         RemovePlayerFromVehicle(playerid);
         SetVehicleToRespawn(c5);
          SetVehiclePos(c55,0,0,0,0);
      }
    if(IsPlayerInVehicle(playerid,c66)) {
    new Float:X,Float:Y,Float:Z,Float:Angle;
            RemovePlayerFromVehicle(playerid);
            SetVehicleToRespawn(c66);
         GetPlayerPos(playerid,X,Y,Z);
         PutPlayerInVehicle(playerid,c6);
         SetVehiclePos(c66,X,Y,Z,Angle);
         SetVehicleHealth(c6,1000);
         SendClientMessage(playerid, COLOR_YELLOW, "You selected the S(tock) Mod for your Vehicle!");
         SendClientMessage(playerid,COLOR_YELLOW, "To select the X Mod , type &#039;/c xmod!' !");
         SetVehicleToRespawn(c6);
          SetVehiclePos(c6,X,Y,Z,Angle);
          PutPlayerInVehicle(playerid,c66);
         SetVehiclePos(c66,0,0,0,0);
         RemovePlayerFromVehicle(playerid);
         SetVehicleToRespawn(c6);
          SetVehiclePos(c66,0,0,0,0);
      }
      return 1;
      }
     
   else if(strcmp(cmd, "xplace", true) == 0) {
       SetPlayerPos(playerid,-854.3002,525.9736,11.1007,1.0423,0);
       SendClientMessage(playerid,COLOR_YELLOW,"In this place are all cars with Xmod on this script!");
       return 1;
       }

OnGameModeInit:

Code: [Select]
c1=AddStaticVehicle(135,-845.5019,533.4811,10.6948,1.2191,1,1);
c2=AddStaticVehicle(204,-851.6696,533.7639,10.6947,359.8784,1,1);
c3=AddStaticVehicle(205,-857.4383,534.1587,10.6949,0.9703,1,1);
c4=AddStaticVehicle(212,-863.5768,533.9150,10.6951,359.3430,1,1);
c5=AddStaticVehicle(216,-869.1072,534.2458,10.6947,359.4527,36,0);
c6=AddStaticVehicle(139,-839.9695,536.6782,10.6950,359.7005,1,1);
c11=AddStaticVehicle(174,-609.2595,1234.4337,21.4865,278.7307,0,0);
c22=AddStaticVehicle(164,-608.9079,1226.3947,21.4865,273.4040,1,1);
c33=AddStaticVehicle(206,-608.7878,1219.9231,21.4865,272.7773,1,1);
c44=AddStaticVehicle(179,-608.1953,1212.0464,21.4865,270.2706,1,0);
c55=AddStaticVehicle(188,-608.3098,1200.6761,21.4865,249.9038,36,0);
c66=AddStaticVehicle(201,-612.1787,1241.3369,21.4865,263.6906,0,0);

Finish !

Photos [ In left Xmod and in Right S(tock)mod ] :












75
ShowRoom (pawn) / ConsoleChat by me (Moby)
« on: July 31, 2012, 01:28:00 am »
Console Chat

This system give you the possibility to talk from the server console.
When you typed something and press Enter, an message will be imediatly sent in server inside.

Download: [FS] Console Chat
Pastebin: http://pastebin.com/acG2WJG6

You have one simple command:
                          /say - Is used on RCON Console. Send a message to the server.

ATTENTION: The command is without "/c" and this system works only if is used as FilterScript !

How to enable this FilterScript for my server ?
               1. Download the [FS] Console Chat
               2. Extract files in "filterscripts" folder from server directory
               3. Add in "server.cfg" , at the "filterscripts" line:  ConsoleChat_ByMoby
               4. Run the server and test the system.

CREDITS:  Me (Moby)

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