Search Results
Ah damn it. Thanks. I didn`t see it!
56
Well, have you included a_objects.inc?
Код:
#include <a_objects>
99
Hi there. I`m currently working on a property system and I have a little problem. Everything works fine, except the creation of the Labels.
Here`s my function for data initalization (mysql based). I ...
56
Quote:
Originally Posted by Max_Coldheart
Ask for password and save it in file. When he connects request password and check if it Matches The one in file
That`s actually a normal login ...
84
Use this:
Код:
new string[128]; GetPVarString(playerid, "PlayerPassword", string, 65);
if(strcmp(inputtext, string, false) != 0) //This is the line
{
The problem: GetPVarString doesn`t return a v...
199
Try this:
under the 'main()' (not inside it!) add this:
Код:
enum FirstSpawn
{
pIsFirstSpawn
};
new pSpawnInfo[MAX_PLAYERS][FirstSpawn];
now inside the OnPlayerConnect callback add this:
Ко...
135
Hello there. I`m having a problem with spawning a player after login. At the OnGameModeInit I have a class defined, under OnPlayerSpawn I have nothing scripted and I spawn the player after he click a ...
109
Okay, I don`t have much time and I hope you`re a fast learner. I`ll show you my Loading and Saving function for MySQL and a brief explanation and I hope you`ll understand.
Loading:
Код:
public Lo...
131
Hello. I have a problem with saving player data on a MySQL based system when I use the 'gmx' command. If I set it to save everything when you type the gmx command and I have the autosave at OnPlayerDi...
36
Hi there folks!
Okay, so I have a little problem with colouring the dialog`s texts. I know that I must type something like: "{color#}I script for samp" to add a color. But what if I want two collors?...
82
Okay, worked, thanks. Maybe it was too late and I was too tired to see that
71
Hi there folks!
I`ve got a little problem. I`m getting some data from a MySQL table and then I want to set the gamemode, hostname and mapname using that data and this code:
Код:
new gamemodetex...
71
Okay, problem solved. Lock!
93
For the first error, you defined the variable "string" two times.
For the second, you use the variable "housename" but you haven`t defined it yet.
The other two are warnings. Add a "#pragma unused t...
260
Hello there. I have a little problem with checking a variable. I`ll show you the code and explain it.
Код:
if(GetPVarInt(playerid, "skinselectionscreen") == 1)
{
new selector;
if((new...
93
It worked! Thanks very much!
129
Here:
Код:
stock dini_Get(filename[],key[]) {
new tmpres[DINI_MAX_STRING];
new key_length = strlen(key);
if (key_length==0 || key_length+2>DINI_MAX_STRING) return tmpres;
new File:fohn...
129