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 4 ... 6
16
ShowRoom (pawn) / [R2x] Grand Hunting Project V1 [ Re-Modifed-GUPS]
« on: March 13, 2014, 06:06:27 pm »
Quote
Grand Hunting Project!

Version 1 Re-Modified GUPS!

Includes!!

Anti-Pings
Anti-Hacks
Racing Addon
Racing Spree
Killing Spree
QuitRace Features
Be Right Back Protection
Races Such Bugs Fixed

Bugs That Are Fixed

When A Player Is Not In Race And Get The Pickup he WOn The Races { Fixed }
4 Bikes Only 4 Peoples Can Join The Race Its Fixed With A Bound Of Max 4 Players A Race [ Fixed ]
When Anyone Won The Race ! Anyone Else Came To Win The Race At Second Or 3rd Will Not Win xD


Anti Pings

When Pings Goes To 700 Auto Kicked

Anti hack

If hack More Than 101 hp or arm will be kicked

Racing Addon

You Can Race In Server

QuitRace

Quit The Race Anytime!

Killing Spree

Spree For Killing Peoples

Racing Spree

When You Win You Make SPree


I WIll Add More Features In Version 2

Downloading Link

http://speedy.sh/xTfJq/R2x-Grand-Hunting-Project.zip

Password
:
Quote
[email protected]

17
Snippet Showroom / Auto-Kick For Pings [ Snippet ]
« on: March 13, 2014, 05:52:21 pm »
OnPlayerConnect

Quote
CheckPlayer(playerid);

OnPlayerDeath

Quote
CheckPlayer(playerid);

OnPlayerSpawn

Quote
CheckPlayer(playerid);

[pawn]public CheckPlayer(playerid) {
if(GetPlayerPing(playerid) > 700) {
Kick(playerid);
SendClientMessage(playerid,COLOR_RED," Kicked For Pings Are Up Than 690m ");
}
return 1;
}[/pawn]

Thats All!

18
Snippet Showroom / Be Right Back [ Fully Advance ] 2 Systems !!
« on: March 13, 2014, 02:07:22 pm »
Version 1

...

add this

Code: [Select]
new Gone[MAX_PLAYERS];
new bReason[MAX_PLAYERS];

Now Commands

 
Code: [Select]
  else if(strcmp(cmd,"brb", true) == 0)  {
tmp = strtok( cmdtext, idx );
if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "Usage: /c brb [reason] [time]" );
else {
new tmp2[123];
tmp2 = strtok( cmdtext, idx );
new str[123];
Gone[playerid] = 1;
pReason[playerid] = strlen(tmp);
TogglePlayerControllable(playerid,0);
format(str, 123, " %s Will be Right Back In %d Minutes. Reason %s ", gPlayers[playerid], tmp2, tmp);
SendClientMessageToAll(COLOR_GREEN,str);
}
return 1;
}

else if(strcmp(cmd,"back", true) == 0)  {
new str[123];
Gone[playerid] = 0;
TogglePlayerControllable(playerid,1);
format(str, 123, " %s Is Back From %s ", gPlayers[playerid],  pReason[playerid]);
SendClientMessageToAll(COLOR_GREEN,str);
return 1;
}



onplayerdeath
Code: [Select]
if(Gone[playerid] == 1) {
SetPlayerHealth(killerid,0);
SendClientMessage(killerid,COLOR_RED," Auto Kill For Type Kill ");
}

Version 2

Code: [Select]
new bReason[][] = {
" Toilet ",
" Eating ",
" Tired ",
" Later ",
" Going To Sleep ",
" Going Somewhere "
};

put cmd in onplayertext

