Recent Posts

Pages: 1 [2] 3 4 5
11
Ingame Stuff / Server News
« Last post by (R2x)spider on February 04, 2013, 06:52:51 pm »
500 cmds
10 systems
roleplay
RPG
Megawar
Moro
Xe
Little Withey
Racing
and much more

if you like server anything post a topic here
12
Government / Government Head
« Last post by (R2x)spider on February 04, 2013, 06:24:24 pm »
Username Government
Friend of Spider
private identity
1 friend
good government
no more info availaible
13
Government / (R2x)rules
« Last post by (R2x)spider on February 04, 2013, 06:16:52 pm »
no spam
no abuse
no insult
no .... content
no death-evade
no ban-evade
no admin abuse
no cmd abuse

thats all
14
Government / Government Format Apply
« Last post by (R2x)spider on February 04, 2013, 06:13:55 pm »
news Government appeal is availaible for 5 month hurry
format

name
time play in server
reason to be government 
english skills worst/bad/good/better/best
scripting skills worst/bad/good/better/best
ingame name

read rules
15
We The Peoples / (R2x)Spider
« Last post by (R2x)spider on February 04, 2013, 06:10:19 pm »
Admin And Creator Of Server
killed peoples 952167
deaths 7352
cuffed 826
uncuff 56
jail 9982
unjail 124
scripting skills pro
clan (R2x)
16
We The Peoples / Format Rules
« Last post by (R2x)spider on February 04, 2013, 06:07:57 pm »
1 dont spam
2 dont abuse
3 dont insult
4 no .... content
5 no insult others
6 no wrong names]

note
post your features
if you are scripter

note 2
post your good things with snaps
17
Photos And Videos / (R2x)Clan
« Last post by (R2x)spider on February 04, 2013, 03:23:23 pm »
18
Clans / (R2x)Clan
« Last post by (R2x)spider on February 03, 2013, 05:52:53 pm »
Our CLan
R2X
members 28
admins 7
fighters 2
vips 0
government 1
site forum www.pakvcmpblogs.smfnew.com
clan
clanr2x.smfnew.com

try it
19
Scripting Help / plantbomb system by moby
« Last post by (R2x)spider on February 03, 2013, 05:49:27 pm »
Plant Bomb System



Work 120% ! I tested it .

[FilterScript] Plant Bomb System:  Download

I made this for shaeel ahmed.

But you can take it 

Put this on your gm top:

Code: [Select]
new HaveBomb[MAX_PLAYERS];
new BombPlanted[MAX_VEHICLES];

OnPlayerDisconnect:

Code: [Select]
HaveBomb[playerid] = 0;

This on public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger) :

Code: [Select]
if(BombPlanted[vehicleid] == 1) {
                SendClientMessage(playerid,0xAA3333AA,"In this vehicle is a bomb planted ! You can't escape !");
                SetVehicleHealth(vehicleid,0);
                PutDirectlyInVehicle(playerid,vehicleid); // it keeps you in the car
                BombPlanted[vehicleid] = 0;
                }

Now, the commands :

Code: [Select]
else if(strcmp(cmd, "buybomb", true) == 0) {
new cash = GetPlayerMoney(playerid);
if(HaveBomb[playerid] == 1) {
    SendClientMessage(playerid,0xAA3333AA,"Already have a bomb !");
    }
if(HaveBomb[playerid] == 0) {
if(cash >= 3000) {
    SetPlayerMoney(playerid,cash - 3000);
    HaveBomb[playerid] = 1;
    SendClientMessage(playerid,0xFFFFFFAA,"You bought a bomb that has cost you $ 3,000");
    }
if(cash < 3000) {
    SendClientMessage(playerid,0xAA3333AA,"You do not have enough money to buy a bomb, need $ 3,000");
    }
    }
return 1;
}
else if(strcmp(cmd, "plantbomb", true) == 0) {
    if(IsPlayerInAnyVehicle(playerid)) {
new vehicleid = GetPlayerVehicleID(playerid);
        if(HaveBomb[playerid] == 1) {
            if(BombPlanted[vehicleid] == 1) {
                SendClientMessage(playerid,0xAA3333AA,"In this car is already planted a bomb !");
                }
if(BombPlanted[vehicleid] == 0) {
BombPlanted[vehicleid] = 1;
RemovePlayerFromVehicle(playerid);
HaveBomb[playerid] = 0;
SendClientMessage(playerid,0xFFFFFFAA,"The bomb was planted successfully");
SendClientMessage(playerid,0xFFFFFFAA,"The next player to enter the car as a driver will be stuck in the car and the bomb will be detonated!");
}
}
else {
    SendClientMessage(playerid,0xAA3333AA,"You must first buy a bomb !");
    }
}
else {
    SendClientMessage(playerid,0xAA3333AA,"You need to be in a vehicle !");
    }
return 1;
}

Have Fun !
20
Scripting Help / Irc For Pawn
« Last post by (R2x)spider on February 03, 2013, 05:47:17 pm »
Pawn Supporting Application
PSA is an external application, extending Pawn's functionality. It communicates with Pawn through text files, allowing PSA to perform a variety of actions normally unavaliable in Pawn. You can think of PSA as a plugin, only external.

Currently it allows to make a fully-functional IRC echo and SQL data storage.


Download
http://www.solidfiles.com/d/87f0d177fe/  (by seebby)

The archive includes:
1)readme.txt - help.
2) psa.exe - PSA executable.
3) psa.cfg - PSA configuration.
4) echo.pwn - Blank script.
5) MySQL.dll - MySQL library.

Installation
1. Put the appropriate functions in your script. You can either take them from psa.pwn, base your script on psa.pwn or use psa.pwn as a filterscript.
Here are the key Pawn functions:
* PPSAtimer() // PSA timer for reading things from files.
* SetTimer("PSAtimer",100,1) // PSA timer activation.
* SendToIRC(str[]) // PSA function for sending things to IRC.
* PerformSQLquery(str[]) // PSA function for performing queries (which do not return values).
* PerformSQLquerySelect(qid[], str[]) // PSA function for performing "select" queries.
* OnQueryResult(qid[], str[]) // PSA event which gets called when "select" query returned a value. qid is the one you specified for PerformSQLquerySelect.
2. Put psa.exe, psa.cfg and MySql.Data.dll in your server's root dir (where your vcmp-svr.exe is).
3. Edit psa.cfg with your IRC/SQL settings.
4. Launch psa.exe.

Known issues
1. Requires .NET Framework 3.0 on the server machine to run.
2. As a consequence of the above, works with Windows server only.
3. IRC's quit message (if you close psa.exe) is "connection reset by peer".

Feedback
If you have questions/suggestions, post them here.

Version History
=== 0.20 === 24.04.10
Features:
1) Performing SQL queries.
2) Required framework version is now 3.0 (instead of 3.5).
Fixes:
1) Fixed high CPU usage.

=== 0.10 === 09.02.10
Features:
1) Sending messages to IRC.
2) Receiving messages from IRC.
Pages: 1 [2] 3 4 5