Search Results
I have a little problem with OnPlayerRequestSpawn problem, don't understand what is wrong at the condition...
Defines/vars used:
pawn Код:
#define id           playerid#defi...
91
Quote:
Originally Posted by CaHbKo
I've found a code like yours that works and been looking for difference, and found one.
Код:
}, //
};
Replace with
Код:
} //
};
F**k, I'm to...
216
Quote:
Originally Posted by Jeffry
pawn Код:
new gHouseInteriors[][] = {
Compiled fine for me.
pawn Код:
new Float:gHouseInteriorPos[][] = {
F:\SERVER~1\SA-MP\SAMP03~3\GAMEMO~1...
216
Quote:
Originally Posted by CaHbKo
Those are strings. You have 2 dimensions with 294 cells, while trying to use ~5000 cells. You need a 3rd dimension added with the maximum size of the str...
216
I have a problem with arrays (I'm not sure if this how should I call them).
I made this:
pawn Код:
//Â Â x, Â Â Â Â Â Â Â Â y, Â Â Â Â Â Â Â Â Â z, Â Â Â Â Â interiorid, Â Â...
216
So, how should I do? As in 0xFF0000 are letters too, not only numbers :-s
219
I'm trying to make a text fade function, and I have a little problem:
This is my function..
pawn Код:
public OnTextFade(Text:textid, textcolor)
The error occurs here:
pawn Код:
format(string...
219
Well, I want to do the next thing. Depending on how many teams are available, create classid's/skins or whatever. This is what I got so far, I thought is gonna work.
I've got this for gTeams variable...
89
Quote:
Originally Posted by sebacol
I created this script:
Код:
if (strcmp("/alogin", cmdtext, true, 10) == 0)
{
new name[250];
GetPlayerName(playerid ,name, 200);
new query[300];
ne...
149
Bump?! (another 12 hours passed)
Really no-one?
173
pawn Код:
#include "../include/a_sampmysql.inc"
This for what?
pawn Код:
#include <a_samp>#include <a_mysql>
You should put your include file (a_samp.inc & a_mysql.inc), in yo...
149
Quote:
Originally Posted by AlbanianGuy
Quote:
Originally Posted by chosen
I think you can do this with a timer:
pawn Code:
new score = GetPlayerScore(playerid);if(score == x)...
175
Put it above this line
pawn Код:
SetPlayerHealth(giveplayerid, 100);
129
I think you can do this with a timer:
pawn Code:
new score = GetPlayerScore(playerid);if(score == x){ if(gTeam[playerid] != TEAM_GENERAL) //your team here {  gTeam[playerid] = TEAM_GENERAL; /...
175
Why don't you learn how to use the search button?
Here: http://forum.sa-mp.com/index.php?topic=148182.0
182
On top of your script:
Код:
#include <mysql>
Then put the mysql.inc file inside your pawno's include folder.
182
pawn Код:
new Float:health;GetPlayerHealth(giveplayerid,health);if(health >= 100.0){Â Â SendClientMessage(playerid, COLOR_GREY,"That person is fully healed.");Â Â return 1;}
Something like...
129
pawn Код:
if(strcmp(cmd, "/togpm", true) == 0){Â Â if(IsPlayerConnected(playerid))Â Â {Â Â Â Â if(PlayerInfo[playerid][pDonateRank] == 2)Â Â Â Â {Â Â Â Â Â Â if (!HidePM[playerid...
143