Code: [Select]
else if(strcmp(cmd,"brb", true) == 0) {
new randx = random(sizeof(bReason);
new ms[123];
format(ms,sizeof(ms)," %s Will Be Right Back Reason : %s ", gPlayers[playerid], bReason[randx][randx]);
SendClientMessageToAll(COLOR_GREEN,ms);
return 1;
}
[code]else if(strcmp(cmd,"back", true) == 0) {
new randx = random(sizeof(bReason);
new ms[123];
format(ms,sizeof(ms)," %s Is Back From %s ", gPlayers[playerid], bReason[randx][randx]);
SendClientMessageToAll(COLOR_GREEN,ms);
return 1;
}







19
General Discussion / If Having SOme Problems ( Note )
« on: March 11, 2014, 07:19:18 pm »
If You Are From Pakistan And Having Problem Opening Such Site sLIke Vrocker - Hosting ... We Cant Open Them Because Its Being Blocked In Pakistan By PTA Or Vrocker....

You Can Use www.4everproxy.com/

Open It .. Enter Address Init !!

Then You Will Able To See The SIte!!!

Note : DOnt Use Proxy To Sign In With Twitter, Yotube, Or Facebook . Your Account Can Be Locked If You use!

If This Proxy Contains Anything Bad . Report It!!!

20
Features List!

Quote
Archeievements ( Means You have To unlock Them TO COntinue To Missions )
Missions ( Complete Missions )
Jobs ( have 2 Jobs Cops And RObbers )
Teleports ( Have Simple Teleportion )
Commands ( Have Many Commands )

Missions== Complete The Race ==
== Rob The Bank ==
== Kill 3 Peoples ==
== Unlock 5 Archeievements ==
== FInd Secret Pickup At Mansion ==

Commands

Quote
(/c) boost , stunt, info, forum, malibu, bank, army, mansion, airport, downtown, list, missions . there is more basic cmds you can read in server

Download Links!!
V5
http://speedy.sh/KvNVW/Missions-Crime-City.zip ( Mirror 1 )
http://www.mediafire.com/download/j5k4bh2ri2ms4ot/Missions_+_Crime_City.zip ( mirror 2 )

21
Snippet Showroom / Anti-Owner-Ban System[Snibbet][ByMe]
« on: February 18, 2014, 10:46:04 pm »
Removed!!!

22
ShowRoom (pawn) / Racing Tracks v3 [Fixed Version]
« on: February 15, 2014, 02:43:46 am »
 Version 3:               FeaturesList!!

Old RaceTracks Bug Removed
New RaceTracks Added
Spree System Added
Bugged Race Counter Removed
Race-Joining-CHeck-System Added [ Means If Someone Havenot Write /c race , /c race2 he even pickup the pickup of race he will not win ]
Vehicles Added!!

Read The Changelog File For More Info----------

Download Link!!
Version 3::
http://speedy.sh/TKacR/R2x-Xtreme-Racing.zip

Version 1;

Link Removed                                                                                                                                                           
Version 2
 Creator : JiMX[ME]
Featues ::
5 RaceTracks As Decided!!!
Shows Your Won Races By /c myrank!!

All CMDS

!race
!race2
!race3
!race4
!race5
!myrank
The Best RaceTracks In Pawn!!
By Me!!!!

http://www.4shared.com/archive/cQ0TJBQ7/R2x_Xtreme_Racing.htm

Click To Download ..
                                                                                                                                   

23
Snippet Showroom / R2x Racing Xtreme [ New Link ]
« on: February 12, 2014, 08:12:54 pm »
Creator : JiMX[ME]
Featues ::
5 RaceTracks As Decided!!!
Shows Your Won Races By /c myrank!!


All CMDS

!race
!race2
!race3
!race4
!race5
!myrank

The Best RaceTracks In Pawn!!
By Me!!!!

http://www.4shared.com/archive/cQ0TJBQ7/R2x_Xtreme_Racing.htm

Click To Download ..

Thank YoU!!!

24
Snippet Showroom / Timing System!!!!! [ Working By Me ]
« on: February 08, 2014, 07:37:42 pm »
 :D

Changelog!!

For A Better Touch!!

Add
Quote
Hours[MAX_PLAYERS];
Days[MAX_PLAYERS];
Minutes[MAX_PLAYERS];
Seconds[MAX_PLAYERS];

Add This In OnPlayerText
Quote
   else if(strcmp(cmd, "!time", true) == 0) {
   new none[127];
   format(none,sizeof(none)," Time [ %d : %d : %d : %d  ]", SecondsFile(playerid), MinutesFile(playerid), HoursFile(playerid),DaysFile(playerid));
GameTextForPlayerBottom(i,none);
return 1;
}   

OnGameModeInIt

Quote
SetTimer("IncSeconds", 1000, 1);
SetTimer("IncMinutes", 59000, 1);

Now For Publics

Quote
public SecondsFile(playerid) {
return Seconds[playerid];
}

public DaysFile(playerid) {
return Days[playerid];
}

public MinutesFile(playerid) {
return Minutes[playerid];
}

public HoursFile(playerid) {
return Hours[playerid];
}

public IncSeconds() {
    for(new i = 0; i < MAX_PLAYERS; i++) {
Seconds++;
}
    for(new i = 0; i < MAX_PLAYERS; i++) {
if(Seconds == 59) {
Seconds = 0;
}
}
return 1;
}

public IncMinutes()
{
    for(new i = 0; i < MAX_PLAYERS; i++) {
Minutes++;
new ss[123];
format(ss,sizeof(ss),"[Time] %d : %d : %d", SecondsFile(i), MinutesFile(i), HoursFile(i));
GameTextForPlayerBottom(i,ss);
}
    for(new i = 0; i < MAX_PLAYERS; i++) {
if(Minutes == 61) {
Minutes = 0;
IncHours++;
}
}
return 1;
}

public IncHours()
{
    for(new i = 0; i < MAX_PLAYERS; i++) {
Hours++;
new ss[123];
format(ss,sizeof(ss),"[Time] %d : %d : %d : %d", SecondsFile(i), MinutesFile(i), HoursFile(i),DaysFile(i));
GameTextForPlayerBottom(i,ss);
}
    for(new i = 0; i < MAX_PLAYERS; i++) {
if(Hours == 25) {
Hours = 0;
Day[playerid]++;
}
}
return 1;
}

Saw A Bug Report It!!!

Credits Me

Features

Replacable By SetWorldTime

Just Can Change Weather..

+ Rcon Features To Change !!

/sethr
/setweather

Its SHow And Increases Time

Seconds Every Seconds
Minutes EVery 60 Seconds
Hours Every 60 Minutes
Days Every 24 Hour!





   


25
General Discussion / All Features In One!!!
« on: February 05, 2014, 05:39:06 pm »
BugList

Quote
Bugs:

        Lots of "Access violation" pop-ups after closing the official browser (Vista/Win7). But you can use the VRocker Unofficial Browser. [1]) -> for 64bit version use this -> [2])

        If closed "normally" (through the esc menu), the pop-up with some error will appear and the exiting player will be considered timeouted.

        Duplication of pings/scores of the other people in F5.

