• Welcome to Vice City Multiplayer.
 
Menu

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.

Show posts Menu

Messages - Robd

#1
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
ShowRoom (pawn) / Re: Some usefull functions
April 07, 2011, 11:11:45 PM
Ban for idle!?!?! I can understand kick, but ban?!?!?!
#3
I included the original Unmodified GUPS code at the top of my post.
#4
ShowRoom (pawn) / Re: Some usefull functions
April 07, 2011, 03: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
For argo jail system
enum pInfo
{
   jail,
   cop
}
new PlayerInfo[MAX_PLAYERS][pInfo];
new gPlayers[MAX_PLAYERS][MAX_PLAYER_NAME+1];


OnPlayerConnect(playerid)
{
   GetPlayerName(playerid,gPlayers[playerid],MAX_PLAYER_NAME);
}

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;
}


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



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
mIRC/pawn Scripting / Re: Help /c freeze all
April 06, 2011, 05: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
Because I look at them and I cry (don't understand them.)
Plus pawn pwns, it even sounds like pwn  ):
#8
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
Squirrel and mIRC make me sad  ):
#10
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
ShowRoom (pawn) / Re: Way around: SetTimerEx.
April 04, 2011, 05:20:55 PM
We may be dumb but we aren't stupid!
#12
mIRC/pawn Scripting / Re: [Pawn]SetTime
April 04, 2011, 05:19:33 PM
I still say we should all start a riot and demand pawn bug fixes.
#13
mIRC/pawn Scripting / Re: Pawn SUX!!
April 04, 2011, 05:18:27 PM
Hehe, admit it. Pawn functions suck but pawn scripters KICK ASS.
#14
mIRC/pawn Scripting / Re: Anti-Speed hack
April 04, 2011, 05: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
ShowRoom (pawn) / Re: Some usefull functions
April 04, 2011, 05:12:00 PM
OnPlayerEnterVehicle(playerid,vehicleid)
{
   new szMsg[256];
   format(szMsg,sizeof(szMsg),"You entered a %s",Model(CarInfo[vehicleid][model]));
}