Search Results
if(!PlayerInfo[playerid][pLoggedIn] && !IsPlayerNPC(playerid))
that is saying if PlayerInfo[playerid][pLoggedIn] == 0, to continue, else if that equals 1, it will not do anything under those ...
235
http://forum.sa-mp.com/showthread.ph...php+signatures
188
Quote:
Originally Posted by SumX
so ...I have this command:randomgivemoney
PHP код:
#include <a_samp>
#include <ZCMD>
#include <foreach>
CMD:randomgivemoney
{...
208
You can choose a random Iter from foreach, using:
pawn Код:
Iter_Random(Player);
will return a random id of the list of connected players.
208
Do this
pawn Код:
stock PreloadAnimLib(playerid, animlib[]){ ApplyAnimation(playerid, animlib, "null" , 0.0, 0, 0, 0, 0, 0);}public OnPlayerSpawn(playerid){ PreloadAnimLib(playerid, "BE...
197
it usually only shows when a players money changes drastically, it can be kinda annoying. the only way that you would be able to disable this is to disable player money entirely, and use some sort of ...
223
can't see the images, can you use imgur.com?
567
replace Player[playerid][AdminLevel] with APlayerData[playerid][PlayerLevel]
378
pawn Код:
{5, "/vehicle <VehicleModel> <x> <y> <z> <Angle> <SpawnDelay>", "Create a vehicle"}
second to last line, add a "," at the end.
180
Quote:
Originally Posted by JaTochNietDan
I don't really know what you're asking, or what you are talking about.
When trying to run the server on windows, and we have #include <exec&...
5,603
Quote:
Originally Posted by Magic_Time
Well, that's simple.
But I don't know how to do it...
I've seen in some servers, that when I join in that server.
Show me a dialog to enter a passwo...
233
Is it possible to make a "dummy" windows plugin for this? Just so we won't get any errors while trying to run it on our PC, and not having to go back to your script and comment #include <exec> a...
5,603
Add debug lines through out your code, so you can see at what part the code stops/crashes.
such as
pawn Код:
print("Part 1 went through");
201
Your doing it reversed.
Correct way:
pawn Код:
if(strfind(pName, "_", true) != -1){format(sstring, 128, "You do not have an proper roleplay name! Example: John_Smith.");SendClientMessage(playeri...
181
Quote:
Originally Posted by TheWhiteEarth
ummm,
Proxy,Vpn
Then that's impossible, you can't figure out somone's real ip while they're using a proxy.
You can "blacklist" the words out ...
376
Quote:
Originally Posted by [Twixx]
Do all Windows plugins work on Linux if .so is added?
No, you gotta download the "linux" version of the plugin (most plugins have a linux [.so] versi...
312
Use the DNS Plugin to get their hostname, then just ban them with that and use strfind to see if it's a similar hostname.
376
Yep, all you gotta do is change all your plugins with the .so version of them, then in server.cfg instead of:
plugins pluginname
You gotta include the extension, such as:
plugins pluginname.so
312
Put this at the top of your script
pawn Код:
#define FINDPLAYER 553
Put this where ever you want some one to get the message box (maybe a CMD)
pawn Код:
ShowPlayerDialog(playerid, FINDPLAYER, ...
112
Nevermind, it does save, I guess it was just an issue with my player stats webpage.
97