Features:

        Small blip size for vehicles of the same height.

        Not-so-good vehicle sync.

        No free cookies. None. Anywhere.
Quote
Bugs:

        SetPlayerColor() doesn't work (not implemented).

        GetTickCount() doesn't work.

        SetMaxPlayers(maxplayers) doesn't work.

        SetWorldTime(hour) doesn't work.

        GetPlayerWeapon(playerid) doesn't work.

        GivePlayerMoney(playerid,money) doesn't work. (can be replaced)

        SetPlayerAnimation(playerid, anim) doesn't work.

        SetPlayerFacingAngle(playerid,Float:ang) doesn't work.

        GetPlayerState(playerid) doesn't work. (can be replaced)

        SetWantedLevel(playerid,level) doesn't work.

        CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay) doesn't work.

        ChangeVehicleColor(vehicleid, color1, color2) doesn't work.

        SetVehicleDoorsStatus(vehicleid,bool) doesn't work.

        SendRconEvent(const format[], {Float,_}:...) doesn't work.

        SendRconCommand(const format[], {Float,_}:...) doesn't work.

        Extra/missing warnings because of the old pawn compiler.

Features:

        Missing functions for manipulating objects.

        Useless "/c" prefix for all commands.

Original CMDS

Quote
VC:MP Embedded Commands
Admin Commands
Name    Usage    Description
Logging in as an admin.    /admin <Password>    Allows you to log in as an administrator of the server.
Bringing a player.    /bring <PlayerID>    Teleports a player to you.
Teleporting to a player.    /goto <PlayerID>    Teleports you to a player.
Setting weapons for a player.    /setwep <PlayerID> <WeaponID>    Allows you to give a weapon to another player.
Kicking a player.    /kick <PlayerID>    Kicks a player out of the game. Player disconnects from the server but can rejoin.
Getting the IP of a player.    /getip <PlayerID>    Gets the IP adress of a specific player.
Banning a player.    /ban <PlayerIPaddress>    Bans a player from the server. Player disconnects from the server and can't rejoin.
Changing HP ammount.    /sethp <PlayerID> <HPAmmount>    Changes the life (HP) of a specific player.
Setting location for a player    /setloc <PlayerID> <X> <Y> <Z> <Interior ID>    Teleports a player to the specified coordinates.
Freezing people.    /setcon 0/1    Disables controls for a player. He cannot move, only speak on the chat. Use /setcon 0 to lock him, use /setcon 1 to unlock him.
Changing money ammount.    /setmon <PlayerID> <Amount>    This allows you to change a specific player's money amount.
Changing armour ammount.    /setarm <PlayerID> <Amount>    Changes the armour of a specific player.
Changing the hour.    /sethr <Amount>    Changes the hour of server.
Changing the minute.    /setmin <Amount>    Changes the minute of server.
Changing the time rate.    /settimerate <Amount>    Changes the time rate of server. (The clock can be started)
Set the weather    /setweather <weatherID>    You can change the weather as you like.
Set more stuff    /set <CommandID> <Arguments>    You can change/add more with this command. -> Commands IDs
Player Commands
Name    Usage    Description
Animation HANDSUP    /handsup    When the cops come , put your hands up .
Animation SIT    /sit    You can sit now in bar with your friends .
Animation STAND    /stand    If you want to get up after /sit , type /stand .
Animation AIM    /aim    You can straighten gun at someone without problems now .
Animation FALL    /fall    You can fall if you want.
Animation SELL    /sell    You can "take/put" something where you want .
Animation BUY    /buy    Is like a "Talk Animation"
Animation WAVE    /wave    You are asking for a taxi .
Animation LOOK    /look    You are just looking .
Animation SPIKE    /spike    If the server have allowed the spikes, you can release it like the cops .
Animation DO    /do [animation id]    Simple animation are allowed for all players .
Private Message    /msg [playerid] [text]    Send an Private Message to an specified player .
Announce something    /me [text]    Send an Message to all with your name specified at the beginning.
Auto-Kill    /kill    Set your Health 0. Auto-Kill.
Useless Commands ( not work, but exist. Maybe these commands were used by developers while working on new versions )

    Credits goes to [Saint] for the full list .

