strcmp
#1

pawn Code:
if(strcmp("/stopcar", cmdtext, true, 10) == 0)
    {
        if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
        {
            new string[256];
            new sendername[MAX_PLAYER_NAME];
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "*Federal Member %s is ordering you to stop you'r car.", sendername);
            ProxDetector(45.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        }
        else
        {
            SendClientMessage(playerid, WHITE, "("COL_RED"Greska{FFFFFF}!) You are not federal member!");
        }
        return 1;
    }





I got 7 errors
Reply
#2

Show the errors
Reply
#3

I can't .. my compiler wont start :@ is there any web compiler?
Reply
#4

What do you mean 'won't start'? The compile crashes/freezes?

If so you'll need to do a process of elimination - comment out lots of code at a time then compile, when it compiles okay you know where the problem is - you just commented it out. It's likely an array problem.
Reply
#5

When i run , it show the error " Unable to execute compiler"
Reply
#6

Run pawno.exe and/or pawncc.exe as admininstrator and/or in compatibility mode.
Reply
#7

Again .. error

Reply
#8

It clearly mentions to re-install it.
Reply
#9

Reinstalled 1000 times :@
Reply
#10

Quote:
Originally Posted by Stereotype
View Post
Reinstalled 1000 times :@
Do you have multiple Pawno IDE's installed? If so, do you double click the pawno.exe to open your IDE or do you double click scripts? Windows will internally save the path to one of the pawno.exe's and keep opening scripts with that particular one, resulting in you attempting to open the same one over and over again even if you installed a new pawno IDE.

Just an idea ofc =)
Reply
#11

Don't re-install SAMP Client. Re-install the server package.
Reply
#12

I know , LIBMYSQL.dll is missing , may that is problem i dunno :/
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)