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 - Pun1sh3r

#16
I have few Problems with the new Update, first I get sometimes kicked on Windows Server for reason Weapon aquire 1 which never happend with Version 30 (on Version 32 I have Brass Knuckles as Weapon and I get kicked) and second Bug, if there are two Players on Server then OnPlayerPart is not called in Server Log it shows: Disconnecting player 'XXX' at ID 0, sent quit packet with reason 1. but then nothing happends and Player is standing around and on Scoreboard it shows on that Player Ping -1, he is still connected but cannot be kicked/banned and if you try to reconnect it says "Nickname is already in use"

In Server Log: (Version 30)
Disconnecting player 'XXX' at ID 0, sent quit packet with reason 1.
Player 'XXX' ID 0 disconnected.

In Server Log: (Version 32)
Disconnecting player 'XXX' at ID 0, sent quit packet with reason 1.

Can anyone confirm it?
#17
Can you provide me a example code?
#18
 I tried to create a GUI Text which should be Center but it does nothing? Also tried the rest which is written in the Wiki Page

QuoteFooterText = GUILabel( );
            FooterText.Pos = VectorScreen( sX/7, sY-(sY/28) );
       FooterText.TextAlignment = GUI_ALIGN_CENTER;
            FooterText.FontSize = 20;
            FooterText.TextColour = Colour( 255, 255, 255 );
            FooterText.FontFlags = GUI_FFLAG_BOLD;
            FooterText.Text = FooterString;

QuoteProperty TextAlignment

Type: int

Sets the alignment of text. Available constants are:

GUI_ALIGN_LEFT
GUI_ALIGN_RIGHT
GUI_ALIGN_TOP
GUI_ALIGN_BOTTOM
GUI_ALIGN_CENTERV
GUI_ALIGN_CENTERH
GUI_ALIGN_CENTER

Anything wrong with my Code?
#19
Merry Christmas and thanks for the Update!
#20
Good to see new Updates, very good!
#21
This Script was only working with Textdraws and since it's removed and replaced with GUI's this Script doesnt work anymore.
Maybe I will update it someday when I have again free time, but for now I will lock this.
#22
General Discussion / Re: VCMP wiki is down
Mar 01, 2020, 05:57 PM
Also Downloads for Client Update is Offline, installed my Game new and tried to connect on a Server but i'm stuck cause the Update wont load, anyone knows when it's up again?
#23
Snippet Showroom / Re: Player state?
Nov 23, 2018, 09:12 PM
Your Player States are wrong, atleast 2. It should be "Player State: Aim" not "Player State: OnFire"

I have found this in Stormeus Squirrel Plugin in file VCMP.h can be found here: https://bitbucket.org/stormeus/0.4-squirrel/src/3303346a7f41f99bb33e7bd3d840a7155d8bcf86/VCMP.h?at=master&fileviewer=file-view-default

Quotetypedef enum {
   vcmpPlayerStateNone = 0,
   vcmpPlayerStateNormal = 1,
   vcmpPlayerStateAim = 2,
   vcmpPlayerStateDriver = 3,
   vcmpPlayerStatePassenger = 4,
   vcmpPlayerStateEnterDriver = 5,
   vcmpPlayerStateEnterPassenger = 6,
   vcmpPlayerStateExit = 7,
   vcmpPlayerStateUnspawned = 8,
   forceSizeVcmpPlayerState = INT32_MAX
} vcmpPlayerState;

I have updated the Player state in VC:MP Wiki months ago, can be checked here:
http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.State
#24
Community Plugins / Re: Console Input Plugin
May 22, 2016, 12:21 PM
#25
Community Plugins / Re: Console Input Plugin
May 09, 2016, 07:58 PM
I have a Error while loading your Plugin.

Error Message: Plugin error >> GetProcAddress() 'plugins/cmdinputrel64.dll' failed: Code 127 Failed to loag plugin: cmdinputrel64
#26
Quote from: ysc3839 on May 03, 2016, 09:47 AMTry this.
local veh = CreateVehicle
Stats[player.ID].Vehicle = veh.ID;
player.Vehicle = veh;

Thanks, atleast the Vehicle gets deleted now but somehow I cant enter the Vehicle?
Client Debug Message tells me "[VEHICLE] Denied enter: vehicle 1, dat 15, flag 1, obj 18, err 70"
cant enter the Vehicle with using button F or player.Vehicle function.
#27
Quote from: maxorator on May 01, 2016, 08:55 PM
Quote from: Pun1sh3r on May 01, 2016, 06:32 PMVehicle.ID is not working on Server side, does anyone know why?
There's this IRC channel which has good explanations for various keywords. For example doesn't work has the following explanation:
Quoteuseless. Tell us what it is, what you want it to do, and what it is doing. Consider showing some code and any errors.

My Code:
player.Vehicle = CreateVehicle(vID, 0, player.Pos.x, player.Pos.y, player.Pos.z+2, player.Angle, random(0, 94), random (0, 94));
Stats[player.ID].Vehicle = player.Vehicle.ID;//This is needed to store the Vehicle ID so the Vehicle can be deleted at disconnect or if player spawns a new Vehicle

I have tested it with removing the "player.Vehicle.ID" and set some random number instead of the Vehicle ID and it was working but I need the vehicle.ID

Error:
AN ERROR HAS OCCURED [the index 'ID' does not exist]

CALLSTACK
*FUNCTION [CarSpawner()] scripts/Main.nut line [443]
*FUNCTION [onPlayerCommand()] scripts/Main.nut line [388]

LOCALS
[vID] 141
[player] INSTANCE
[this] TABLE
[dbHandle] USERPOINTER
[idx] 141
[text] "inf"
[cmd] "v"
[arguments] "inf"
[command] "v"
[player] INSTANCE
[this] TABLE

Exact the same code above was working fine in 003, since 004 it doesnt work anymore.
#28
Vehicle.ID is not working on Server side, does anyone know why?
#29
Quote from: MacTavish on Apr 18, 2016, 08:01 PMwithout collisions let me know if you need the collisions :)

ported with zmodeler


Sorry for the late answer, was busy the last few days...
Awesome! Thanks for your Help, it works fine!
#30
Quote from: vito on Apr 18, 2016, 07:37 PMDo export using same "IMGTool 2.0" from this mod http://www.moddb.com/mods/san-andreas-in-vice-city/downloads/san-andreas-in-vice-city-01f (install in on clean copy of vice city)

I exported the Objects from SA:MP Custom Objects, they are not from SA