SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 65
Search took 0.00 seconds.
Search: Posts Made By: cSharp
Forum: Scripting Help 18/09/2019, 01:08 PM
Replies: 4
Views: 159
Posted By cSharp
Re: Injecting samp.dll in to gta_sa.exe

ProcessStartInfo startInfo = new ProcessStartInfo(gtaPath + "/gta_sa.exe");
startInfo.Arguments = "-n " + token + " -h " + serverip + " -p 7777";
Process sanAndreas = Process.Start(startInfo);
...
Forum: Screenshots and Videos 15/07/2019, 06:30 PM
Replies: 1
Views: 368
Posted By cSharp
Re: Building Base

this is so old nor did u make this.
Forum: Scripting Help 24/05/2019, 09:20 PM
Replies: 4
Views: 127
Posted By cSharp
Re: discord connector | specific channel

Can you elaborate your question?
Forum: Scripting Help 24/05/2019, 08:13 PM
Replies: 8
Views: 209
Posted By cSharp
Re: mysql_tquery doesn't work

Your function is never called. There's no issue with the mysql_tquery function, there's an issue with your code, however.
Forum: Scripting Help 24/05/2019, 04:29 PM
Replies: 4
Views: 116
Posted By cSharp
Re: Help cant access admin cmd 1 if im admin cmd 2

i started crying reading your code so i fixed it for you:

// macros: max definitions
#define MAX_MESSAGE_LENGTH (144)
#define MAX_CHAT_INPUT (128)


// macros: color definitions...
Forum: Scripting Help 24/05/2019, 11:21 AM
Replies: 3
Views: 145
Posted By cSharp
Re: Problems with Register/Login (dini)

dude


ditch y_ini

why are you even using initialization files as a database in 2019?
Forum: Scripting Help 24/05/2019, 11:05 AM
Replies: 2
Views: 97
Posted By cSharp
Re: Lottery Help

how about no?
Forum: Scripting Help 24/05/2019, 11:02 AM
Replies: 8
Views: 209
Posted By cSharp
Re: mysql_tquery doesn't work

1. what's not working
2. wy are you using a "database prefix" < worded by you: when mysql literally does that for you? `database.table`
3. why are you not escaping your strings?
4. what's the size...
Forum: Scripting Help 22/05/2019, 10:49 AM
Replies: 7
Views: 223
Posted By cSharp
Re: How to check the highest value variable?

No... it would not.

new allPoints[7] = { -1, ... };

allPoints[0] = DisputaPM, allPoints[1] = DisputaBope, allPoints[2] = DisputaExercito, allPoints[3] = DisputaRota, allPoints[4] =...
Forum: Scripting Help 21/05/2019, 06:28 PM
Replies: 2
Views: 66
Posted By cSharp
Re: warning 211: possibly unintended assignment

i=sizeof(PlayerInfo);

>

i == sizeof(PlayerInfo);
Forum: Scripting Help 21/05/2019, 03:05 PM
Replies: 7
Views: 223
Posted By cSharp
Re: How to check the highest value variable?

new allPoints[7] = { -1, ... };

allPoints[0] = DisputaPM, allPoints[1] = DisputaBope, allPoints[2] = DisputaExercito, allPoints[3] = DisputaRota, allPoints[4] = DisputaGate, allPoints[5] =...
Forum: Scripting Help 21/05/2019, 02:42 PM
Replies: 7
Views: 223
Posted By cSharp
Re: How to check the highest value variable?

You should consider turning those variables into an array.

new allPoints[] = {
Variable1, Variable2, Variable3, Variable4, Variable5, Variable6
};

new largestIndex = -1;

for(new index...
Forum: Scripting Help 21/05/2019, 02:39 PM
Replies: 2
Views: 87
Posted By cSharp
Re: Quick question: MySQL

what the hell is that database structure dude?

https://forum.sa-mp.com/showthread.php?t=505081

add my discord if like... that tutorial doesn't clear out on how to structure your database...
Forum: Scripting Help 21/05/2019, 10:55 AM
Replies: 11
Views: 296
Posted By cSharp
Re: How to force a command in zcmd

That's not how it works guys...

new parameters[11+1+11+1];
format(parameters, sizeof parameters, "%i %i", id, quantidade);
cmd_pay(playerid, parameters);

The function only allows 2...
Forum: Scripting Help 20/05/2019, 09:58 PM
Replies: 2
Views: 127
Posted By cSharp
Re: MySQL hate me

Ensure mysql_log is set to ALL and then provide us with your errors.log file.
Forum: Plugin Development 20/05/2019, 09:09 PM
Replies: 21
Views: 2,991
Posted By cSharp
Re: samp-precise-timers ⌚: A timer plugin written in the memory-safe Rust language. Check it out, you might like Rust!

<3

The message you have entered is too short. Please lengthen your message to at least 4 characters.
Forum: Scripting Help 01/05/2019, 08:26 PM
Replies: 8
Views: 177
Posted By cSharp
Re: Help me

I literally already gave you a functioning code snippet for exactly that.
Forum: Scripting Help 01/05/2019, 02:48 PM
Replies: 8
Views: 177
Posted By cSharp
Re: Help me

Of what?... that's literally what you asked for.
Forum: Scripting Help 01/05/2019, 02:46 PM
Replies: 2
Views: 89
Posted By cSharp
Re: Why this command SQL is working, but in pawn not?

Because you're never sending the query.

mysql_tquery(ConnectMYSQL, query);
Forum: Scripting Help 01/05/2019, 11:05 AM
Replies: 19
UID
Views: 429
Posted By cSharp
Re: UID

Buddy.

This isn't a discussion of whether the INCLUDE DINI2 is shitty or not, this is about using initialization files as a database, something that is so fucking outdated I wanna cry when I see...
Forum: Scripting Help 01/05/2019, 11:02 AM
Replies: 8
Views: 177
Posted By cSharp
Re: Help me

I'm not entirely sure but something like this I believe?

new oldMessage[144+1];
strcat(oldMessage, TutorialData[index][tutorialMessage]);

for(new i = 0; i < strlen(oldMessage); i++) {
...
Forum: Scripting Help 30/04/2019, 08:27 PM
Replies: 8
Views: 187
Posted By cSharp
Forum: Scripting Help 30/04/2019, 05:04 PM
Replies: 8
Views: 187
Posted By cSharp
Re: Tutorial system in array?

enum E_TUTORIAL_DATA {
Float:tutorialCameraPosX,
Float:tutorialCameraPosY,
Float:tutorialCameraPosZ,

Float:tutorialCameraDirX,
Float:tutorialCameraDirY,
...
Forum: Scripting Help 30/04/2019, 04:52 PM
Replies: 8
Views: 187
Posted By cSharp
Re: Tutorial system in array?

for(new i=0;i<sizeof(CamViewTuts);i++){
SetPlayerCameraPos(playerid, CamViewTuts[i][camX],CamViewTuts[i][camY],CamViewTuts[i][camZ]);

new message[144+1];
format(message, sizeof...
Forum: Scripting Help 30/04/2019, 04:32 PM
Replies: 4
Views: 137
Posted By cSharp
Re: World Time Problem

nevermind. thought the server would deny the input.

https://i.imgur.com/9b56EXd.png
Showing results 1 to 25 of 65

 

All times are GMT. The time now is 04:03 AM.


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