Name    Usage    Description
Debug command    /debug    There is but nothing happens .
Actor command    /actor    There is but nothing happens .
Actor OFF command    /actoroff    There is but nothing happens .
Z command    /z    There is but nothing happens .
Gencomp command    /gencomp    There is but nothing happens .
Build command    /build    Spawn you in game. Note: Works just in Build Mode .
Set skins command    /skin    There is but nothing happens. Note: In Build Mode, get client crash !
Vehicle command    /vehicle    There is but nothing happens .
Short form of vehicle command    /v    There is but nothing happens .

Basics


Quote
    Once you've joined a vc-mp server, you can either enter the spectation mode by pressing the TAB - button or select a skin with left and right arrow buttons.

    Choose your skin and press LMB to spawn. Now your character will spawn to a location defined by the server.

    If you have no experience on playing Vice City, it would be good to learn the movement basics first.

    All the buttons can be edited, but the most common setup for moving is WASD.

    Usually, you sprint by pressing Left shift and crouch by pressing C.

    Jump by pressing the spacebar, change weapons with the mouse scroll.

    You can enter or exit a vehicle by pressing F.

    In case you want to enter the vehicle as a passenger, press TAB.

    (Only in R2) Also, you can pick up weapons from the ground with TAB.


Server Info

Quote
Windows Server
Installation

    1. Download the server at http://vicecitymultiplayer.com/downloads/03z_r2/server0.3zr2(pawn)(win)(updated2).zip

    2. Unzip the file and double click on "server0.3zr2(pawn)(updated2).exe" .

    3. At "Destination Folder" must to select the folder where You want to install the server .

Example: "C:\Grand Theft Auto Vice City\Server"

    4. After selecting, click on "Install" .

    5. After about max. 5 seconds, you can see that the installation is "Completed".

You can press on "Show Details" to see more details about the installation.

    6. Now you can press on "Close" for end the installation.

    7. In the specified folder, you will see 3 files (announce.exe , server.cfg , vcmp-svr.exe) and 1 folder (gamemodes)

Setting Up The Server

    1. Click on "server.cfg" .

    2. Set your own settings :

        echo Executing Server Config...
        friendlyfire [1/0]
        lanmode [1/0]
        maxplayers [max_players]
        port [server_port]
        hostname [hostname]
        gamemode0 [gamemode]
        rcon_password [rcon_passwor]

    3. If you want to lock your server with password, add this after "rcon_password" :

server_password [password]

    4. If you want to add filterscripts to your servers add this :

filterscripts [filterscript 1], [filterscript 2], [filterscript 3]

    5. Open the "vcmp-svr.exe" and your server is opened.

OPTIONAL

    If you want to add/delete stuff (like commands,messages) You need to know "Pawn Language".
    You can ask for help at http://forum.vicecitymultiplayer.com/ in "VC:MP » mIRC/pawn Scripting » ShowRoom (pawn)"

Linux Server

    1. Browse to the directory you want the server to be at

cd /home/vcmp/

    2. Download the server at http://vicecitymultiplayer.com/downloads/03z_r2/vc-mp-server0.3zr2(pawn)(linux)(updated2).zip

wget http://vicecitymultiplayer.com/downloads/03z_r2/vc-mp-server0.3zr2(pawn)(linux)(updated2).zip -O server.zip

    3. Unzip the file

unzip server.zip

    4. Open server.cfg and change the settings you want. Below you can find a list of Config Values.

nano server.cfg

    5. Start vcmp-svr and your server is running!

./vcmp.bin
Quick Command

    Steps 2 and 5 can all be done using this one command:

