• 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 - Ettans

#91
mIRC/pawn Scripting / Re: "if" is not working.
February 04, 2010, 06:20:48 PM
The if statement is correct, you should check your DuelLos function.
#92
General Discussion / Re: Need a sever Host!!
February 02, 2010, 11:43:45 AM
I can offer you a PAWN server for 18 days. I'll give you a subaccount, so you can access it.
#93
Well, you can only add the anti-spam for commands, since return 0 doesn't work at OnPlayerText. Would be good if SetTimerEx was added.
#94
General Discussion / Re: Bandwidth
January 23, 2010, 08:05:43 PM
Quote from: Skirmant on January 23, 2010, 04:17:36 PM
Anyone know how much bandwidth server and mirc uses a month?

That's very hard to say, as the bandwidth depends on amount of players, vehicles, pickups, objects, what the player is doing at the moment and a whole lot more.
#96
General Discussion / Re: Help to the country Haiti
January 21, 2010, 02:06:00 PM
Around 500k has been gathered here (Estonia) for Haiti.
#97
General Discussion / Re: Suggestions for Version 0.4
January 21, 2010, 01:53:29 PM
Quote from: lolyustabme on August 15, 2007, 10:03:54 PM
Add a speedometer, MPH and KMH.

Speedometers can be scripter by the server owners.
#98
General Discussion / Re: Suggestions for Version 0.4
January 21, 2010, 09:08:00 AM
Textdraws would be nice.


Text:TextDrawCreate(Float:x, Float:y, text[]);
TextDrawDestroy(Text:text);
TextDrawLetterSize(Text:text, Float:x, Float:y);
TextDrawTextSize(Text:text, Float:x, Float:y);
TextDrawAlignment(Text:text, alignment);
TextDrawColor(Text:text, color);
TextDrawUseBox(Text:text, use);
TextDrawBoxColor(Text:text, color);
TextDrawSetShadow(Text:text, size);
TextDrawSetOutline(Text:text, size);
TextDrawBackgroundColor(Text:text, color);
TextDrawFont(Text:text, font);
TextDrawSetProportional(Text:text, set);
TextDrawShowForPlayer(playerid, Text:text);
TextDrawHideForPlayer(playerid, Text:text);
TextDrawShowForAll(Text:text);
TextDrawHideForAll(Text:text);
TextDrawSetString(Text:text, string[]);



TextDrawShowForPlayer(playerid, Text:text);
TextDrawShowForAll(Text:Text);
#99
Support / Re: Can't change resolution for VC-MP.
January 20, 2010, 02:43:13 PM
Oh, you're right. Disabled it and works fine now. Thanks a lot Boss. ;)
#100
Support / Can't change resolution for VC-MP.
January 20, 2010, 02:37:10 PM
Hi! Whenever I join a server, my resolution is always at 640x480x16. Although I have 1680x1050x32 set in GTA:Vice City. Any idea what could cause this?

OS: Windows 7, x32
Newest drivers for my GPU.
#101
mIRC/pawn Scripting / Re: List of Bugs with Pawno
January 20, 2010, 12:35:18 PM
Oh, the /c in-front is retarded indeed. :/

Edit: There's also a bug with SendClientMessage. If you send a message, say with red colour and then send another message with green color, the second messages color will change all texts on-screen to green.
#102
mIRC/pawn Scripting / Re: List of Bugs with Pawno
January 20, 2010, 09:55:37 AM
OnPlayerCommandText doesn't seem to be called at all, no matter what command you put there, it always returns "I don't know that command".
#103
Yeah, I guess. Thanks though. ;)
#104
Hi. Seems that the OnPlayerText doesn't recognize return 0, here's what I used:


if(cmdtext[0] == ';')
{
    for(new i = 0; i < 41; i++)
    {
        if(IsPlayerConnected(i) && GetPlayerTeam(i) == GetPlayerTeam(playerid))
        {
            newvar = FindPlayerIDFromString(tmp);
            format(tmp,sizeof(tmp),"[TEAM] %s: %s",gPlayers[newvar],cmdtext[1]);
            SendClientMessage(i,COLOR_GREEN,tmp);
        }
    }
    return 0;
}


Outputs (Wrong):
Quote
Ettans: ;message
[TEAM] Ettans: message

Whereas it should output:
Quote[TEAM] Ettans: message

Any idea what's wrong or is it VC-MP bug?
#105
mIRC/pawn Scripting / Re: [REQ] Pawno Functions on VCMP
January 19, 2010, 08:24:25 AM
Quote from: Hancock on January 16, 2010, 04:04:57 PM
Thank you thijn , its a liiittle bit not clear (Float and bool and const name funcname[], interval, repeating len) xD


I assume the last part is about SetTimer. If so:


SetTimer("HelloWorld",5000,1); // Ran every 5000ms/5 seconds, repeating (1)

public HelloWorld()
{
   //do something
}


If you need any more examples, let me know.