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.

Messages - habi
1
Client Updates / Re: Client Update for 0.4.6 Released (2020-12-24)
« on December 25th, 2020, 02:22 AM »
Merry Christmas
2
Script Showroom / [GAMEMODE] Re: DeathMatch v1.1
« on December 23rd, 2020, 08:51 AM »
You may not pass 'player' to functions.

GetInfo(player) change to GetInfo(player. ID)

because by the time it reaches function,  the player might disconnected and error happens
3
Tutorials / [Windows] Re: Writing a C++ plugin
« on December 7th, 2020, 01:49 PM »
Now it is clear.

pluginFuncs = globalFuncs;

Put it reverse like
globalFuncs =pluginFuncs
5
Vehicle Showroom / Re: Hoverboard( Back to he the Future)
« on November 25th, 2020, 01:13 PM »
cool !
6
Support / Re: Question about player's marker
« on November 25th, 2020, 12:52 PM »
Quote from Kenneth Law on November 25th, 2020, 04:45 AM
How to make the marker of a specific player visible for just part of players? Note that NEITHER FOR NONE OF PLAYERS NOR FOR ALL PLAYERS. Something like
Code: [Select]
player.RemoveMarker()
or
Code: [Select]
player.IsOnRadar = false
can only hide the marker for all which is not what I want. I know changing their world helps but I want them to be in one world.
Also, I am not talking about the function
Code: [Select]
SetShowOnlyTeamMarkers(true)
. Let's just talk about the situation that players are grouped into two teams which are separately A and B, and I want to make A visible for B while B invisible for A.
See how he has nicely explained to us about it...
7
Support / Re: can't connect to any server
« on November 19th, 2020, 02:20 PM »
the vcmp browser is not able to run gta-vc.exe.

Restart your computer or try reinstalling vice city..
8
Snippet Showroom / Re: Basic Near Player Chat For RP Servers
« on November 12th, 2020, 03:52 PM »
perfect..

because
1. onplayerjoin setting array false
2. onplayerchat returning false
3. well informed messages

9
Community Plugins / Re: Lua Plugin
« on November 5th, 2020, 05:37 PM »
why.. don't know if anyone script in lua.

appreciate your efforts
10
General Discussion / Re: R2 Features
« on October 28th, 2020, 01:53 PM »
let me try. may be hooking direct input with some dll or something.
11
Script and Content Requests / Re: Server Problem Fix it.
« on October 26th, 2020, 12:53 PM »
Quote from kalee_khan on October 24th, 2020, 03:21 PM
Hello Everyone, ;D
I just want some help.
I port Forwaded my server butit Don't seem on Master List.So I Can Only add it to favourite.
And if it the problem of hosting plz help me and can you host it for free and if have your own website.
then can you host it.Plz help me.
Anyway i own a vps. lets give a try. you can pm me
12
General Discussion / Re: R2 Features
« on October 25th, 2020, 11:47 AM »
If i make an executable file, will you guys distribute to all players?
13
Community Plugins / Re: logfile maker
« on October 21st, 2020, 03:18 PM »
fixed server crashing when more than 2000 print lines on console.
Quote from Anish87 on October 21st, 2020, 03:33 AM
Nice work! Amazing people like always, but can you make one for Linux as well?
mm. let us see
14
Community Plugins / Re: logfile maker
« on October 19th, 2020, 06:00 PM »
Update:

WIll automatically write the logs. ( at regular intervals )

Source
SQMain.cpp the function foo
15
Community Plugins / logfile maker
« on October 19th, 2020, 03:48 PM »
Hi guys, vc-mp server already makes logfile named server_log.txt. But in some cases, like closing server via x button it is reported that log files are not written.

So this plugin will write 'whatever is on screen' to 'logfile.txt'

Platform: Windows       Language: Squirrel

Just call the function 'export' followed by paranthesis. eg. export()  and you can see a new logfile in your folder.

Each time you call the function, the logfiles are fresh written.

Downloads

logfile32.dll
logfile64.dll





Source code c++
SQFuncs.cpp