Search Results
Ok so i was working with RobMob today and the Gamemode that we were working on is 14417 lines long, so when we compile it we get this:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPha...
172
Quote:
Originally Posted by yoan103
Код:
return 0;
}
put this in the end of the code
No, Thats just pointless that would do nothing but make the server return unknown command.
160
That didn't help , I changed the 'true' to a 'false' and still ended up with the same outcome.
160
If you're getting a segmentation fault is means you're samp server executable is corrupt, You can't just upload the package to a linux build, You need to use 'wget' to obtain the package then unzip it...
238
Код:
if(strcmp(cmd, "/admins", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new count;
for(new w = 0; w < MAX_PLAYERS; w++)
{
if(IsPlayerConnected(w))
{
n...
145
Wouldn't removing the Login/Register functionality render the Administration system useless?.
238
Code:
new Float:PlayerHealth, Float:PlayerArmour, IP[20];
GetPlayerHealth(idplayer, PlayerHealth);
GetPlayerArmour(idplayer, PlayerArmour);
GetPlayerIp(idplayer, IP, sizeof(IP));
format(string, size...
121
So if i change the 'true' to 'false' it would return a 1?.
160
Hey there i have coded a command were if a player types "/teleport [DESTINATION]" it teleports them to that destination but its always returning the first if statement no matter what you type heres th...
160
You could setup a Control Panel on the server you are hosting it on, You would have to setup a Webserver on the machine you're hosting your server on though, Once you have done that there are many fre...
252
OK so i have this if statement in OnPlayerCommandText in my FS.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(PlayerInfo[playerid][Jailed] == 1) return SendClientMessage(playerid, Ad...
67
Quote:
Originally Posted by dice7
what are the lines 781 and 782
nvm, found it
pawn Код:
if(!strlen(Weapon)) return SendClientMessage(playerid, AdministrationError, "USAGE: /weapon [...
161
Quote:
Originally Posted by gotenks918
I know this doesn't really relate to your problem, but you should use ZCMD.
Looking into it now thanks
Quote:
Originally Posted by DarK...
108
Nice tutorial, But there's a flaw, You should check the Username and Password for MySQL injection just by simply using:
Код:
mysql_real_escape_string();
But using that your going to ensure nobody...
196
This is my SetLevel command i have coded using SSCANF, But i am getting errors on the Level setting.
Код:
dcmd_setlevel(playerid,params[])
{
if (PlayerInfo[playerid][Level] > 1)
{
new Leve...
108
Lol, I don't think you are getting the point, I just want to fix my errors not replace it with another command, And its pretty pointless using strtok with DCMD
161
I'm not using LAdmin its a custom admin system i am coding.
161
If you have downloaded the package then uploaded it chances are you have corrupt it.
To download it properly do
Code:
cd your/directory
wget http://files.sa-mp.com/samp03asvr_R4.tar.gz
then unzip ...
298
Ok so i have got a GiveWeapon command, I've got the params of the sscanf so it has the weapon id too, This is the command:
Код:
dcmd_giveweapon(playerid, params[])
{
new Weapon;
new string[128];...
161