SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 360
Search took 0.01 seconds.
Search: Posts Made By: mirou123
Forum: Scripting Help 28/12/2017, 10:56 PM
Replies: 11
Views: 784
Posted By mirou123
Re: TOP 5 Kills

What is that code you posted? How does it behave?
Forum: Scripting Help 28/12/2017, 10:03 PM
Replies: 713
Views: 180,081
Posted By mirou123
Forum: Scripting Help 28/12/2017, 08:56 PM
Replies: 2
Views: 390
Posted By mirou123
Re: SetPedMaterial(playerid, materialindex, etc, etc); ?

It doesn't exist you can only change the color. But in the next SAMP version you'll be able to create custom objects that you can attach to players so there will be no need for such a function.
...
Forum: Scripting Help 28/12/2017, 08:39 PM
Replies: 16
Views: 1,394
Posted By mirou123
Re: Ban System need Help.

That's because the currently available VPN detectors are either self made and maintained or privately hosted by the creator. The one I made uses a public API that their makers maintain for a living...
Forum: Scripting Help 28/12/2017, 08:23 PM
Replies: 3
Views: 662
Posted By mirou123
Re: My tree has autism

You never know. One time it works fine, the next it doesn't. But I noticed the first time it's almost always bad.



So if what you're saying is true, making it "static" by uploading it as a...
Forum: Scripting Help 28/12/2017, 08:12 PM
Replies: 16
Views: 1,394
Posted By mirou123
Re: Ban System need Help.

And how does what I said contradict with what Kalcor said?
I said it's the player's hashed game path which is confirmed by the first statement. It's not unique, which means it will falsely ban other...
Forum: Scripting Help 28/12/2017, 07:06 PM
Replies: 16
Views: 1,394
Posted By mirou123
Re: Ban System need Help.

It's not exactly a hardware ID. It's just a hash of the player's game save location AFAIK, and most cheats already spoof it. So it's not really worth it.
Forum: Scripting Help 28/12/2017, 06:55 PM
Replies: 16
Views: 1,394
Posted By mirou123
Re: Ban System need Help.

There is no way to get the hardware ID of a player in SAMP.
Forum: Scripting Help 28/12/2017, 06:49 PM
Replies: 3
Views: 662
Posted By mirou123
My tree has autism

Hello everyone I was trying to make an apple tree using the model preview textdraws but it sometimes look fine sometimes it's messed up almost like it has a mind of its own.
Here are a couple of...
Forum: Scripting Help 21/11/2017, 06:23 PM
Replies: 7
Views: 619
Posted By mirou123
Re: Max Ganglockers Problem

Post your SaveGangLocker code
Forum: Scripting Help 15/07/2017, 07:24 AM
Replies: 4
Views: 896
Posted By mirou123
Y_timers ptask error

So the problem is pretty straight forward
ptask Task_Name[DELAY](playerid)
{
}
gives me this error "array sizes do not match, or destination array is too small"
I got it to work by redefining...
Forum: Scripting Help 25/06/2017, 06:47 PM
Replies: 1
Views: 241
Posted By mirou123
Re: Correct me if i'm wrong.

Your code is a bit messy. It would be better to make a seperate function for that but when I script my ban system what I do is when a player is banned, I put his name, reason, admin who banned etc......
Forum: Scripting Help 24/03/2016, 05:36 PM
Replies: 7
Views: 480
Posted By mirou123
Re: Whirlpool help

You can find help here.
http://forum.sa-mp.com/showthread.php?t=570945
Forum: Plugin Development 24/03/2016, 05:31 PM
Replies: 352
Views: 111,767
Posted By mirou123
Re: Gamemode SDK for C/C++ (GDK)

I keep getting these messages.


[sampgdk:warning] Index mismatch for OnCameraLeaveNode (-10007 != -10002)
[sampgdk:warning] Index mismatch for OnCameraReachNode (-10008 != -10003)...
Forum: Scripting Help 18/02/2016, 03:39 PM
Replies: 4
Views: 459
Posted By mirou123
Re: Avoiding the cause of lag

You don't really need anything saved until the player logs out. So put most of your saving under OnPlayerDisconnect. But for important stuff like money and VIP level and admin level save them as soon...
Forum: Scripting Help 10/02/2016, 08:50 PM
Replies: 8
Views: 732
Posted By mirou123
Re: R39-4 Mysql Plugin wont work!

Wherever you have %s put it between 's so for example `Rank` = %s should become `Rank` = '%s' or better yet `Rank` = '%e'
Forum: Scripting Help 10/02/2016, 08:42 PM
Replies: 15
Views: 1,004
Posted By mirou123
Re: Debug

Post line 14281

Edit: Actually under OnPlayerDeath check if killer ID is valid before you use it.
Forum: Scripting Help 07/02/2016, 07:11 PM
Replies: 12
Views: 462
Posted By mirou123
Re: [help] engine

Glad I helped.
Forum: Scripting Help 07/02/2016, 06:48 PM
Replies: 12
Views: 462
Posted By mirou123
Re: [help] engine

He is saying that he wants to turn the engine of the vehicle off but that code is not working the engine doesn't stop.
Forum: Scripting Help 07/02/2016, 06:39 PM
Replies: 4
Views: 627
Posted By mirou123
Re: Ground slope detection.

Thank you for your help.
Forum: Scripting Help 07/02/2016, 06:21 PM
Replies: 12
Views: 462
Posted By mirou123
Re: [help] engine

Here is a list (https://wiki.sa-mp.com/wiki/State) of available states if you need it.
Forum: Scripting Help 07/02/2016, 06:19 PM
Replies: 4
Views: 627
Posted By mirou123
Re: Ground slope detection.

That would be great thank you. I could try to get the coords of the two most distant points in the object and if the hight difference is too large (Angle to steep) it would let me know, if not it...
Forum: Scripting Help 07/02/2016, 06:16 PM
Replies: 12
Views: 462
Posted By mirou123
Re: [help] engine

Is your code in OnPlayerEnterVehicle? If it is then change it to OnPlayerStateChange because OnPlayerEnterVehicle is called BEFORE the player enters. Which means the GetPlayerVehicleID(playerid) will...
Forum: Scripting Help 07/02/2016, 06:13 PM
Replies: 5
Views: 366
Posted By mirou123
Re: Values

Set it to 1
Forum: Scripting Help 07/02/2016, 06:08 PM
Replies: 14
Views: 652
Posted By mirou123
Re: Y_ini Not Saving!

Just copy and paste the the code you are using to save the player data and put it in a foreach loop inside OnGameModeExit.
Showing results 1 to 25 of 360

 

All times are GMT. The time now is 07:31 AM.


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