need a little help
#1

hey guys i was just making just getting this error on this script

you can see the script from here
PASTEBIN:- http://pastebin.com/ExH30tan

HERE is the error
Код:
E:\GTA SA AND SA\BRMember.pwn(94) : error 037: invalid string (possibly non-terminated string)
E:\GTA SA AND SA\BRMember.pwn(94) : error 017: undefined symbol "BR"
E:\GTA SA AND SA\BRMember.pwn(94) : error 029: invalid expression, assumed zero
E:\GTA SA AND SA\BRMember.pwn(94) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

you forgot to close the strings in the two top-snippets for new commands...
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/BR 5", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]FaqahaT_     -Owner/Founder");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Pranesh      -Leader");
        return 1;
    }
    if (strcmp("/BR 4", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Robin_Vinci     -Executive");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Yahya__         -Executive");
        return 1;
    }
    if (strcmp("/BR 2", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Sarkozy         - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Shadow[ITA]     - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]RoXy            - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Ronnie.         - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Rubezz101       - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Gangsta_Pavel   - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Ali             - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Rat3d_R3o       - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]RealCat_        - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Shawn           - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Rubezz101       - BR Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Marwan          - BR Member");
        return 1;
    }
    if (strcmp("/BR 3", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]ChronicZ        - BR Pro Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Tuningstyle[JG] - BR Pro Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Slava_Chernous  - BR Pro Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Jamal           - BR Pro Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Viper           - BR Pro Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Stryker         - BR Pro Member");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]RedBuLL         - BR Pro Member");
        return 1;
    }
    if (strcmp("/BR 1", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, COLOR_DARKGREY, "______List Of BR Members____");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Sento           - BR Trial");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Dzean           - BR Trial");
        SendClientMessage(playerid, COLOR_DARKGREY, "- [BR]Ante_Serbedzic  - BR Trial");
        return 1;
    }
    return 0;
}
Reply
#3

Look at br 2 the last message you forgot to put ";"
Reply
#4

thnks guys
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)