Is 0.3d unstable?
#1

Can't get all of my commands to work. I've tried updating the plugins and includes but nothing worked.
Am i doing something wrong or is 0.3d unstable?

- Sasoft
Reply
#2

Depends on the natives your using, which natives in which code isn't working ?
Reply
#3

Like all the commands that are scripted with sscanf. It keeps crashing when someone uses the /admin chat by example.
Reply
#4

Quote:
Originally Posted by Sasoft
Посмотреть сообщение
Like all the commands that are scripted with sscanf. It keeps crashing when someone uses the /admin chat by example.
sscanf isn't yet stable with 0.3d, I'm sure Alex (******) will be updating it soon.
Reply
#5

Quote:
Originally Posted by =WoR=G4M3Ov3r
Посмотреть сообщение
sscanf isn't yet stable with 0.3d, I'm sure Alex (******) will be updating it soon.
Yes it is...
https://sampforum.blast.hk/showthread.php?tid=120356
Reply
#6

Quote:
Originally Posted by funky1234
Посмотреть сообщение
I haven't even seen that.. I've been away for a while.
Reply
#7

Quote:
Originally Posted by =WoR=G4M3Ov3r
Посмотреть сообщение
I haven't even seen that.. I've been away for a while.
I gathered, I hadn't seen you posting in a while
Reply
#8

I've updated it to the latest version of sscanf and it still keeps crashing.
Reply
#9

sscanf does not work with 0.3d release 2.
As it is right now, it only works with 0.3d release 1.

Although I'm sure ****** will update it soon.
Reply
#10

Downgrading to 0.3d R1 didn't work either.
This is one of the commands that cause a crash.


PHP код:
CMD:admin(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] >= 1)
    {
        if(!
isnull(params))
        {
            new 
Amessage[128];
            
            if(
PlayerInfo[playerid][pAdmin] == 1format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Moderator %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 2format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Basic Admin %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 3format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}General Admin %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 4format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Advanced Admin %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 1337format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Lead Admin %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 1338format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Admin Advisor %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 99998format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Executive Admin %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 99999format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Executive Admin %s: %s"GetPlayerNameEx(playerid), params);
            else if(
PlayerInfo[playerid][pAdmin] == 100000format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Developer %s: %s"GetPlayerNameEx(playerid), params);
            else 
format(Amessagesizeof(Amessage), "> Admin Chat: {FFFFFF}Undefined Admin (%i) %s: %s"PlayerInfo[playerid][pAdmin], GetPlayerNameEx(playerid), params);
            
SendAdminMessage(COLOR_ACTIONBLUEAmessage);
            
Log("logs/adminchat.log"Amessage);
        }
        else 
SendClientMessageEx(playeridCOLOR_GREY"[Server]: {FFFFFF}(/a)dmin [admin chat]");
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)