SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 459
Search took 0.02 seconds.
Search: Posts Made By: Mystique
Forum: General 27/11/2015, 12:37 AM
Replies: 8
Views: 1,350
Posted By Mystique
Re: Why hasn't NJ been fixed yet?

Well I guess there are some limitations about what you can do and what you can't do about the game. After all sa-mp is just a mod which doesn't give it full rights to change everything.
Forum: Scripting Help 03/03/2015, 05:45 PM
Replies: 6
Views: 1,178
Posted By Mystique
Re: Objects on random position.

Just create an array which contains the coordinates that you want the object to spawn randomly on and use the random function to get a random position in the array.
Forum: Scripting Help 02/03/2015, 04:36 PM
Replies: 7
Views: 716
Posted By Mystique
Re: Password hashing between sa-mp and PHP

I got it working, didn't know that whirlpool was compatible that easily with php.

Thank you.
Forum: Scripting Help 02/03/2015, 04:21 PM
Replies: 7
Views: 716
Posted By Mystique
Re: Password hashing between sa-mp and PHP

Allright, I will try it out, thank you.
Forum: Scripting Help 02/03/2015, 04:18 PM
Replies: 7
Views: 716
Posted By Mystique
Re: Password hashing between sa-mp and PHP

Haha true, I formulated it a bit wrong. Is there a way of using whirlpool in php though?
Forum: Scripting Help 02/03/2015, 04:10 PM
Replies: 7
Views: 716
Posted By Mystique
Password hashing between sa-mp and PHP

Hello there. I'm currently coding a UCP for my sa-mp server where you will be able to read info from a mysql database where the character info is saved. I also made a login system where you log in...
Forum: Scripting Help 28/07/2014, 08:48 PM
Replies: 6
Views: 671
Posted By Mystique
Re: Bug with CMDs that effect other players.

CMD:setadminlevel(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "[Error]:You are not logged into RCON");
new targetid;
...
Forum: Scripting Help 28/07/2014, 08:24 PM
Replies: 6
Views: 671
Posted By Mystique
Re: Bug with CMDs that effect other players.

Start by changing the sscanf parameters to "u" instead of "us[128]" since you have no string to insert.


CMD:setadminlevel(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return...
Forum: Scripting Help 05/02/2014, 03:14 PM
Replies: 12
Views: 1,369
Posted By Mystique
Re: Error '' Run Time Error 19 '' I Need Help

Make sure that you have the newest versions of the plugins in your plugin folder and that you have added the plugins on the line "plugins" in your server.cfg file. If you use linux, remember to add...
Forum: Scripting Help 05/02/2014, 03:10 PM
Replies: 17
Views: 1,314
Posted By Mystique
Re: Robbery

If you mean that if you rob the bank you can't rob it again for example 1 hour. Yes, then it works with a player variable and a timer.
Forum: Scripting Help 05/02/2014, 03:06 PM
Replies: 17
Views: 1,314
Posted By Mystique
Re: Robbery

As long as you don't want the variable to be saved when restarting the server and continue after the restart you won't need mysql. Just use the SetTimer function. Search the forum about how to use it.
Forum: Scripting Help 05/02/2014, 02:42 PM
Replies: 17
Views: 1,314
Posted By Mystique
Re: Robbery

As explained but you obviously need to create some kind of timer aswell so that when the time finnishes the variable is set to 0.
Forum: Scripting Help 05/02/2014, 02:34 PM
Replies: 17
Views: 1,314
Posted By Mystique
Re: Robbery

Just create a new variable which checks with the server if the bank is being robbed. If someone robs the bank the variable is set to 1 (true) and when the next player comes to rob the bank the script...
Forum: Scripting Help 05/02/2014, 02:30 PM
Replies: 4
Views: 728
Posted By Mystique
Re: Mysql problem

Well thanks guys, it worked by using the static version of mysql. Now however, I'm facing another problem. When I started the server all the tables were created but for some reason when you try to...
Forum: General 05/02/2014, 12:17 PM
Replies: 35
Views: 3,120
Posted By Mystique
Re: Good RP server?

He didn't tell you to look, he told the topic creator to check the sa-mp client.
Forum: General 05/02/2014, 12:00 PM
Replies: 35
Views: 3,120
Posted By Mystique
Re: Good RP server?

True roleplay is re opened since january 2014..
Forum: General 05/02/2014, 11:08 AM
Replies: 35
Views: 3,120
Posted By Mystique
Re: Good RP server?

Hahaha that made my day:D /facepalm...

There is one server that I could recommend and that's True Roleplay. I played there a few years ago, don't know what it's like now though..
Forum: Scripting Help 05/02/2014, 07:08 AM
Replies: 4
Views: 728
Posted By Mystique
Re: Mysql problem

Well what is the difference between the static version and the normal one?
Forum: Scripting Help 04/02/2014, 08:04 PM
Replies: 4
Views: 728
Posted By Mystique
Mysql problem

Allright, so I hope that you could help me with this. I bought a host on volt host and wanted to install my server with mysql on it. However, when I launch the server I get this in the console:...
Forum: Scripting Help 03/02/2014, 10:15 AM
Replies: 3
Views: 459
Posted By Mystique
Re: text draws help?

Use this editor: http://forum.sa-mp.com/showthread.php?t=376758&highlight=zamaroth
Then search wiki.sa-mp.com for the functions needed.
Forum: General 02/02/2014, 05:00 PM
Replies: 187
Views: 22,963
Posted By Mystique
Re: Do you like the new sync in 0.3z?

Personally I see why some people don't like this new sync due to that they got really used to the small amount of lag when shooting someone. I still think that this update is better than the lag...
Forum: Scripting Help 30/01/2014, 08:38 PM
Replies: 11
Views: 958
Posted By Mystique
Re: Register and Login

So are you sure that you have the correct unhashing function? And how did you use strcmp?
Did you write like this?
if(strcmp(your unhashing function(inputtext), tmp))
{
...
Forum: Scripting Help 30/01/2014, 08:33 PM
Replies: 11
Views: 958
Posted By Mystique
Re: Register and Login

What is wrong then? Doesn't it generate a hash, or do you mean that it doesn't recognize the password when logging in?
Forum: Scripting Help 30/01/2014, 08:00 PM
Replies: 11
Views: 958
Posted By Mystique
Re: Register and Login

Then it's already added inside a include. Either use it with the strcmp function or add a whirlpool hash and use the strcmp function.
Forum: Scripting Help 30/01/2014, 07:56 PM
Replies: 11
Views: 958
Posted By Mystique
Re: Register and Login

Use this hashing system to make a secure password, remember to use a salt.

http://forum.sa-mp.com/showthread.php?t=65290
Showing results 1 to 25 of 459

 

All times are GMT. The time now is 01:30 PM.


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