SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Crayder
Forum: Scripting Help 14/04/2019, 08:29 AM
Replies: 1
Views: 119
Posted By Crayder
Re: Need help with /addhouseint commands

Create[Dynamic]Pickup is the function you're looking for, or you can fancy your own pickup system that moves the object up and down.

Currently you just create the object and an area to detect...
Forum: Scripting Help 10/04/2019, 05:29 AM
Replies: 3
Views: 148
Posted By Crayder
Re: What's the problem?

Show us the definitions of SQL_HOST, SQL_USER, SQL_PASSWORD, and SQL_DATABASE.
Forum: Scripting Help 10/04/2019, 04:19 AM
Replies: 3
Views: 154
Posted By Crayder
Re: Custom mappings do not show

FALSE.

---------------------------------------------------------------------------------

You're likely using streamer, correct me if I'm wrong.

Since you are in class selection, objects do...
Forum: Scripting Help 10/04/2019, 04:14 AM
Replies: 1
Views: 119
Posted By Crayder
Re: Dark shadow

SetObjectMaterial(objectid, 0, -1, "none", "none", 0xFFFFFFFF);

That will set the texture to the highest brightness supported by the object.


EDIT: Oh! You mean the mini-map shadow detector...
Forum: Scripting Help 09/04/2019, 07:55 AM
Replies: 8
Views: 196
Posted By Crayder
Re: Error: Function not registered: 'WP_Hash'

You'll have much better luck just using a newer gamemode or making your own from scratch. Keep in mind, making your own may seem scary, but it's so much better. Don't go for a high number of lines,...
Forum: Scripting Help 08/04/2019, 11:57 PM
Replies: 8
Views: 196
Posted By Crayder
Re: Error: Function not registered: 'WP_Hash'

https://github.com/maddinat0r/sscanf
https://forum.sa-mp.com/showthread.php?t=570927

Also, your YSI is outdated... YEARS AGO. Are you trying to use an old gamemode?
Forum: Scripting Help 05/04/2019, 04:54 AM
Replies: 11
Views: 459
Posted By Crayder
Re: About the wrong command

Okay. Then first I'd highly recommend using a command processor such as SmartCMD or Pawn.CMD, they are advanced but still great for beginners (YCMD, which is my choice, is GREAT as well, but may be a...
Forum: Scripting Help 03/04/2019, 04:26 AM
Replies: 11
Views: 459
Posted By Crayder
Re: About the wrong command

Again, different command processors go about this different ways.

From my understanding you wish to display a message like "Sorry the command '/hel' doesn't exist! Did you mean '/help'?"

To do...
Forum: Tools and Files 02/04/2019, 04:17 AM
Replies: 13
Views: 2,115
Posted By Crayder
Re: PAWN Fiddle - Share & run PAWN code online

In recap of my previous comment, I have nothing against this being a Gamemode Fiddler. I just think that name is better in this case. In fact I prefer the idea of having the option to run a SA-MP...
Forum: Tools and Files 01/04/2019, 08:58 PM
Replies: 13
Views: 2,115
Posted By Crayder
Re: PAWN Fiddle - Share & run PAWN code online

Considering it literally uses a SA-MP server instead of a separate PAWN implementation, this isn't a "PAWN Fiddler." It's a SA-MP Gamemode Fiddler.

Also, can't include a_samp.
Forum: Scripting Help 31/03/2019, 05:38 AM
Replies: 2
Views: 165
Posted By Crayder
Re: GetValidStats();

if(!strcmp(hostname,Server[validhostname],false))
{
format(szCmd, sizeof(szCmd), "hostname %s", Server[validhostname]);
SendRconCommand(szCmd);
}

In this 'if' line you...
Forum: Scripting Help 31/03/2019, 05:34 AM
Replies: 6
Views: 215
Posted By Crayder
Re: Vehicle passenger iterator

