SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Lynn
Forum: Scripting Help 03/07/2017, 07:49 PM
Replies: 2
Views: 136
Posted By Lynn
Re: LAdmin - /slap issue

pName(playerid) Is casting the name of issuer, not the selected target.
So instead you need to get the name of the target.

format(string, sizeof(string), "You have slapped %s [%s] ",...
Forum: Scripting Help 03/07/2017, 07:47 PM
Replies: 3
Views: 287
Posted By Lynn
Re: Get player's Position, More like direction

You can't tell if someone is standing on your right or left side with accuracy.
You can detect if their next to you, but not what side of you they are on.
For instance, if you're standing and...
Forum: Scripting Help 24/06/2017, 09:37 PM
Replies: 2
Views: 231
Posted By Lynn
Re: Can i make spawn points in interior locations?

http://weedarr.wikidot.com/interior
Pretty master idea.
Forum: Scripting Help 24/06/2017, 04:07 PM
Replies: 1
Views: 185
Posted By Lynn
Re: What is purpose of db_debug_openresults

If I'm not mistaken it's to debug current result memory from a db_query.
Forum: Scripting Help 25/09/2016, 02:30 AM
Replies: 5
Views: 262
Posted By Lynn
Re: Timer stops working.

If it spams the message then you're not returning a value.
You need return true; after SendClientMessage.
Forum: Scripting Help 23/09/2016, 07:19 PM
Replies: 3
Views: 169
Posted By Lynn
Re: OnPlayerGiveDamage

It's called when you give damage to anther player.

OnPlayerTakeDamage

Is called when you take damage.
Forum: Scripting Help 23/09/2016, 07:16 PM
Replies: 6
Views: 170
Posted By Lynn
Re: Label

Try this.
You were calling an else statement for

if(sscanf(params, "s", value))


Instead of

if(playerData[playerid][HasCustomLable] == false)
Forum: Scripting Help 21/09/2016, 06:24 PM
Replies: 12
Views: 437
Posted By Lynn
Re: This keeps resetting armour to 100.

That doesn't mean their armor is equal or more than what you're taking away though.
If armour is 1, and you take away 20 you're still setting the armor to a negative number.
Armor >=...
Forum: Scripting Help 21/09/2016, 05:23 PM
Replies: 12
Views: 437
Posted By Lynn
Re: This keeps resetting armour to 100.

Maybe try something like this?


new Float: armour, Float:Health, Float: newarm[6], Float: newam2;
GetPlayerArmour(playerid, armour);
GetPlayerHealth(playerid, Health);
newarm[0] = 15;...
Forum: Scripting Help 21/09/2016, 05:11 PM
Replies: 12
Views: 437
Posted By Lynn
Re: This keeps resetting armour to 100.

As above, switch may work too.

EDIT: Didn't see your above post saying you tried.

switch(armour)
{
case 1..100:
{
switch(weaponid)
{
Forum: Scripting Help 21/09/2016, 05:06 PM
Replies: 2
Views: 173
Posted By Lynn
Re: Help!!

Double check the ID of the textdraw you're hiding.
Odds are it's the wrong one, or it's a global textdraw and not a player.
Forum: Scripting Help 21/09/2016, 05:03 PM
Replies: 12
Views: 437
Posted By Lynn
Re: This keeps resetting armour to 100.

Try adding an else statement.

else {
SetPlayerArmour(playerid, 0);
}
Forum: Scripting Help 21/09/2016, 03:44 PM
Replies: 5
Views: 200
Posted By Lynn
Re: zombie server- help

Main post updated.
Forum: Scripting Help 21/09/2016, 03:42 PM
Replies: 2
Views: 149
Posted By Lynn
Re: car enter problem

Assuming the car is being despawned after you log out(After locking it)
You probably aren't saving and loading the vehicle information, such as if it's locked or not.
You need to set the vehicle...
Forum: Scripting Help 21/09/2016, 03:40 PM
Replies: 5
Views: 200
Posted By Lynn
Re: zombie server- help

Sure, we can make the command.
But you never said what it'll do...


#include <zcmd>// Top of script, ZCMD needed if you don't already have it.

static VIPLevel[MAX_PLAYERS]; // Global...
Forum: Scripting Help 21/09/2016, 03:28 PM
Replies: 4
Views: 185
Posted By Lynn
Re: How can i make this

I wouldn't recommend broadcasting the IP of connecting players to the public.
That's just asking for trouble. Instead broadcast their player ID or just player name.
And As the for the above...
Forum: Everything and Nothing 09/09/2016, 05:06 PM
Replies: 4
Views: 524
Posted By Lynn
Re: [Help] C# With MySQL(Blowfish Hashing)

I'm aware of the SQL Injection security issue when connecting directly to the database within the application.
This is for a personal project I'm working on, the only user with the application is...
Forum: Scripting Help 23/08/2016, 08:25 PM
Replies: 1
Views: 132
Posted By Lynn
Re: junk bruster

JunkBuster is a very old anti-cheat.
I strongly discourage the usage of it.
Instead, try to develop your own, or find one that isn't from 2012 Era.
Forum: Scripting Help 23/08/2016, 08:23 PM
Replies: 2
Views: 230
Posted By Lynn
Re: 100 % CPU

Easy solution:
Remove it.
Why does it matter if they're logged to the console or not?
You can just log all the connecting players to a .txt file instead.
Forum: Everything and Nothing 15/08/2016, 12:21 AM
Replies: 4
Views: 524
Posted By Lynn
Re: [Help] C# With MySQL(Blowfish Hashing)

I'm using the built in PHP Function PASSWORD_DEFAULT to Hash it.
So the salt isn't the same every time, nor is it stored into the SQL Database.
Forum: Everything and Nothing 14/08/2016, 10:43 PM
Replies: 4
Views: 524
Posted By Lynn
[Help] C# With MySQL(Blowfish Hashing)

I'm trying to create a a program that will login using Username and Password from my SQL Database.
The accounts are created using the website, however I want to login using my 3rd party app.
This...
Forum: Screenshots and Videos 22/07/2016, 07:23 PM
Replies: 10
Views: 1,700
Posted By Lynn
Re: [WIP]ZexT Auto hotkey

I've heard of AHK, however I've never messed around with it.



It violates some server rules, however it doesn't violate SAMP Terms and conditions.
Every server I play, Keybinds are allowed....
Forum: Screenshots and Videos 20/07/2016, 02:58 PM
Replies: 10
Views: 1,700
Posted By Lynn
Re: [WIP]ZexT Auto hotkey

Oh sorry, I wasnt sure since itll be released for SAMP users. Admin can feel free to move it, but thanks!
Forum: Screenshots and Videos 20/07/2016, 12:48 PM
Replies: 10
Views: 1,700
Posted By Lynn
[WIP]ZexT Auto hotkey

http://www.nggup.com/images/2016/07/19/Untitled-1.png


ZexT Auto hotkey is a tool I've been designing for a little bit.
The name ZexT Stems from an alias I use to go by(Outside of SAMP)...
Forum: Scripting Help 17/07/2016, 04:52 AM
Replies: 20
Views: 736
Posted By Lynn
Re: How to make this?

You can't see 3DTextLabels attached to yourself.
So you will need anther player to test it with, in-order to know if it's working properly or not.
Otherwise it'll always appear to not be working.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 11:24 AM.


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