SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 22 of 22
Search took 0.00 seconds.
Search: Posts Made By: xyyy018
Forum: Plugin Development 07/04/2016, 03:07 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Forum: Plugin Development 05/04/2016, 02:53 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

No, no, no.
I get this only when I trying to using EntityFramework with SampSharp.
Is any way to use EF with this plugin?
Forum: Plugin Development 04/04/2016, 02:13 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

Any way to use EntityFramework? I very like it

Actually I get


After download and add MonoPosixHelper (I find only old version)
Forum: Plugin Development 03/04/2016, 05:21 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Forum: Plugin Development 11/03/2016, 03:25 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

New streamer not work for me (I have Microsoft Visual C++ 2015 Redistributable Package) but I use this (https://mega.nz/#!YctQjCAD!Q6UheML3mLs4ge5BtB73K0aoJ7PSFsZsfkbyDn5nzn0) streamer version and...
Forum: Plugin Development 11/03/2016, 11:12 AM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

Okay, I have problem with streamer.
I have this code

DynamicRaceCheckpoint dc = new DynamicRaceCheckpoint(CheckpointType.Normal, new Vector3(rCP[i].X, rCP[i].Y, rCP[i].Z), new Vector3(rCP[i +...
Forum: Plugin Development 06/03/2016, 01:39 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

I find bug.
If you put player in vehicle using method PutInVehicle, Vehicle driver is null
How to destroy vehicle?
Forum: Plugin Development 05/03/2016, 11:42 AM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

How I can change "Detected mono version: <number>", "Loaded <number> commands" and "Number of vehicles model: <number>" text in console?

Any callback to block commands for player? I try this
...
Forum: Plugin Development 04/03/2016, 05:29 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

Okay, I have simple problem.
How I can create GangZone/Area, set range (minX, maxX, minY, maxY), color and detect when player leave this zone? I tried used StreamerWrapper, but I don't find...
Forum: Plugin Development 03/03/2016, 02:31 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

#fail
I fix him by add in OnTakeDamage

if (e.OtherPlayer != null && e != null)

And him in OnDeath
if(e.Killer != null)

Sorry for the hassle and thanks
Forum: Plugin Development 02/03/2016, 08:46 AM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

How to fix OnDeath & OnTakeDamage stacks?
Forum: Plugin Development 27/02/2016, 11:05 AM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

I put it for example to show that in other cases, the stack provides more information. There is no longer an error. I did it on purpose. The problem with OnDeath and still OnTakeDamage
Forum: Plugin Development 26/02/2016, 03:32 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

I have debug symbols and I replace GtaPlayerController with my PlayerController but this stack has not changed

It looks like another stack (for example)

And in GameMode.cs (main file) I have...
Forum: Plugin Development 26/02/2016, 12:00 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

I can compile this plugin for Linux using Cygwin?
Forum: Plugin Development 25/02/2016, 09:51 AM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

Okay, you can tell me, why when I get damage my script crash?
Stack

But I check in OnTakeDamage

base.OnTakeDamage(e); //here
if (e.OtherPlayer.Id != InvalidId)
{
...
Forum: Plugin Development 24/02/2016, 09:48 AM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

How create timer for player?
Forum: Plugin Development 21/02/2016, 06:39 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

I try this and it no help me
Forum: Plugin Development 21/02/2016, 04:52 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

Okay. I try use NHibernate

GameMode.cs

using(ISession session = DbSession.OpenSession())
{
session.Save(new PlayerM { Nick = "Test", Password = "Test123" });
...
Forum: Plugin Development 20/02/2016, 11:49 AM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

Great!
How to create Player class based on GtaPlayer?
I try...
http://pastebin.com/N3kCjktM
Forum: Plugin Development 19/02/2016, 02:37 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

Any tutorial how to compile this plugin for Linux?
You can add FCNPC to this? I can use EntityFramework? (Migrations, Codefirst etc.)
Thanks for answers!
Forum: Plugin Development 19/02/2016, 02:11 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

What is the difference in speed between the PAWN script and the script in C#?
Forum: Plugin Development 19/02/2016, 02:01 PM
Replies: 379
Views: 55,745
Posted By xyyy018
Re: SampSharp - Write gamemodes in .NET

This plugin support new SA-MP functions? (Actors etc.)
I can run script in C# on Linux?
Showing results 1 to 22 of 22

 

All times are GMT. The time now is 06:29 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.