SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 111
Search took 0.00 seconds.
Search: Posts Made By: Daslee
Forum: Plugin Development 15/06/2015, 02:05 PM
Replies: 2
Views: 1,088
Posted By Daslee
Re: Help with plugin development in linux

Now it compiles after I defined LINUX (actually it also required -m32 flag when compiling). But when server tries to load plugin, it says this:

[16:58:39]
[16:58:39] Server Plugins
[16:58:39]...
Forum: Plugin Development 15/06/2015, 09:32 AM
Replies: 2
Views: 1,088
Posted By Daslee
Help with plugin development in linux

Hello guys. Where I can find tutorial about plugin development in linux? I've tried to create simple plugin by looking at this tutorial: http://forum.sa-mp.com/showthread.php?t=253436 but it won't...
Forum: Plugin Development 28/02/2013, 06:43 PM
Replies: 5,551
[Plugin] Streamer Plugin
Views: 3,269,065
Posted By Daslee
Re: [REL] Streamer Plugin v2.6.1

How I can attach object to player?
Forum: Scripting Help 27/02/2013, 05:05 PM
Replies: 0
Views: 423
Posted By Daslee
How does those objects can be changed?

How does those objects can be changed?

http://img547.imageshack.us/img547/4821/molas.png

I tried with RemoveBuildingForPlayer, but it's one object, all doors, walls and etc are in one object.
Forum: Scripting Help 26/02/2013, 10:41 AM
Replies: 4
Views: 1,716
Posted By Daslee
Re: can set player ammo

No, it works, at least for me.
Forum: Plugin Development 22/02/2013, 09:11 PM
Replies: 945
Views: 124,001
Posted By Daslee
Re: [DP] Project Shoebill Milestone2 - SA-MP Java Development Kit - SNAPSHOT

Omg, I just accidentally ******d "samp java" and found this forum thread... Damn, I never thought that I could code samp server in Java. I actually hate pawn language, but when I didn't knew about...
Forum: Scripting Help 22/02/2013, 11:14 AM
Replies: 4
Views: 1,716
Posted By Daslee
Re: can set player ammo

Damn, I am enabled "Function parameters hint on input", and there was weaponslot second parameter as hint, but now I see that it's wrong. Thanks for help! :)
Forum: Scripting Help 21/02/2013, 09:56 PM
Replies: 4
Views: 1,716
Posted By Daslee
can set player ammo

So I'm using this code:
ammo = GetPlayerAmmo(playerid);
amount = 100;
new total = ammo - amount;
SetPlayerAmmo(playerid, GetWeaponSlot(playerid, GetPlayerWeapon(playerid)), total);

And why I...
Forum: General 19/02/2013, 07:49 PM
Replies: 2
Views: 944
Posted By Daslee
Re: Objects ID

Thanks.
Forum: Scripting Help 19/02/2013, 01:34 PM
Replies: 2
Views: 1,745
Posted By Daslee
Re: atan2 rotation angle between 2 points

Yes, I'm getting tag mismatch error on line:
return angle;





Already read this, but can't find solution for my problem. Even in that topic u gave, he getting 0-360 angle, and I'm getting in...
Forum: Scripting Help 19/02/2013, 01:20 PM
Replies: 2
Views: 1,745
Posted By Daslee
atan2 rotation angle between 2 points

How I can get rotation angle in degrees in pawn using atan2? I tried this:
forward getAngleBetween(Float:x1, Float:y1, Float:x2, Float:y2);
public getAngleBetween(Float:x1, Float:y1, Float:x2,...
Forum: General 19/02/2013, 09:30 AM
Replies: 2
Views: 944
Posted By Daslee
Objects ID

What are those objects ids?

http://img703.imageshack.us/img703/3705/30380241.png
http://img839.imageshack.us/img839/5784/98700304.png
Forum: Scripting Help 17/02/2013, 07:26 PM
Replies: 6
Views: 838
Posted By Daslee
Re: Can't find tag mismatch

You mean this:
new Float:Labels3D[2000][3];
To:
new Float:Labels3D[2000][Float:3];

?
Forum: Scripting Help 16/02/2013, 08:56 PM
Replies: 2
Views: 938
Posted By Daslee
Re: Disable key press

Oh, thanks. :)
Forum: Scripting Help 16/02/2013, 08:14 PM
Replies: 2
Views: 938
Posted By Daslee
Disable key press

Hello. Is there are any way to disable key press for player? For example player driving with a car, and disable him to press accelerate key, so car slows down, like W key released.
Forum: Scripting Help 13/02/2013, 02:13 PM
Replies: 6
Views: 838
Posted By Daslee
Re: Can't find tag mismatch

I tried this also, so I got same warning on those lines:
Labels3D[tmp][0]=x; Labels3D[tmp][1]=y; Labels3D[tmp][2]=z;
return tmp;
Forum: Scripting Help 13/02/2013, 12:59 PM
Replies: 6
Views: 838
Posted By Daslee
Re: Can't find tag mismatch

But still getting that warning even without "Float:"...
Forum: Scripting Help 13/02/2013, 12:17 PM
Replies: 6
Views: 838
Posted By Daslee
Can't find tag mismatch

Hello. So I created new stock called Create3DTextLabelA, it's exactly same as Create3DTextLabel, just my stock saves label position in array. And I got tag mismatch warning, but can't find where it...
Forum: Scripting Help 11/12/2012, 10:13 AM
Replies: 6
Views: 788
Posted By Daslee
Re: Weird problem

Can you give me your skype? Because I often turning server off, so I can tell you when I start server.
Forum: Scripting Help 11/12/2012, 10:05 AM
Replies: 6
Views: 788
Posted By Daslee
Re: Weird problem

I do not know what is "ped" style, so if I do not know, I think that I didn't changed anything with it. It looks like players are afk, because they can't be killed and they're not moving if they're...
Forum: Scripting Help 11/12/2012, 09:50 AM
Replies: 6
Views: 788
Posted By Daslee
Weird problem

Hello. I was testing my server and found weird problem, players are not moving. I connected to my server with 2 samp's from different computers (but same ip), and then I noticed, if I'm too far from...
Forum: Scripting Help 10/12/2012, 06:30 PM
Replies: 3
Views: 1,080
Posted By Daslee
Re: Weapon data after death

I know that this code goes to OnPlayerSpawn:
// Give them and reset variables
for (new i = 0; i < 13; i++)
{
if(weaponsbeforedie[0][i] > 0 && weaponsbeforedie[1][i] > 0)
...
Forum: Scripting Help 10/12/2012, 05:21 PM
Replies: 3
Views: 1,080
Posted By Daslee
Weapon data after death

Hello. I trying to make script that gets players weapons data on player death and on player spawn give him his weapons which was before death. But now when I try to get weapons in OnPlayerDeath...
Forum: Scripting Help 19/07/2012, 12:39 PM
Replies: 4
Views: 799
Posted By Daslee
Re: Textdraws problem

No more suggestions? :// (Sry for doubleposting.)
Forum: Scripting Help 17/07/2012, 11:06 AM
Replies: 4
Views: 799
Posted By Daslee
Re: Textdraws problem

Thanks, but this didn't helped me. Also i forgot to say, that there is also rendering another text "Rida: %.2fKm" This one works good, doesn't disappears like speed. :/
Showing results 1 to 25 of 111

 

All times are GMT. The time now is 03:42 PM.


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