wget http://vicecitymultiplayer.com/dl.php?f=15 -O server.zip && unzip server.zip && nano server.cfg && ./vcmp.bin
Keeping your server running

    Your server will quit once you close your SSH session, so you might want to detach it so it keeps running:

nohup ./vcmp.bin > /dev/null &
Config Settings

        hostname [server_name]
        port [server_port]
        password [server_pass]
        maxplayers [max_players]
        friendlyfire [0/1]
        lanmode [0/1]
        rcon_password [rcon_pass]
        rcon_max_users [rcon_users]
        rcon_port [rcon_port]
        bind [port]
        gamemode0-9 [modename]
        filterscripts [fs1] [fs2] [fs3]


Client

Quote
VC:MP Client
Install and Run

    1. Download the client at http://vicecitymultiplayer.com/downloads/03z_r2/vcmpclient0.3zr2(patch2).zip

        If you using Windows Vista or Windows 7 use this -> [1]) -> (for 64bit version use this -> [2]) )
        It requires the .net framework 3.5 so if you dont have that, grab it [3]) or run a windows update.

    2. Install it to your Vice City directory (e.g. "C:\Program Files\Rockstar\GTA - Vice City").

    3. Open vc-mp.exe and specify the path to gta-vc.exe.

    4. Open "Internet" tab.

    5. Select the server you like most and double-click it.

    6. Click "Connect" and enjoy!

Troubleshooting
1. Singleplayer starts instead of connecting to a server.

    Reinstall VC-MP, ensuring that you installed it in VC dir (vc-mp.flt should be in mss folder).

2. Client freezes when trying to connect to a server, showing only "connecting to..." message.

    Ensure your Vice City is version 1.0 (replace your gta-vc.exe with this -> [4]).

    Ensure you have the latest VC-MP version (download link at the top).

    Also make sure the server you are trying to connect to is online.

2. Error message pops-up, saying something like "checksum failed data/default.ide".

    Remove all the mods you might have installed or reinstall Vice City.

    If your Vice City is initially modded (like Vice City Deluxe) you need to get a new, "classic" Vice City.

3. Game freezes at VC-MP loading screen (the one with progress bar at the bottom).

    You are running few instances of Vice City. Close all of them and try to connect again

Limits

Quote
VC:MP 0.3zR2 Limits

    Players Limit: 50 <----------> I suggest you to use 48 for a better stability
    Pickups Limit: 336
    Vehicles Limit: 179 <----------> VC:MP Vehicles starts with 0
    Vehicle's Models Limit: 50

VCMP

Quote
VC-MP is a multiplayer modification, allowing to play Vice City with your friends (or foes).

    Developers' Blog: http://vcmpdev.wordpress.com/

    Project site: http://vicecitymultiplayer.com/

    Project forum: http://forum.vicecitymultiplayer.com/

    Project IRC: http://en.irc2go.com/webchat/?net=GTANet&room=vc-mp

Scripting

Quote
Scripting in VC-MP is done via the means of Pawn scripting language.

    There are one much editor (Squirrel) availiable and an old editor (Mirc) unavailiable, but Pawno is the official editor for VC:MP.

To start scripting, you need to get VC:MP Pawno : http://www.solidfiles.com/d/01fe/download
If you want to learn Pawn scripting, the following links can help you:

    http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS - Official Pawn documentation.
    http://wiki.sa-mp.com/wiki/Category:Scripting_Documentation - Scripting documentation for SA-MP (some of it can be applied to VC-MP).
    http://forum.vicecitymultiplayer.com/index.php?board=29.0 - Script sources which you can use for learning.
    http://forum.vicecitymultiplayer.com/index.php?topic=2708.0 - The Absolute Beginner's Guide to Pawn (by stormeus)

Here are the lists of VC-MP's callbacks/functions with their description:

    Callbacks : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Callbacks

    Functions : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/Functions

Also you might need different IDs for skins/vehicles/weapons/pickups/colors. Get them from:

    Radar Markers ID Listing : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/RadarMarkers

    Skin ID Listing : thijn.vrocker-hosting.co.uk/VCWiki/index.php/SkinIds

    Vehicle ID Listing : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/VehicleIDs

    Weapon ID Listing : thijn.vrocker-hosting.co.uk/VCWiki/index.php/WeaponIDs

    Model ID Listing : thijn.vrocker-hosting.co.uk/VCWiki/index.php/ModelIDs

    Car Colors : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/CarColors

    Team Colors : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/TeamColors

    Game Text Codes : http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/GameTextCodes

CallBacks

