SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: JasonRiggs
Forum: Scripting Help 24/08/2018, 02:45 AM
Replies: 5
Views: 100
Posted By JasonRiggs
Re: Help me please

This doesn't make you "know" the date.. It stores the date in a variable then you can compare after making a timer.. It doesn't matter whether its sqlite or mysql or anything..
Forum: Scripting Help 24/08/2018, 02:39 AM
Replies: 5
Views: 100
Posted By JasonRiggs
Re: Help me please

this (http://wiki.sa-mp.com/wiki/Getdate) would help you a lot
Forum: Scripting Help 24/08/2018, 01:47 AM
Replies: 1
Views: 102
Posted By JasonRiggs
Re: GetPlayerCameraTargetActor

Try getting the player look at if its in range of the actor's position..

Try this (http://wiki.sa-mp.com/wiki/GetPlayerCameraPos) or this (http://wiki.sa-mp.com/wiki/GetPlayerCameraFrontVector)
Forum: Scripting Help 23/08/2018, 12:27 PM
Replies: 9
Views: 236
Posted By JasonRiggs
Re: problem with saying gang name

Just under the command "creategang" add format(pInfo[playerid][NameGang], sizeof(pInfo[playerid][NameGang]), "%s", gName); and keep your enums like that

enum ENUM_PLAYER_DATA
{
GangID,
...
Forum: Scripting Help 13/08/2018, 05:44 PM
Replies: 8
Views: 364
Posted By JasonRiggs
Re: OnPlayerRequestClass shows no skins even while AddPlayerClass is used.

Alright, So, If you think that you have made the camera pos and camera look at well (must be logical) then the only problem that may happen is that there would be another code overwriting this one.....
Forum: Scripting Help 31/07/2018, 11:44 AM
Replies: 2
Views: 169
Posted By JasonRiggs
Re: MAX Dynamic Objects

As far as I believe it's nothing related to the streamer, its just something related to overloading the script asking him to create 10k or 20k objects at the same time, So he'll just crash, try...
Forum: Scripting Help 31/07/2018, 11:33 AM
Replies: 22
Views: 416
Posted By JasonRiggs
Re: Object Help

You made some mistakes..

public OnGameModeInIt()
{
object = CreateObject(19360, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
}
cmd:test(playerid, params[])
{
EditObject(playerid, object);...
Forum: Server Support 29/07/2018, 09:51 AM
Replies: 13,873
Views: 1,550,643
Posted By JasonRiggs
Re: Looking for scripters/helpers? Post here!

Looking for someone to host a RP server.
Forum: Scripting Help 28/07/2018, 11:54 AM
Replies: 5
Views: 185
Posted By JasonRiggs
Re: Help me.

Inside your gamemode or a configuration file..
Forum: Scripting Help 28/07/2018, 11:50 AM
Replies: 5
Views: 185
Posted By JasonRiggs
Re: Help me.

You're using wrong information to login to the database.. Correct the information.
Forum: Scripting Help 28/07/2018, 11:47 AM
Replies: 18
Views: 711
Posted By JasonRiggs
Re: Actor Label

You should add a robbery timer or something to detect that the robbery is over, if yes, Delete the 3d text label and create a new one with the text you want
Forum: Scripting Help 28/07/2018, 11:38 AM
Replies: 4
Views: 449
Posted By JasonRiggs
Re: Progress Bar

I believe that's not the way you create a progress bar using Southclaw's include, Because it gets defined like textdraws, but created locally as far as I'm concerned..

So you must for example...
Forum: Scripting Help 26/07/2018, 03:31 PM
Replies: 11
Views: 435
Posted By JasonRiggs
Re: Damage bug

try return amount
Forum: Scripting Help 26/07/2018, 03:18 PM
Replies: 11
Views: 435
Posted By JasonRiggs
Re: Damage bug

OnPlayerWeaponShot, won't help you in the damage thing, The OnPlayerTakeDamage and OnPlayerGiveDamage, make sure that you return 1/return damage under them, But the weapon shot doesn't get into the...
Forum: Scripting Help 26/07/2018, 03:02 PM
Replies: 23
Views: 729
Posted By JasonRiggs
Re: Every hour and half a hour

That's WHY I'm saying set a 1 second timer! To be more accurate..
Forum: Scripting Help 26/07/2018, 02:19 PM
Replies: 23
Views: 729
Posted By JasonRiggs
Re: Every hour and half a hour

Why don't you make the timer every 1 second?? And use timerfix plugin, and check if the time is XX:00 or XX:30 and done..
Forum: Scripting Help 26/07/2018, 02:08 PM
Replies: 13
Views: 512
Posted By JasonRiggs
Re: Server Kicks Everyone Randomly

Show me the OnPlayerConnect code please..
Forum: Scripting Help 26/07/2018, 01:52 PM
Replies: 1
Views: 215
Posted By JasonRiggs
Re: GetPlayerCameraPos

Well, after reading this (http://forum.sa-mp.com/showthread.php?t=491604) Yeah, You can check if the objects coordinates is in range of the Camera Pos..
Forum: Scripting Help 26/07/2018, 01:45 PM
Replies: 2
Views: 190
Posted By JasonRiggs
Re: Help anti health armour cheat ?

You can set a timer.. Or download an anti-health or anti-armor hack filterscript
Forum: Scripting Help 26/07/2018, 01:43 PM
Replies: 4
Views: 188
Posted By JasonRiggs
Re: How to fix this error

lol??

@OP.. This error is because you're missing a function called udb_RenameUser.. And why are you missing it? Because you've copied this command from another gamemode without making sure that...
Forum: Scripting Help 26/07/2018, 01:23 PM
Replies: 8
Views: 262
Posted By JasonRiggs
Re: add params later on in command

ye sorry didn't notice..


if(level ==6)
{
if(sscanf(title, "s[128]", titlename)) return SendClientMessage(playerid, -1, "/makeadmin [playerid] 6 [title]");
}

Is that right, now?
Forum: Scripting Help 26/07/2018, 01:21 PM
Replies: 4
Views: 229
Posted By JasonRiggs
Re: [Help] pragma dynamic (undefined symbol "_is_now_DYNAMIC_MEMORY_")

Did you check this (http://forum.sa-mp.com/showthread.php?t=621202)???
Forum: Scripting Help 26/07/2018, 01:14 PM
Replies: 13
Views: 512
Posted By JasonRiggs
Re: Server Kicks Everyone Randomly

The script is calling the callback OnPlayerDisconnect when a player connects as far as I can see.. Can you show us your OnPlayerConnect?
Forum: Scripting Help 26/07/2018, 01:11 PM
Replies: 8
Views: 262
Posted By JasonRiggs
Re: add params later on in command

Isn't that what I've done?
Forum: Scripting Help 26/07/2018, 01:07 PM
Replies: 8
Views: 262
Posted By JasonRiggs
Re: add params later on in command

You should make at the beginning an optional param "S[128]"

So change your first sscanf params to this..

if(sscanf(params, "uuS[128]", id, level, title))

And add an exception in ur command.....
Showing results 1 to 25 of 500

 

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


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