SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 17/05/2014, 01:09 AM   #21
CyNiC
High-roller
 
Join Date: Jan 2009
Location: Brazil
Posts: 1,417
Reputation: 200
Default Re: YSF - kurta999's version

Thank's. Seem's good, if needed I'll give some feedback.

PS:
Code:
C:\Users\ALLANJ~1\DOCUME~1\BLASTO~1\hom\pawno\include\YSF.inc(9) : error 025: function heading differs from prototype
C:\Users\ALLANJ~1\DOCUME~1\BLASTO~1\hom\pawno\include\YSF.inc(9) : error 025: function heading differs from prototype
Code:
native frename(const oldname[], const newname[]);
CyNiC is offline   Reply With Quote
Old 17/05/2014, 02:16 AM   #22
Whitetiger
Huge Clucker
 
Whitetiger's Avatar
 
Join Date: Nov 2007
Location: Greenville, NC, USA
Posts: 461
Reputation: 130
Default Re: YSF - kurta999's version

I got bored a bit, so I went ahead and edited your source: (btw, it doesn't compile until you remove CHouseManager.cpp/h!)

https://gist.github.com/Whitetigersw...61efac34c09935

I only uploaded the files I changed. What I did was made it so, on Windows, you won't have to update the plugin if a new sa-mp version comes out, it dynamically scans for the addresses. and put the #ifdef's in the right places so it will compile without CHouseManager.cpp I tested on all 3 versions of 0.3z and it works, and it should work in all versions in the forseeable future. I'm not that experienced in linux so you'll have to convert that, if you want.
__________________
GitHub

Author of SA-MP AC

Whitetiger is offline   Reply With Quote
Old 17/05/2014, 11:11 AM   #23
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,399
Reputation: 583
Default Re: YSF - kurta999's version

Quote:
Originally Posted by Whitetiger View Post
I got bored a bit, so I went ahead and edited your source: (btw, it doesn't compile until you remove CHouseManager.cpp/h!)

https://gist.github.com/Whitetigersw...61efac34c09935

I only uploaded the files I changed. What I did was made it so, on Windows, you won't have to update the plugin if a new sa-mp version comes out, it dynamically scans for the addresses. and put the #ifdef's in the right places so it will compile without CHouseManager.cpp I tested on all 3 versions of 0.3z and it works, and it should work in all versions in the forseeable future. I'm not that experienced in linux so you'll have to convert that, if you want.
Sorry, i'll remove my house shit in next version

Anyway this is very interesting, thanks.

E: I'm plannig to move githut, R5 will be on github.
kurta999 is offline   Reply With Quote
Old 17/05/2014, 12:37 PM   #24
Mellnik
Gangsta
 
Mellnik's Avatar
 
Join Date: Dec 2011
Location: Paradise Falls, CAℕADA
Posts: 797
Reputation: 369
Default AW: Re: YSF - kurta999's version

What exactly is this one?
Code:
native GetPlayerHydraReactorAngle(playerid);
Quote:
Originally Posted by kurta999 View Post
Sorry, i'll remove my house shit in next version
Mellnik is offline   Reply With Quote
Old 17/05/2014, 01:27 PM   #25
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,399
Reputation: 583
Default Re: YSF - kurta999's version

Hydra reactor, which you move UP/DOWN with NUM 2 or NUM 8.

Quote:
Originally Posted by Mellnik View Post
What exactly is this one?
Check source and you'll see.
kurta999 is offline   Reply With Quote
Old 17/05/2014, 01:36 PM   #26
RajatPawar
High-roller
 
RajatPawar's Avatar
 
Join Date: Aug 2011
Location: ヽ༼ຈل͜ຈ༽ノ
Posts: 2,302
Reputation: 311
Default Re: YSF - kurta999's version

Awesome!

Code:
PlayerTextDrawSetPos
Will this set the position of the playertextdraw for every player? I mean if I wanted to have 10 different positions for 10 different players with the SAME player textdraw, would it work?

Cheers
RajatPawar is offline   Reply With Quote
Old 17/05/2014, 02:36 PM   #27
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,399
Reputation: 583
Default Re: YSF - kurta999's version

You need to create player text draw for EVERY player, so if you want to change player textdraw position for 10player, then create one player textdraw for 10 player and change TD position for each player.
kurta999 is offline   Reply With Quote
Old 17/05/2014, 05:59 PM   #28
KingServerIRAN
Banned
 
Join Date: Aug 2013
Location: SarBNR, IRAN!. Reputation:9999. . Posts2: 160754
Posts: 374
Reputation: 45
Default Re: YSF - kurta999's version

Amusing! Good job
KingServerIRAN is offline   Reply With Quote
Old 17/05/2014, 11:03 PM   #29
Riddick94
High-roller
 
Riddick94's Avatar
 
Join Date: Mar 2010
Location: Poland
Posts: 1,940
Reputation: 185
Default Re: AW: Re: YSF - kurta999's version

Quote:
Originally Posted by Mellnik View Post
What exactly is this one?
Code:
native GetPlayerHydraReactorAngle(playerid);
You know the "pipes" that you have under hydra's wings? The one's you move with numpad keys, to fly forward or down. You can get their angle positions.


Quote:
Originally Posted by RajatPawar View Post
Awesome!

Code:
PlayerTextDrawSetPos
Will this set the position of the playertextdraw for every player? I mean if I wanted to have 10 different positions for 10 different players with the SAME player textdraw, would it work?

Cheers
One of the best functions I have waited for. And to be honest, you've just asked a really dumb question. There's support for textdraws and per-player textdraws. So, it is really simple answer here.

Quote:
Originally Posted by kurta999 View Post
Sorry, i'll remove my house shit in next version [...]
Don't worry about your English.. foreigners to the win.
__________________
Have spent some great time of my life here since 0.1b version of SA-MP. I will never-ever forget the times I have had so much fun with people around here, during gameplay, scripting and being invented in so many SA-MP projects. Maybe I wasn't so active in FS/INC/GM sections to some of you and never have released that much but there's a reason behind it which isn't actually work mentioning. I am here to say goodbye to everyone and thanks for all the good times. TLoU (SA-MP) project shall never be finished because of me - but there's nothing we can do about it really. I think I am too old for all of it and same for the gaming (I guess) - I just can not let myself spend any more time in this addictive modification for GTA:SA. I have got something out of it and I respect it so much. Saying that I owe SA-MP my current job that I have is more than enough. There's not any certain steps that you have to take in order to achieve your goals.

Much love from Uncle Riddick and take care everyone

Last edited by Riddick94; 18/05/2014 at 09:57 AM.
Riddick94 is offline   Reply With Quote
Old 18/05/2014, 03:36 PM   #30
CyNiC
High-roller
 
Join Date: Jan 2009
Location: Brazil
Posts: 1,417
Reputation: 200
Default Re: YSF - kurta999's version

Code:
[18/05/2014 11:52:48]    Error: Function not registered: 'YSF_AddPlayer'
[18/05/2014 11:52:48]    Error: Function not registered: 'YSF_RemovePlayer'
[18/05/2014 11:52:48]    Error: Function not registered: 'YSF_StreamIn'
[18/05/2014 11:52:48]    Error: Function not registered: 'YSF_StreamOut'
[18/05/2014 11:52:48]    Error: Function not registered: 'YSF_GangZoneShowForPlayer'

These warnings appears on server log but the functions works.
__________________
My scripts
Brazucas'Server
CyNiC is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] [GM] - [RnD] Street Racers `N Drifters (New Version - latest version) Johny_Rocker Gamemode Scripts 23 10/12/2015 10:53 AM
How to convert server files from 0.3e version into 0.3c version Sajed Scripting Help 2 29/10/2013 08:48 PM
[FilterScript] [FS]New LSPD - Version 0.3 - Bugfix Version Dalenor Filterscripts 46 08/12/2010 02:36 PM
about changing version of sa-mp but with old script version Sfinx_17 Help Archive 3 22/10/2009 01:05 PM


All times are GMT. The time now is 03:35 AM.


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