Quote
Callbacks

    OnGameModeInit()

    OnGameModeExit()

    OnFilterScriptInit()

    OnFilterScriptExit()

    OnPlayerConnect(playerid)

    OnPlayerDisconnect(playerid, reason)

    OnPlayerSpawn(playerid, classid)

    OnPlayerPrivmsg (playerid, receiverid, message)

    OnPlayerDeath(playerid, killerid, reason, bodypart)

    OnPlayerText(playerid, text[])

    OnPlayerCommandText(playerid, cmdtext[])

    OnPlayerRequestClass(playerid, classid)

    OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)

    OnPlayerExitVehicle(playerid, vehicleid)

    OnPickedUp(pickupid, playerid)

    OnRconCommand(cmd[])

    OnPlayerVersion (playerid,version)

Important Note

    When using these callbacks in a filterscript, make sure you return 1, so it's available in other filterscripts too. When you don't return a value or return 0, other callbacks in filterscripts loaded at a later time aren't executed.

    Returning a value doesn't matter in OnFilterScriptInit and OnFilterScriptExit.
    OnPlayerCommandText uses the opposite: 1 is indicating "command found" to all scripts, 0 will show "Unknown Command".


Functions

Quote

    This page contains a list of Functions available Vice City Multiplayer.
    All functions have received their own page with extended information about the function, the required parameters and possible usage.

Util

    print(const string[])

    printf(const format[], {Float,_}:...)

    format(output[], len, const format[], {Float,_}:...)

    SendClientMessage(playerid, color, const format[])

    SendClientMessageToAll(color, const format[])

    SendDeathMessage(killed,weapon,killer,type,bodypart)

    SetDeathMessage(bool)

    GameTextForAll(const string[])

    GameTextForPlayer(playerid,const string[])

    GameTextForAllBottom(const string[])

    GameTextForPlayerBottom(playerid,const string[])

    SetTimer(funcname[], interval, repeating)

    KillTimer(timerid)

    GetMaxPlayers()

Game

    SetGameModeText(const string[])

    SetTeamCount(count)

    AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)

    AddPlayerClassEx(teamid, modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)

    AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2)

    AddStaticPickup(id,type,Float:X,Float:Y,Float:Z)

    SetWorldBounds(Float:x_max,Float:x_min,Float:y_max,Float:y_min)

    ShowPlayerMarkers(show)

    GameModeExit()

        SetWorldTime(hour) - BUGGED

    GetWeaponName(weaponid, const weapon[], len)

    SetGravity(Gravity)

    ResetNormalGravity()

    SetGamespeed(Gamespeed)

    ResetNormalGamespeed()

    ToggleWhiteScanlinesForAll(set)

    ToggleWhiteScanlinesForPlayer(playerid, set)

    ToggleGreenScanlinesForAll(set)

    ToggleGreenScanlinesForPlayer(playerid, set)

    ToggleWidescreenForAll(set)

    ToggleWidescreenForPlayer(playerid, set)

    SetWaterLevel(Float:L)

Admin

    IsPlayerAdmin(playerid)

    Kick(playerid)

    Ban(playerid)

Player

    SetPlayerStartPos(Float:x, Float:y, Float:z)

    SetPlayerTeam(playerid, teamid)

    SetPlayerFriendlyFire(ff)

    GetPlayerTeam(playerid)

    SetPlayerSkin(playerid, skinid)

    SetPlayerScore(playerid,score)

    GetPlayerScore(playerid)

    GetPlayerPos(playerid, &Float:x, &Float:y, &Float:z)

    SetPlayerPos(playerid, Float:x, Float:y, Float:z, Float:r, inter)

    GetPlayerHealth(playerid, &Float:health)

    SetPlayerHealth(playerid, Float:health)

    GetPlayerArmour(playerid, &Float:armour)

    SetPlayerArmour(playerid, Float:armour)

    SetPlayerWeapon(playerid, weaponid, ammo)

    PutPlayerInVehicle(playerid, vehicleid)

    RemovePlayerFromVehicle(playerid)

    IsPlayerInVehicle(playerid, vehicleid)

    IsPlayerInAnyVehicle(playerid)

    IsPlayerDriver_Passanger(playerid)

    GetPlayerName(playerid, const name[], len)

    GetPlayerVehicleID(playerid)

    SetCameraPos(Float:x, Float:y, Float:z)

    SetCameraLookAt(Float:x, Float:y, Float:z)

    TogglePlayerControllable(playerid, toggle)

    SetPlayerDrunk(playerid, visuals, handling)

    GivePlayerMoney(playerid,money)

    SetPlayerMoney(playerid,amount)

    GetPlayerFacingAngle(playerid,&Float:ang)

    GetPlayerMoney(playerid)

    ResetPlayerMoney(playerid)

    IsPlayerConnected(playerid)

    GetPlayerState(playerid)

    ResetPlayerWeapons(playerid)

    GivePlayerWeapon(playerid, weaponid, ammo)

    GetPlayerIp(playerid, const name[], len)

    GetPlayerPing(playerid)

    GetPlayerIDFromName(const name[])

    SetPlayerDriveOnWater(set)

    SetWeaponDamage(weaponid,damage)

    SetSpikes(playerid,bool)

    RemovePlayerMarker(playerid)

    SetPlayerMarker(playerid,colour)

    DisableDriveby(playerid,bool)

    PerfectHandling(bool)

    Flyingcars(bool)

    Taxiboostjump(bool)

    FastSwitch(bool)

    Jumpswitch(bool)

    Syncframelimiter(bool)

    EnableStuntBike(playerid,bool)

    EnableShootInAir(playerid,bool)

