SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 31
Search took 0.00 seconds.
Search: Posts Made By: matje
Forum: Scripting Help 19/02/2020, 06:09 PM
Replies: 10
Views: 242
Posted By matje
Re: [Doubt]Get Vehicle Position

While getting the position behind the vehicle is easily done using trigonometry, what I'm wondering is (in your case) how do you keep the player fixed in that position while the vehicle is moving?...
Forum: Scripting Help 03/10/2019, 04:28 PM
Replies: 1
Views: 121
Posted By matje
FCNPC compatiblity with latest SAMP version

Is there a compatible FCNPC plugin version for the latest SAMP (0.3.7-R3) ?
I tried using the latest release here https://github.com/ziggi/FCNPC/releases but it doesn't seem to work for me.
I'm...
Forum: Scripting Help 29/05/2019, 06:35 PM
Replies: 12
Views: 260
Posted By matje
Re: warning 213: tag mismatch

format(string, sizeof(string), ...
Forum: Scripting Help 23/01/2019, 09:31 PM
Replies: 4
Views: 850
Posted By matje
Re: [HELP]Server crashing[HELP]!!!

So this thread is 7 years old and you just solved my issue. I love ******. And you Cjgogo. Thank you.
Forum: Scripting Help 02/10/2018, 08:05 PM
Replies: 1
Views: 133
Posted By matje
Forum: Scripting Help 01/10/2018, 05:44 PM
Replies: 1
Views: 133
Posted By matje
y_ini file saving

I'm not sure how to create so the files saved using y_ini all have unique ID's (file name as ID), such as 0, 1, 2, 3...
For example, I would have /createhouse command. The first house would have "0"...
Forum: Everything and Nothing 24/09/2018, 03:05 PM
Replies: 6
Views: 715
Posted By matje
Any scripting streams out there?

I'm a noob at scripting and would like to learn more. I enjoy watching and interacting with streamers - are there any samp streamers streaming how they work on a script? Preferably english.
Forum: Maps 23/09/2018, 10:54 AM
Replies: 9
[Map] The Hell
Views: 2,572
Posted By matje
Re: The Hell

Nice! It reminds me of 2004 Unreal Tournament map
Forum: Scripting Help 21/09/2018, 03:55 PM
Replies: 10
Views: 453
Posted By matje
Re: NPC chase the nearest player

Holy fuck you are my hero
Thank you so much, it works!

I've used

foreach(Player, i)
{
//stuff
}
Forum: Scripting Help 21/09/2018, 03:21 PM
Replies: 10
Views: 453
Posted By matje
Re: NPC chase the nearest player

Sorry about that, you are right :)

for(new i=0; i < MAX_PLAYERS; i++){
new Float:xp, Float: yp, Float: zp;
GetPlayerPos(playerid, xp, yp, zp);
for(new iz = 0; iz <...
Forum: Scripting Help 21/09/2018, 03:01 PM
Replies: 10
Views: 453
Posted By matje
Re: NPC chase the nearest player

Thanks everyone, with your help I got the NPC to recognize the closest player and chase him.
Now the issue is that the NPC's target doesn't change. They will always chase the one initial player even...
Forum: Scripting Help 21/09/2018, 01:14 PM
Replies: 10
Views: 453
Posted By matje
NPC chase the nearest player

Hi guys.
First of all, I ******d, searched multiple forums but could not find solution to this.
I'm using FCNPC. How can I create so the NPC's recognize and chase the closest player?
Can somebody...
Forum: Server Support 11/02/2018, 05:32 PM
Replies: 14
Views: 657
Posted By matje
Re: Ini files not being written

Unfortunately, no luck. I've opened a ticket to their support team, but I doubt they will be able to help me. Thanks anyways
Forum: Server Support 11/02/2018, 05:23 PM
Replies: 14
Views: 657
Posted By matje
Re: Ini files not being written

Even if the permissions were incorrect, why would it create a file then but not write to it?
Forum: Server Support 11/02/2018, 05:19 PM
Replies: 14
Views: 657
Posted By matje
Re: Ini files not being written

#define USER_PATH "/Users/%s.ini"

UserPath(playerid){

// Declare our variables used in this function
new
str[36], // 'str' will be our variable used to format a string, the...
Forum: Server Support 11/02/2018, 04:59 PM
Replies: 14
Views: 657
Posted By matje
Re: Ini files not being written

Y_Ini. Checked, not crashing. I tried saving just one line on player disconnect, still does not write anything to the file.
Forum: Server Support 11/02/2018, 04:37 PM
Replies: 14
Views: 657
Posted By matje
Re: Ini files not being written

Also configured the permissions already. It is game server hosting.
Forum: Server Support 11/02/2018, 04:34 PM
Replies: 14
Views: 657
Posted By matje
Re: Ini files not being written

Forgot to mention - all plugins/includes are there and they are working fine.
Forum: Server Support 11/02/2018, 04:30 PM
Replies: 14
Views: 657
Posted By matje
Ini files not being written

I have set up my server on streamline servers hosting, everything seems to be working fine except the user saving system. The server creates a user file like it should but does not save anything...
Forum: Maps 29/01/2018, 05:28 PM
Replies: 6
Views: 2,318
Posted By matje
Forum: Scripting Help 03/01/2018, 01:58 PM
Replies: 6
Views: 540
Posted By matje
Re: House owner check

Thank you for the suggsetions, Im going to look into mysql. Any recommended mysql tutorials?
Forum: Scripting Help 03/01/2018, 01:21 PM
Replies: 6
Views: 540
Posted By matje
Re: House owner check

You are right, there is an issue with loading the houses.
Could you please give me an example of looping through all house files and loading the houses from the House folder?
Forum: Scripting Help 30/12/2017, 02:53 PM
Replies: 6
Views: 540
Posted By matje
Re: House owner check

Is there a better way?
Do I need to create a loop for PlayerInfo, too?
Forum: Scripting Help 30/12/2017, 02:33 PM
Replies: 6
Views: 540
Posted By matje
House owner check

I'm using #include <YSI\y_ini> to store player and house data. I have two folders in scriptfiles - Users, Houses.

My issue is that I do not know how to check if a player owns a specific house....
Forum: Scripting Help 05/12/2016, 11:36 PM
Replies: 2
Views: 290
Posted By matje
Re: Can't get IF statement to work properly

Thank you sir, I knew I have made a dumb mistake :=)
Showing results 1 to 25 of 31

 

All times are GMT. The time now is 12:51 PM.


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