Search Results
Hi guys, I am currently working on a system which is sensitive to spaces.
It reads values from a simple file like this.
Код:
Permission1
-Permission2
Permission3
ThisWouldBeTheError
If you didn'...
55
Hello, so I recently switched up to using y_ini, and can someone please explain to me the 'INI_ParseFile' function, because I just don't get it in the topics. I'm trying to make the log in part of thi...
50
Hey guys! I'm trying to make a aircraft panel for my server right now. But, I'm having trouble getting the letter size to be like the one in the picture below. I tried PlayerTextDrawLetterSize but the...
50
Quote:
Originally Posted by Disturn
Your whole syntax is incorrect, this is why you received the error. "then" isn't a keyword in PAWN, and you also need to wrap your conditional statement...
120
Quote:
Originally Posted by mincer1667
pawn Код:
COMMAND:admins(playerid, params[]){Â Â new AdminCount = 0;Â Â foreach(Player, i) { if(pData[i][AdminLevel] >= 1) AdminCount++; }...
120
Hi guys, when I was making this small piece of code, I thought I was programming in Lua so I put this down:
pawn Код:
COMMAND:admins(playerid, params[]){Â Â new AdminCount = 0;Â Â foreach(Pla...
120
Ok mSp, dose it use Whirlpool tho?
164
Ok, that worked, thank's Dwawne +1 rep to you.
But, now I got a new bug.
I can input any password to the login dialog and it will allow me access and it wont kick me.
164
Er, they are
Код:
#define UserFile "Database/Users/%s.ini"
Код:
new Name[MAX_PLAYER_NAME], File[256];
GetPlayerName(playerid, Name, sizeof(Name));
format(File, sizeof(File), UserFile, Name);
164
Ok, the problem is that even AFTER I have registered an account, when I return to the server, it show's the dialog "Register". I'm doing something wrong somewhere and it's probably an easy fix. Could ...
164
Quote:
Originally Posted by Mean
As for
you need to add:
pawn Код:
#pragma unused AntiCheat
I wont be needign to do that as I'm scripting the AntiCheat later on.
116
Read the first post. I said I commented the lines.
116
I know I'm doing something stupid somewhere.
I've commented the lines what have there error's with "ERROR".
pawn Код:
public OnGameModeInit(){Â Â //////////////////////////////////////////////...
116
Ok, I swapped GetInt for GetString.
This is now what I have.
Код:
C:\DOCUME~1\Ed\MYDOCU~1\SA-MPH~1\Server\GAMEMO~1\HIGHWA~1.PWN(402) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Ed\...
88
Код:
C:\DOCUME~1\Ed\MYDOCU~1\SA-MPH~1\Server\GAMEMO~1\HIGHWA~1.PWN(387) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Ed\MYDOCU~1\SA-MPH~1\Server\GAMEMO~1\HIGHWA~1.PWN(387) : warning 2...
88
You see, when I do give the correct password, it will say incorrect password.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){Â Â switch(dialogid)Â Â {Â...
88