SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 46
Search took 0.00 seconds.
Search: Posts Made By: Daymen
Forum: Scripting Help 23/01/2018, 03:46 PM
Replies: 5
Views: 1,189
Posted By Daymen
Re: H1Z1 / PUBG in SAMP?

If you use a huge lump sum of objects, you'll simply end up crashing lower-end PCs, which is a HUGE part of the SA-MP community, therefore, I wouldn't recommend it.

Look how the open source PUBG...
Forum: Scripting Help 28/11/2017, 06:23 AM
Replies: 11
Views: 693
Posted By Daymen
Re: warning 219: local variable "Textdraw0" shadows a variable at a preceding level

Make sure your variable for the textdraw at the top, where you did "new Text:TextDraw0;" is the same name in your 'OnPlayerSpawn' function. I noticed that you ended up changing it but wanted to make...
Forum: Scripting Help 28/11/2017, 06:14 AM
Replies: 12
Views: 702
Posted By Daymen
Re: Save Reason & Playerid

I'd recommend upgrading to MYSQL as it's more efficient and will provide a lot more 'clean' opportunities in the future.

I know there's a few guides throughout the forums. (This also helps in the...
Forum: Scripting Help 28/11/2017, 06:12 AM
Replies: 13
Views: 844
Posted By Daymen
Re: How to move object

Are you attempting to launch a projectile and then track it's movement? Or what?

You need to go more in depth about what your idea is for us to be able to help.
Forum: Gamemode Scripts 06/10/2017, 05:04 AM
Replies: 120
Views: 61,337
Posted By Daymen
Re: Sublime Game [ls-rp.it]

Am I the only person that gets kicked because my account does not exist? Lol.
Forum: Scripting Help 05/10/2017, 11:24 PM
Replies: 5
Views: 365
Posted By Daymen
Re: SQL Issues

Thank you Jlalt for the help via skype.

Very much appreciated. <3 +rep'd
Forum: Scripting Help 05/10/2017, 04:24 PM
Replies: 5
Views: 365
Posted By Daymen
Re: SQL Issues

I wish I was home to do so, but, Iím at work.

I have the server log right at the top, but, thatís it.

I can tell you that the mysql plugin does load along with sscanf.

Those are the only two...
Forum: Scripting Help 05/10/2017, 04:01 PM
Replies: 5
Views: 365
Posted By Daymen
Re: SQL Issues

Willing to give my never-ending love to whomever can help.
Forum: Scripting Help 05/10/2017, 08:25 AM
Replies: 5
Views: 365
Posted By Daymen
SQL Issues

I'm attempting to initiate a basic SQL connection on a brand new script, and 'nativechecker' is telling me that these functions aren't registered:

[03:12:12] Error: Function not registered:...
Forum: Scripting Help 23/07/2017, 03:41 AM
Replies: 3
Views: 374
Posted By Daymen
Re: Help.

What kind of pickup are you attempting to do? Sometimes specific pickups HAVE to be on the ground. Such as a checkpoint sometimes bugs and it's portal reaches ground level but you can see it's...
Forum: Scripting Help 23/07/2017, 12:57 AM
Replies: 13
Views: 1,160
Posted By Daymen
Re: /asay color change

It won't bug your script.

You just need to make sure you're using it properly whenever you use it.
Forum: Scripting Help 23/07/2017, 12:48 AM
Replies: 24
Views: 1,033
Posted By Daymen
Re: help teleport

I don't understand what you mean by "disable" and "open" the command?

You mean like disable it so others can't use it?
Forum: Scripting Help 21/07/2017, 04:51 AM
Replies: 13
Views: 1,525
Posted By Daymen
Forum: Scripting Help 20/07/2017, 09:15 PM
Replies: 13
Views: 1,525
Posted By Daymen
Re: How to save stats after restart? +Rep

I think kicking every player would be a better solution though, seeing as if you just kill the gamemode and people are still connected, they will just appear to "lag out" on their screen and it will...
Forum: Scripting Help 20/07/2017, 09:07 PM
Replies: 5
Views: 572
Posted By Daymen
Re: I need help with a command

Add this a line above "if(AdminDuty[playerid]==0)":

new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));

Then replace "GetPlayerName(playerid));" where the error lines are...
Forum: Scripting Help 20/07/2017, 08:57 PM
Replies: 13
Views: 1,160
Posted By Daymen
Re: /asay color change

Even if you fixed it, I'd recommend my code. It's a lot more efficient and easier to understand.

Of course you don't have to, but, yours is very difficult to understand and edit in the future.
Forum: Scripting Help 20/07/2017, 08:55 PM
Replies: 5
Views: 545
Posted By Daymen
Re: Payday problem

I need to see what's happening in-game.

Post some gyazos or something of the chatbox, or use chatlogs to show us.

I need to see exactly what's happening and what is not working.
Forum: Scripting Help 20/07/2017, 02:56 AM
Replies: 14
Views: 741
Posted By Daymen
Re: onplayerkeystatechange "PRESSED" unexpected token

Glad I could of been of help. See yah around! =P
Forum: Scripting Help 20/07/2017, 02:02 AM
Replies: 14
Views: 741
Posted By Daymen
Re: onplayerkeystatechange "PRESSED" unexpected token

Update: Change they value 'KEY_JUMP' to '32' in my code, and it works perfectly fine.

I just actually tested it in my server and it works.

WARNING: You can just spam this button and it throws...
Forum: Scripting Help 20/07/2017, 01:55 AM
Replies: 14
Views: 741
Posted By Daymen
Re: onplayerkeystatechange "PRESSED" unexpected token

It's not sending the message at all? Nothing?
Forum: Scripting Help 19/07/2017, 10:52 PM
Replies: 7
Views: 838
Posted By Daymen
Re: Problem with response ; OnPlayerEditDynamicObject

Whenever you press the Floppy Disk icon, it saves the object's information and then processes an UPDATE so everyone is able to see it's changes.

That's why if you have an object editor, you can...
Forum: Scripting Help 19/07/2017, 10:47 PM
Replies: 12
Views: 908
Posted By Daymen
Re: [Scripting Help] Hitman Skills

I coded an entirely more efficient command for you. It could be even more efficient as to how it grabs the weapon choice typed and deals with it, but, I figured I'd keep it simple so you can...
Forum: Scripting Help 19/07/2017, 10:05 PM
Replies: 5
Views: 545
Posted By Daymen
Re: Payday problem

Can you provide screenshots or chat logs or something along the lines so I can see what you mean by "this balance isn't showing", etc.?
Forum: Scripting Help 19/07/2017, 09:58 PM
Replies: 14
Views: 741
Posted By Daymen
Re: onplayerkeystatechange "PRESSED" unexpected token

This should work.

Note: I just reworked your "Message" function so I could see if it would spit any errors when compiling. Simply replace this with your message function or test it with it, I...
Forum: Scripting Help 19/07/2017, 09:46 PM
Replies: 13
Views: 1,525
Posted By Daymen
Re: How to save stats after restart? +Rep

What you can simply do is just create a function that kicks every player right before you shut down the server.

This will force every player to endure the "OnPlayerDisconnect" code.

Meaning,...
Showing results 1 to 25 of 46

 

All times are GMT. The time now is 10:32 AM.


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