Search Results
So this thread is 7 years old and you just solved my issue. I love ******. And you Cjgogo. Thank you.
126
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" a...
146
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.
534
Nice! It reminds me of 2004 Unreal Tournament map
1,372
Quote: Originally Posted by NaS This code does not determine the closest player. It will select everyone in range as target, the highest playerid will then be the final target as it is se...
384
Quote: Originally Posted by NaS Could you post the related code? Otherwise we have to guess what could be the cause Sorry about that, you are right Код: for(new i=0; i < MAX_P...
384
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 t...
384
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 shed...
384
Quote: Originally Posted by iKarim This might be the issue, try removing the first slash, so it becomes: PHP код: #define USER_PATH "Users/%s.ini"  The reason is, Linux sy...
223
Код: #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 stri...
223
Y_Ini. Checked, not crashing. I tried saving just one line on player disconnect, still does not write anything to the file.
223
Also configured the permissions already. It is game server hosting.
223
Forgot to mention - all plugins/includes are there and they are working fine.
223
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 insid...
223
Thank you for the suggsetions, Im going to look into mysql. Any recommended mysql tutorials?
90
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?
90
Is there a better way? Do I need to create a loop for PlayerInfo, too?
90
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 specif...
90