Yeah this is actually exactly what you probably want to do! Nice usage of an iterator... however, you may want to use "multi-iterators" instead of an array of iterators.

See here...
Forum: Scripting Help 31/03/2019, 05:27 AM
Replies: 11
Views: 459
Posted By Crayder
Re: About the wrong command

No. This is something you'll have to implement.

Which command processor are you using? Most of the more modern ones such as SmartCMD, Pawn.CMD, or YCMD all include ways to define alias commands to...
Forum: Scripting Help 30/03/2019, 05:31 PM
Replies: 8
Views: 333
Posted By Crayder
Re: Generate random

I was just trying to make it easy for him to understand the code honestly, in a way that I could type it on my work tablet which wasn't too terrible, but good points xD
Forum: Scripting Help 30/03/2019, 07:50 AM
Replies: 8
Views: 333
Posted By Crayder
Re: Generate random

lol

This is essentially correct...However, since the dash makes each group actually FIVE chars, the code should be:if(i % 5 == 0 && i != 0) // If 'i' is a multiple of 5 and 'i' is not 0
Forum: Scripting Help 29/03/2019, 04:20 AM
Replies: 7
Views: 225
Posted By Crayder
Re: Need help with hospital spawn

We don't know what you have to do. You didn't explain anything and you didn't even give us real code. WHAT are you trying to do? What is your goal and what the hell is the problem?
Forum: Scripting Help 29/03/2019, 04:18 AM
Replies: 1
Views: 106
Posted By Crayder
Re: HELP-ME

You can't add images, unless you use custom textures via 0.3dl custom models.

But, everything you see in those pictures is done with Texture Studio [or a similar editor] most likely. Check it out...
Forum: Scripting Help 29/03/2019, 04:07 AM
Replies: 8
Views: 333
Posted By Crayder
Re: Generate random

Or you can just not fail and do something similar to this;

GenerateRandomString()
{
new str[24];

// 0 = char 48
// A = char 65
// a = char 97
Forum: Scripting Help 29/03/2019, 03:24 AM
Replies: 7
Views: 225
Posted By Crayder
Re: Need help with hospital spawn

Not sure exactly what your issue is... but...

OnPlayerSpawn is called when a player is set to spawn, before actually spawning. Honestly setting the player's position there isn't the best option, a...
Forum: Plugin Development 23/03/2019, 05:33 AM
Replies: 5,544
[Plugin] Streamer Plugin
Views: 3,132,022
Posted By Crayder
Re: Streamer Plugin

Nope, just the limit of your pc
Forum: Scripting Help 12/03/2019, 02:00 AM
Replies: 5
Views: 231
Posted By Crayder
Re: Help with Texture Studio

Do you have the latest version in the releases section? I tested and this one is working just fine, though I have had a couple other people say the latest version doesn't work (also note I've heard...
Forum: Scripting Help 09/03/2019, 11:24 PM
Replies: 5
Views: 231
Posted By Crayder
Re: Help with Texture Studio

Looks like it loading okay and stuff, does it say unknown command in game? Try removing fsdebug, if that makes commands works also try loading fsdebug before tstudio.
Forum: General 03/03/2019, 03:20 PM
Replies: 7
Views: 935
Posted By Crayder
Re: Music Licensing

Sir, we're not discussing any mod or anything. We're talking about streaming music. At this point, nobody gives a shit what infringing things this mod does to the game. "fuck up Rockstar's image......
Forum: General 02/03/2019, 07:05 PM
Replies: 7
Views: 935
Posted By Crayder
Re: Music Licensing

In that case should they be playing GTA? GTA has a lot of music and language a LOT of people probably do not like. If a song is relative to a server and you have licensing then I recommend playing...
Forum: Plugin Development 01/03/2019, 08:38 PM
Replies: 412
Views: 90,256
Posted By Crayder
Re: SampSharp - Write gamemodes in .NET

Sweet, easy! What a newb
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 08:16 PM.


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