SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: matje
Forum: Everything and Nothing 24/09/2018, 02:05 PM
Replies: 1
Views: 77
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, 09:54 AM
Replies: 6
[Map] The Hell
Views: 237
Posted By matje
Re: The Hell

Nice! It reminds me of 2004 Unreal Tournament map
Forum: Scripting Help 21/09/2018, 02:55 PM
Replies: 10
Views: 174
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, 02:21 PM
Replies: 10
Views: 174
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, 02:01 PM
Replies: 10
Views: 174
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, 12:14 PM
Replies: 10
Views: 174
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, 04:32 PM
Replies: 14
Views: 469
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, 04:23 PM
Replies: 14
Views: 469
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, 04:19 PM
Replies: 14
Views: 469
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, 03:59 PM
Replies: 14
Views: 469
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, 03:37 PM
Replies: 14
Views: 469
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, 03:34 PM
Replies: 14
Views: 469
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, 03:30 PM
Replies: 14
Views: 469
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, 04:28 PM
Replies: 6
Views: 1,749
Posted By matje
Forum: Scripting Help 03/01/2018, 12:58 PM
Replies: 6
Views: 287
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, 12:21 PM
Replies: 6
Views: 287
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, 01:53 PM
Replies: 6
Views: 287
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, 01:33 PM
Replies: 6
Views: 287
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, 10:36 PM
Replies: 2
Views: 182
Posted By matje
Re: Can't get IF statement to work properly

Thank you sir, I knew I have made a dumb mistake :=)
Forum: Scripting Help 05/12/2016, 06:28 PM
Replies: 2
Views: 182
Posted By matje
Can't get IF statement to work properly

So I'm trying to make this command:

COMMAND:savemats(playerid, params[])
{
new amount;

if (sscanf(params, "i", amount))
return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /savemats...
Forum: Everything and Nothing 05/12/2016, 09:28 AM
Replies: 16
Views: 1,055
Posted By matje
Re: Bootstrap, who uses it?

Bootstrap is not meant to be used for it's buttons and rounded corners.
Forum: Tutorials 04/12/2016, 08:37 PM
Replies: 60
Views: 8,673
Posted By matje
Re: Login/Register [Y_INI][WHIRLPOOL][UPDATE SERIES]

Awesome tutorial, thanks mate. Just made my first login/register system and actually understood what is going on. :)
Forum: Scripting Help 04/12/2016, 06:30 PM
Replies: 8
Views: 216
Posted By matje
Re: Givemoney command issue

I have updated sscanf and it's working now. Thanks for all your help boys, have a great day! :)
Forum: Scripting Help 04/12/2016, 06:14 PM
Replies: 8
Views: 216
Posted By matje
Re: Givemoney command issue

Thanks for the help mate, the in game issue is still the same but now I'm getting responded with: sscanf error: System not initialised (in the console and server log file). I have sscanf2 in my...
Forum: Scripting Help 04/12/2016, 05:23 PM
Replies: 8
Views: 216
Posted By matje
Givemoney command issue

Guys, I got this command, and it compiles with no errors/warnings:

COMMAND:givemoney(playerid, params[])
{
if (IsPlayerAdmin(playerid))
{
new
toplayerid,
amount;
if...
Showing results 1 to 25 of 25

 

All times are GMT. The time now is 11:17 PM.


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