Vehicle

    DeleteVehicle (vehicleid)

    GetVehiclePos(vehicleid, &Float:x, &Float:y, &Float:z)

    SetVehiclePos(vehicleid, Float:x, Float:y, Float:z,Float:rot)

    SetVehicleHealth(vehicleid, Float:health)

    GetVehicleHealth(vehicleid, &Float:health)

    SetVehicleToRespawn(vehicleid)

    SetVehicleDoorsStatus(vehicleid,bool)

    SetVehicleTyre(vehicleid,bool)

    KillVehicleEngine(vehicleid)

    PutDirectlyInVehicle(playerid,vehicleid)

    SetVehicleAlarm(vehicleid,bool)

    SetVehicleLights(vehicleid,bool)


VCMP IRC Channel

Quote
http://en.irc2go.com/webchat/?net=GTANet&room=vc-mp

Thanks

~s~Stormeus!!!~x~


26
Snippet Showroom / Clanstats , Clan Register [ Working ] By [Me]
« on: February 05, 2014, 01:59:35 am »
For A Good WOrk Add This

Quote
#define CLAN_FILE     "/Clans/%s.ini"

Add This CMD

Quote
   if (strcmp(cmd, "clanstats", true) == 0) {
         tmp = strtok(cmdtext, idx);
   format(file, sizeof(file), CLAN_FILE, tmp);
       if(!strlen(tmp)) SendClientMessage(playerid, COLOR_GREEN, "Usage: /c clanstats [clanname]");
      else if ( !IsClanRegistered( tmp )) SendClientMessage( playerid, COLOR_RED, " Not Registered ");
else
{
new sz[222];
new clanstats;clanstats = dini_Int(file,"Kills");
format(sz,222," %s 's ClanStats [ %d ]", tmp, clanstats);
SendClientMessageToAll(COLOR_RED,sz );
}
return 1;
}
Register CLan

Quote
   else if (strcmp(cmd, "regclan", true) == 0) {
      tmp = strtok(cmdtext, idx);
       if(!strlen(tmp)) SendClientMessage(playerid, COLOR_GREEN, "Usage: /c regclan [clantags]");
     else if(IsClanRegistered(tmp)) SendClientMessage(playerid, RED, "Error: already registered!");
       else {
   format(file, sizeof(file), CLAN_FILE, tmp);
         dini_Create(file);
         dini_Set(file, "ClanTags", tmp);
         dini_Set(file, "Kills", "0");
      }
      return 1;
   }
Add Members To Clan
Quote
      else if (strcmp(cmd, "addmember", true) == 0) {
      new plr;
      new tmp2[132];
  tmp = strtok(cmdtext, idx);
  tmp2 = strtok(cmdtext, idx);
      plr = FindPlayerIDFromString(tmp);
       if(!strlen(tmp)) SendClientMessage(playerid, COLOR_GREEN, "Usage: /c addmember [membername] [clantag]");
       else if(!IsClanRegistered(tmp2)) SendClientMessage(playerid, RED, "Error: This Clan Is Not Registered!");
         else if(!IsPlayerRegistered(gPlayers[plr])) SendClientMessage(playerid,COLOR_RED," This pLayer Is Not Exist ");
     else {
     
   format(file, sizeof(file), CLAN_FILE, tmp2);
         dini_Set(file, tmp);
         
   format(file, sizeof(file), USERS_FILE, plr);
   dini_Set(file, "Clan", tmp);
      }
      return 1;
   }
In Register CMD

Quote
         Clannn = dini_Int(file, "Clan");

OnPlayerDeath

Quote
new Clan[MAX_PLAYERS];
format(file,sizeof(file), USERS_FILE, gPlayers[killerid]);
Clan[killerid] = dini_Int(file,"Clan");
ClanStats(Clan[killerid],1);

