Vice City Multiplayer
September 30, 2020, 07:13:36 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: VC:MP 0.3z r2 is released! http://vicecitymultiplayer.com
 
  Home Help Search Members Login Register  
  Show Posts
Pages: [1] 2 3 ... 9
1  Official Servers / XE Servers (NEW) / Re: Why do people like XE so much? on: April 11, 2011, 03:16:36 am
I don't get the chaotic gameplay... the only good thing about the gameplay is the fact that there are 12 million people there. What I don't get is why they come to begin with...
2  VC:MP / ShowRoom (pawn) / Re: Some usefull functions on: April 07, 2011, 10:11:45 pm
Ban for idle!?!?! I can understand kick, but ban?!?!?!
3  VC:MP / ShowRoom (pawn) / Re: Property System (With /c addprop) on: April 07, 2011, 10:11:04 pm
I included the original Unmodified GUPS code at the top of my post.
4  VC:MP / ShowRoom (pawn) / Re: Some usefull functions on: April 07, 2011, 02:55:26 am
Why don't you only use one and then just use GetPlayerPos? I did that for an idle script and it works fine.
5  VC:MP / ShowRoom (pawn) / Re: Simple Jail System By Moby (me) ! on: April 06, 2011, 05:46:45 pm
For argo jail system
Code:
enum pInfo
{
    jail,
    cop
}
new PlayerInfo[MAX_PLAYERS][pInfo];
new gPlayers[MAX_PLAYERS][MAX_PLAYER_NAME+1];

Code:
OnPlayerConnect(playerid)
{
    GetPlayerName(playerid,gPlayers[playerid],MAX_PLAYER_NAME);
}
Code:
OnPlayerCommandText(playerid,cmdtext[])
{
    new cmd[256],tmp[256],idx;
    cmd = strtok(cmdtext,idx);
    if (strcmp(cmd, "cop", true) == 0) {
        if(PlayerInfo[playerid][jail] != 0) SendClientMessage(playerid,COLOR,"You cannot become a cop from jail");
        else {
             new szMsg[256];
             format(szMsg,sizeof(szMsg),"%s has joined VCPD",gPlayers[playerid]);
             SendClientMessageToAll(COLOR_GREEN,szMsg);
             PlayerInfo[playerid][cop] = 1;
        }
        return 1;
    }
    else if (strcmp(cmd, "jail", true) == 0) {
        tmp = strtok(cmdtext,idx);
        new plr;
        plr = FindPlayerIDFromString(tmp);
        if(!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"Use /c jail <Nick/ID>");
        else if(plr == INACTIVE_PLAYER_ID) SendClientMessage(playerid,COLOR,"Unknown player");
        else if(PlayerInfop[playerid][cop] != 1) SendClientMessage(playerid,COLOR_GREEN,"Only cops can jail");
        else {
            PlayerInfo[plr][jail] = 1;
            SendClientMessage(plr,COLOR_GREEN,"You have been jailed");
        }
        return 1;
    }
    else if (strcmp(cmd, "unjail", true) == 0) {
        tmp = strtok(cmdtext,idx);
        new plr;
        plr = FindPlayerIDFromString(tmp);
        if(!strlen(tmp)) SendClientMessage(playerid,COLOR_GREEN,"Use /c jail <Nick/ID>");
        else if(plr == INACTIVE_PLAYER_ID) SendClientMEssage(playerid,COLOR,"Unknown player");
        else if(PlayerInfo[playerid][cop] != 1) SendClientMessage(playerid,COLOR_GREEN,"Only cops can unjail");
        else {
            PlayerInfo[plr][jail] = 0;
            SendClientMessage(plr,COLOR_GREEN,"You have been unjailed");
        }
        return 1;
}

Code:
OnGameModInit()
{
    SetTimer(jailsystem,1000,true);
}

Code:
public jailsystem()
{
    for(new i = 0; i <= MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i) == 1 && GetDistance(playerid,387.45043945,-504.51019287,9.39638042) > 5 && PlayerInfo[playerid][jail] == 1) SetPlayerPos(i,387.45043945,-504.51019287,9.39638042,0,0);
}
6  VC:MP / mIRC/pawn Scripting / Re: Help /c freeze all on: April 06, 2011, 04:51:10 am
I am talking about cookies.

**
basically what i said was if u do what he did then it only works for so many players, and, it makes ur server go slower then the other way
7  VC:MP / mIRC/pawn Scripting / Re: Drop money pickup on player dead ?? (pawno)! on: April 05, 2011, 08:27:43 pm
Because I look at them and I cry (don't understand them.)
Plus pawn pwns, it even sounds like pwn  ):
8  VC:MP / mIRC/pawn Scripting / Where can I find the mIRC .dll? on: April 04, 2011, 04:26:46 pm
Hello, I've seen a lot of discussion on pawn forums about including mIRC with this dll. I don't know where I can find it, as every download I've seen is for the entire mIRC server.
9  VC:MP / mIRC/pawn Scripting / Re: Drop money pickup on player dead ?? (pawno)! on: April 04, 2011, 04:23:50 pm
Squirrel and mIRC make me sad  ):
10  VC:MP / mIRC/pawn Scripting / Re: Help!! Anti hack Jp and Hyper in trainer 2012 on: April 04, 2011, 04:22:42 pm
You can just set a looping timer to detect speed (see a speedometer release)
if the speed goes too fast then they're hacking.
11  VC:MP / ShowRoom (pawn) / Re: Way around: SetTimerEx. on: April 04, 2011, 04:20:55 pm
We may be dumb but we aren't stupid!
12  VC:MP / mIRC/pawn Scripting / Re: [Pawn]SetTime on: April 04, 2011, 04:19:33 pm
I still say we should all start a riot and demand pawn bug fixes.
13  VC:MP / mIRC/pawn Scripting / Re: Pawn SUX!! on: April 04, 2011, 04:18:27 pm
Hehe, admit it. Pawn functions suck but pawn scripters KICK ASS.
14  VC:MP / mIRC/pawn Scripting / Re: Anti-Speed hack on: April 04, 2011, 04:15:12 pm
Just be sure that whenever you use SetPlayerPos, that it will read the player as having very high speed, therefor you may need to add something to set it where, during teles and spawn the player will be excluded from the check.
15  VC:MP / ShowRoom (pawn) / Re: Some usefull functions on: April 04, 2011, 04:12:00 pm
Code:
OnPlayerEnterVehicle(playerid,vehicleid)
{
    new szMsg[256];
    format(szMsg,sizeof(szMsg),"You entered a %s",Model(CarInfo[vehicleid][model]));
}
Pages: [1] 2 3 ... 9
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!