SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 138
Search took 0.01 seconds.
Search: Posts Made By: IdonTmiss
Forum: Scripting Help 29/12/2018, 08:23 PM
Replies: 7
Views: 131
Posted By IdonTmiss
Re: [ YSI Error ? ]

Yeah I get the error for strmid, any help?


strmid(OI[id][oPreFix], prefix, 0, strlen(prefix), 5);


EDIT: FIXED !
Forum: Scripting Help 29/12/2018, 07:46 PM
Replies: 7
Views: 131
Posted By IdonTmiss
Re: [ YSI Error ? ]

Hmm, eariler it all worked good I don't know whats the problem... if it's 0 then it worked eariler too...

EDIT:

I get the error for this?


strmid(OI[id][oPreFix], prefix, 0,...
Forum: Scripting Help 29/12/2018, 07:22 PM
Replies: 7
Views: 131
Posted By IdonTmiss
Re: [ YSI Error ? ]

[20:09:53] Faction ID: 0



// Code: https://pastebin.com/0rSdVuNm

All tho "ID" = to this


new id = GetNearestOrganization(playerid);
Forum: Scripting Help 29/12/2018, 07:03 PM
Replies: 7
Views: 131
Posted By IdonTmiss
Re: [ YSI Error ? ]

Thanks btw

strmid(OI[id][oPreFix], prefix, 0, strlen(prefix), 10);


EDIT: Ill do a debug now

Yep that's the bug
Forum: Scripting Help 29/12/2018, 06:20 PM
Replies: 7
Views: 131
Posted By IdonTmiss
[ YSI Error ? ]

I get error, I mean nothing should be out of bonds, I typed LSPD and got this error...


[debug] Run time error 4: "Array index out of bounds"
[debug] AMX backtrace:
[debug] #0 000ce928 in ??...
Forum: Tools and Files 28/12/2018, 02:13 AM
Replies: 58
Views: 12,149
Posted By IdonTmiss
Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Thanks for all the help but Sublime 3 is still better than vscode for me :)
Forum: Tools and Files 27/12/2018, 11:18 PM
Replies: 58
Views: 12,149
Posted By IdonTmiss
Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Yeah I get most of that all tho I u just want the "-d3" message to appear with `sampctl package build`

Also I get this error with `sampctl package run`


ERROR: Failed to create scriptfiles...
Forum: Tools and Files 27/12/2018, 11:23 AM
Replies: 58
Views: 12,149
Posted By IdonTmiss
Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

.amx is there but that "sampctl server init --verbose" just keeps creating samp.yaml(.json) file
Forum: Scripting Help 27/12/2018, 05:02 AM
Replies: 5
Views: 878
Posted By IdonTmiss
Re: Vehicle Panels in 0.3e

Really?

6 yrs old

"Posted 13.05.2012, 16:20"

0.3.7-R2 wasn't even out then lol
Forum: Tools and Files 27/12/2018, 04:52 AM
Replies: 58
Views: 12,149
Posted By IdonTmiss
Re: sampctl: The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer

Can't get build to work correctly even tho I set it up good?


When I run the build this come's out

sampctl package build dev
INFO: Build dev successful with 0 problems


pawn.json
Forum: Scripting Help 25/12/2018, 02:13 AM
Replies: 4
Views: 107
Posted By IdonTmiss
Re: [ Pawn.CMD ] Blocking Commands

Hmm thanks for the advice but I figured it out, not using the strcmp or anything, but thanks anyway :)
Forum: Scripting Help 25/12/2018, 02:00 AM
Replies: 4
Views: 107
Posted By IdonTmiss
Re: [ Pawn.CMD ] Blocking Commands

I tried it like this but it gives an error


if((my code) && cmd != ban)
{
SendClientMessage(playerid, -1, "Error !");
return 0;
}
// error 017: undefined symbol...
Forum: Scripting Help 25/12/2018, 01:52 AM
Replies: 4
Views: 107
Posted By IdonTmiss
[ Pawn.CMD ] Blocking Commands

I wanted to block all commands expect only one, I wanted to do it on the callback "OnPlayerCommandReceived" but can't get it to work, do I need to add code to every command that I want to block like...
Forum: Scripting Help 20/12/2018, 08:40 PM
Replies: 4
Views: 117
Posted By IdonTmiss
Re: [ MySQL ] Query Error

I'm retarted I had a missing parametar...
Forum: Scripting Help 20/12/2018, 01:11 PM
Replies: 4
Views: 117
Posted By IdonTmiss
[ MySQL ] Query Error

// Fixed thanks
Forum: Scripting Help 19/12/2018, 09:08 AM
Replies: 2
Views: 101
Posted By IdonTmiss
Re: [ MySQL] Error

EDIT: Thanks ! :)
Forum: Scripting Help 19/12/2018, 12:31 AM
Replies: 2
Views: 101
Posted By IdonTmiss
[ MySQL] Error

I get this error


[01:26:07] [plugins/mysql] error #1064 while executing query "INSERT INTO `users`...
Forum: Scripting Help 11/11/2018, 01:24 PM
Replies: 8
Views: 227
Posted By IdonTmiss
Re: Day started

AHHAAHHAHAHAHAHAHAHAHAHAHAH
Forum: Scripting Help 11/11/2018, 12:38 PM
Replies: 2
Views: 94
Posted By IdonTmiss
Re: OnPlayerEditObject [ crashdetect ]

if(editing[playerid] == 9)
{
if(response == EDIT_RESPONSE_FINAL)
{
new treeid = 0;
for(new b = 0; b < sizeof(TI); b++) { if(TI[b][tSQLID] != 1) treeid= b + 1; }...
Forum: Scripting Help 10/11/2018, 11:29 AM
Replies: 2
Views: 94
Posted By IdonTmiss
OnPlayerEditObject [ crashdetect ]

I am doing a system for dynamic X-MAS trees and I've come across this problem....


[debug] #0 00316f58 in public OnPlayerEditObject (playerid=0, playerobject=0, objectid=582, response=1,...
Forum: Scripting Help 07/11/2018, 02:45 PM
Replies: 8
Views: 234
Posted By IdonTmiss
Question about Name's and getting them

So is this better


new playerName[MAX_PLAYERS][MAX_PLAYER_NAME];

public OnPlayerConnect(playerid)
{
GetPlayerName(playerid, Player_Name[playerid], MAX_PLAYER_NAME);
return 1;
} //...
Forum: Discussion 07/11/2018, 12:48 PM
Replies: 17
Views: 966
Posted By IdonTmiss
Re: Saving players stats on changes or in timer? [MySQL]

Damn, he said it all, don't use Timers, I mean they're bad atleast for me and he said everything ( the post above )
Forum: Scripting Help 05/11/2018, 07:54 PM
Replies: 6
Views: 132
Posted By IdonTmiss
Re: [ MySQL ] AI Problem

Well when I get hSQLID = 6, and I delete it ingame it doenst delete on the database beacuse it deletes the ID of the vehicle... so should I just delete it by their SQLID-s not by IN-game IDs?
Forum: Scripting Help 05/11/2018, 07:39 PM
Replies: 6
Views: 132
Posted By IdonTmiss
Forum: Scripting Help 05/11/2018, 03:49 PM
Replies: 6
Views: 132
Posted By IdonTmiss
Re: [ MySQL ] AI Problem

Question is how?
Showing results 1 to 25 of 138

 

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


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