Add Public

Quote
public ClanStats(clan[],Amount)
{
   format(file, sizeof(file), CLAN_FILE, clan);
   new cash; cash = dini_Int(file, "Kills");
 dini_IntSet(file, "Kills", cash +Amount);
}

Check Is Clan Registered Or Not??

Quote
stock IsClanRegistered(clan[]) { // We need to give the full nick name.
   format(file, sizeof(file), CLAN_FILE, clan);
   return (dini_Exists(file)) ? true : false;
}

If U Liked It Rate My Post And Give Me A Big Thanks!!
Thank You!












27
ShowRoom (pawn) / JiMX Begginer Script [ Updated ] [ 2014 ]
« on: January 31, 2014, 07:20:54 pm »
Click On Generate Link!

Download

http://ziifile.com/ovhvvaj8czz5/Begginers_Script.zip.html

Features YoU Can Read In Script!

28
ShowRoom (pawn) / [ Working ] Transferstats [ GUPS ]
« on: January 30, 2014, 07:19:38 pm »
Put THis CMD

Quote
      else if (strcmp(cmd, "transferstats", true) == 0) {
      new plr, plrr, szMsg[256];
      tmp = strtok(cmdtext, idx), plr = FindPlayerIDFromString(tmp);
      plrr = FindPlayerIDFromString(tmp);
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
   ///   else if(!IsPlayerCommandLevel(playerid,"transferstats")) SendClientMessage(playerid, COLOR_RED, "You don't have access to use this command!");
      else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c transferstats [Nick/ID]");
        else if (plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"Error: Unknown player");
        else if(!IsPlayerRegistered(gPlayers[plrr])) {
         format(szMsg,sizeof(szMsg),"Error: %s is not a registered nick!",gPlayers[plrr]);
         SendClientMessageToAll(COLOR_GREEN,szMsg);
      }
      else {
      new OLDKILLS[MAX_PLAYERS];
  new OLDDEATHS[MAX_PLAYERS];
         format(file, sizeof(file), USERS_FILE, gPlayers[plr]);
   OLDKILLS[plr] = dini_Int(file, "Kills");
   OLDDEATHS[plr] = dini_Int(file, "Deaths");
   
            format(file, sizeof(file), USERS_FILE, gPlayers[plrr]);
            
       dini_Set(file, "Deaths", OLDDEATHS[playerid]);
         dini_Set(file, "Kills", OLDKILLS[playerid]);

   format(szMsg,sizeof(szMsg),"%s's stats transfered to %s.",gPlayers[plr], gPlayers[plrr]);
         SendClientMessage(playerid,COLOR_GREEN,szMsg);
      
              format(file, sizeof(file), USERS_FILE, gPlayers[plr]);
     dini_Set(file, "Deaths", "0");
         dini_Set(file, "Kills", "0");   
         
      }
      return 1;
   }

Thats All

By Me!

Working Now!!!


29
ShowRoom (pawn) / Prototyped [ Script ] [ By Me ]
« on: January 30, 2014, 06:38:11 pm »
First Of All Read The Instructions FIles

Quote
All Features List.
Info

Copy Include FOlder In Your Pawno Folder

Then The Bugs Of The VCMP Pawno Will Be Removed



Features Of Server

AuTo-ChAnGe [ GameMode Name ] By Me
Simple Food System By Me!
Auto-Message By Me
Random Vehicles IDs By Me
Random Player Team Colors By Me
Tutorials [ By Me ]
Anti-Abuse
Teleports SYstem!


Link!
http://ziifile.com/omrhmmmqb985/Dhoom_[_Prototype_].zip.html


Forum : r2xdhoom3.createaforum.com





30
Snippet Showroom / Be Right Back [ By me ]
« on: December 16, 2013, 01:21:27 am »
Hi All Add This
Note : Changelog!

Paste It On OnPlayerText
Code: [Select]
else if ( strcmp( cmd, "brb", true ) == 0 )
{
SendClientMessage(playerid,COLOR_GREEN,"You Are Away Type Back to Move Again");
 TogglePlayerControllable(playerid, 0);
return 1;
}
else if ( strcmp( cmd, "back", true ) == 0 )
{
SendClientMessage(playerid,COLOR_GREEN,"You Are Back [ Welcome Back ]");
 TogglePlayerControllable(playerid, 1);
return 1;
}
else if ( strcmp( cmd, "wb", true ) == 0 )
{
SendClientMessageToAll(COLOR_GREEN,"Welcome Back");
return 1;
}

If Liked It PM Me!

Pages: 1 [2] 3 4 ... 6