Scripter and help is wanted... -
CrossUSAAF - 19.06.2012
Hello there!
So, I'm running light edited version from LVRCR 1.8, but I need some bug fixes to this game mode and maybe something more.
I'm concerned about the log in and register system. Users need to use /register (password) and /login (password) to chat. I Don't have idea how to replace this log in and register system to dialogs, what shows "oooo" when user writes his password. Maybe I can paste here the normal code and helpful guys help me?
Here is it:
Код:
public OnPlayerConnect(playerid)
{
new str[100], str2[100], string[100];
GetPlayerName(playerid, str, 24);
format(str2, 100, "\2;%s(%d) Has Joined **** v%s\2;", str,playerid,sversion);
format(str, 100, "%s(%d) Has Joined **** v%s", str,playerid,sversion);
printf("%s",str);
for(new i=0; i<MAX_PLAYERS_; i++) {
if(IsPlayerConnected(i) && i != playerid) {
SendClientMessage(i,0x808080AA, str);
GiveScoreTimer[playerid] = SetTimerEx ("GivePlayerScore", 1000*60, true, "d", playerid);
}
}
TogglePlayerClock(playerid,true);
InShamal[playerid] = 0;
SetPlayerColor(playerid,COLOR_DEADCONNECT);
SetPlayerVirtualWorld(playerid,0);
format(string, sizeof(string), "**** - Script Version %s",sversion);
SendClientMessage(playerid,COLOR_WHITE, string);
SendClientMessage(playerid,0x87CEEBAA, "This is NOT a deathmatch server. Please do not randomly kill players in here");
SendClientMessage(playerid,0x87CEEBAA, "Visit our website to report bugs, give suggestions, complaints and etc.");
SendClientMessage(playerid,0x87CEEBAA, "There is a full list of commands/rules and other information on our website, so you should visit." );
SendClientMessage(playerid,0x87CEEBAA, "Visit our website at: ****");
format(string, sizeof(string), "~w~Welcome to~n~****~n~~b~version %s!",sversion);
GameTextForPlayer(playerid,string, 6000, 0);
if(udb_Exists(PlayerName(playerid))) {
SendClientMessage(playerid,0x9ACD32AA,"This Playername is Registered. Please login before you can spawn");
SendClientMessage(playerid,COLOR_RED,"Please use command /login (password) to login before you can spawn");
}
else
if(!udb_Exists(PlayerName(playerid))) {
SendClientMessage(playerid,0x9ACD32AA,"This Playername has not yet been registered. You must register on this server before you can play.");
SendClientMessage(playerid,COLOR_RED,"Please use /register (password) to register before you can spawn");
}
KilledHimself[playerid] =0;
SpamStrings[playerid] =0;
GotCopBriberecently[playerid] =0;
CanUseArmy[playerid] =0;
PlayerAdminLevel[playerid] =0;
AdminKilled[playerid] =0;
TimeToMoveTwoFourSeven[playerid] =999;
RobbedCash[playerid] =0;
BankCashReturns[playerid] =0;
BankRobInsurance[playerid] =0;
AbandonedCopCar[playerid] =1;
HasCried[playerid] =0;
IsSpawned[playerid] =0;
zoneupdates[playerid] = 0;
player_zone[playerid] = -1;
Jailed[playerid] =0;
Frozen[playerid] =0;
cuffed[playerid] =0;
Kicking[playerid] =0;
Chlamydia[playerid] =0;
Banning[playerid] =0;
PlayerRobwwait[playerid] =1;
Tazed[playerid] =0;
hastazer[playerid] =0;
LawEnforcementRadio[playerid] =0;
HasLawEnforcementRadio[playerid] =0;
ReqBk[playerid] =0;
ReqBkRecent[playerid] =0;
ReportedRecent[playerid] =0;
wantsheal[playerid] =0;
wantscure[playerid] =0;
wantsmechanic[playerid] =0;
RecentAskedMechanic[playerid] =0;
RobbedCasRecent[playerid] =0;
RobbedPlyRecent[playerid] =0;
Wantsfood[playerid] =0;
sellfoodrecently[playerid] =1;
Salmonella[playerid] =0;
askedforfood[playerid] =0;
askedforweapons[playerid] =0;
Wantsguns[playerid] =0;
OfferedGuns[playerid] =0;
Muted[playerid] =0;
PlayerDrugs[playerid] =0;
wantsdrugs[playerid] =0;
solddrugsrecent[playerid] =0;
JailTime[playerid] =0;
StoleCopCarRecent[playerid] =0;
playerondrugs[playerid] =0;
playertookdrugs[playerid] =0;
HasDrugBag[playerid] =0;
triedtoescaperecent[playerid] =0;
cannotescapejail[playerid] =0;
CopWaitBetweenRefills[playerid] =0;
VisitReq[playerid] =0;
EscapedConvict[playerid] =0;
VisitReqExpires[playerid] =0;
HasHitOnHim[playerid] =0;
InAlcatraz[playerid] =0;
PLAYERLIST_authed[playerid]=false;
loginchances[playerid] =0;
BankCash[playerid] =0;
UsedBankRecently[playerid] =0;
InBank[playerid] =0;
Playerrobbedbankrecent[playerid] =0;
InDerby[playerid] =0;
commitedcrimerecently[playerid] =0;
copshavevc[playerid] =0;
fixedcarrecent[playerid] =0;
//NewCash[playerid] =0;
OldCash[playerid] =0;
RegularPlayer[playerid] =0;
InAdminHQ[playerid] =0;
autobahnowner[playerid] =0;
drunkplayer[playerid] =0;
lastcardrove[playerid] =999;
InAdminMode[playerid] =0;
HasC4[playerid] =0;
PlantingC4[playerid] =0;
RobbedCaligs[playerid] =0;
HasWallet[playerid] =0;
TrashDeliveryTime[playerid] =0;
TrashDeliveryEarnings[playerid] =0;
GunDeliveryLevel[playerid] =0;
OnDelMission[playerid] =0;
GunsDeliveryTime[playerid] =0;
DeliveringGuns[playerid] =0;
RobbedBank[playerid] =0;
DeliveringCash[playerid] =0;
totalcashdelivered[playerid] =0;
Driveronduty[playerid] =0;
pmsoff[playerid] =0;
carwin[playerid] =0;
beenrobbedrecently[playerid] =0;
AllowPlayerTeleport(playerid,0);
canchooseskill[playerid] =0;
robberrank[playerid] =0;
teamkiller[playerid] =0;
innocentkiller[playerid] =0;
lowwantedkiller[playerid] =0;
CasSecLastPlayerCuffed[playerid] =999;
LeftTwoFourSeven[playerid] =999;
SetPlayerMapIcon( playerid, 1, 3834.0366,462.8921,40.4060, 30, 0 );
SetPlayerMapIcon( playerid, 2, 2347.7432,1561.8536,36.9063, 52, 0 ); // bank
SetPlayerMapIcon( playerid, 3, 1137.7289,2088.1465,11.0625, 52, 0 ); // atm 1
SetPlayerMapIcon( playerid, 4, 2540.4976,2266.2742,10.8203, 52, 0 ); // atm 2
SetPlayerMapIcon( playerid, 5, 2192.8577,1975.1671,12.2894, 52, 0 ); // atm 3
SetPlayerMapIcon( playerid, 6, 2231.5820,958.6937,10.8203, 52, 0 ); // atm 4
SetPlayerMapIcon( playerid, 7, 2174.4482,1398.4165,11.4234, 55, 0 ); // autobahn
SetPlayerMapIcon( playerid, 8, 2283.0537,2437.0647,46.9775, 30, 0 ); // lvpd
SetPlayerMapIcon( playerid, 9, 2196.3389,1677.1106,12.3672, 25, 0 ); //casino enter 1
SetPlayerMapIcon( playerid, 10, 2020.5496,1007.7546,10.8203, 25, 0 ); //casino enter 2
SetPlayerMapIcon( playerid, 11, 2166.1421,2164.9917,10.8203, 25, 0 ); //casino enter 3
SetPlayerMapIcon( playerid, 12, 2162.9590,2070.8481,10.8203, 25, 0 ); //casino enter 4
//SetPlayerMapIcon( playerid, 13, 2440.9717,2376.7434,11.2572, 40, 0 ); // lvpd
return 1;
}
And second question is that, I'm made more casino map icons to map, but I Don't have idea, how to put red circle to teleport player to four dragons casino.
Thanks for your reply in advance and in advance I'm sorry, if this place is wrong, where I post this post.
Sincerely: CrossUSAAF.
Re: Scripter and help is wanted... -
[MM]RoXoR[FS] - 19.06.2012
pawn Код:
//At the top of script
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
pawn Код:
public OnPlayerConnect(playerid)
{
KilledHimself[playerid] =0;
SpamStrings[playerid] =0;
GotCopBriberecently[playerid] =0;
CanUseArmy[playerid] =0;
PlayerAdminLevel[playerid] =0;
AdminKilled[playerid] =0;
TimeToMoveTwoFourSeven[playerid] =999;
RobbedCash[playerid] =0;
BankCashReturns[playerid] =0;
BankRobInsurance[playerid] =0;
AbandonedCopCar[playerid] =1;
HasCried[playerid] =0;
IsSpawned[playerid] =0;
zoneupdates[playerid] = 0;
player_zone[playerid] = -1;
Jailed[playerid] =0;
Frozen[playerid] =0;
cuffed[playerid] =0;
Kicking[playerid] =0;
Chlamydia[playerid] =0;
Banning[playerid] =0;
PlayerRobwwait[playerid] =1;
Tazed[playerid] =0;
hastazer[playerid] =0;
LawEnforcementRadio[playerid] =0;
HasLawEnforcementRadio[playerid] =0;
ReqBk[playerid] =0;
ReqBkRecent[playerid] =0;
ReportedRecent[playerid] =0;
wantsheal[playerid] =0;
wantscure[playerid] =0;
wantsmechanic[playerid] =0;
RecentAskedMechanic[playerid] =0;
RobbedCasRecent[playerid] =0;
RobbedPlyRecent[playerid] =0;
Wantsfood[playerid] =0;
sellfoodrecently[playerid] =1;
Salmonella[playerid] =0;
askedforfood[playerid] =0;
askedforweapons[playerid] =0;
Wantsguns[playerid] =0;
OfferedGuns[playerid] =0;
Muted[playerid] =0;
PlayerDrugs[playerid] =0;
wantsdrugs[playerid] =0;
solddrugsrecent[playerid] =0;
JailTime[playerid] =0;
StoleCopCarRecent[playerid] =0;
playerondrugs[playerid] =0;
playertookdrugs[playerid] =0;
HasDrugBag[playerid] =0;
triedtoescaperecent[playerid] =0;
cannotescapejail[playerid] =0;
CopWaitBetweenRefills[playerid] =0;
VisitReq[playerid] =0;
EscapedConvict[playerid] =0;
VisitReqExpires[playerid] =0;
HasHitOnHim[playerid] =0;
InAlcatraz[playerid] =0;
PLAYERLIST_authed[playerid]=false;
loginchances[playerid] =0;
BankCash[playerid] =0;
UsedBankRecently[playerid] =0;
InBank[playerid] =0;
Playerrobbedbankrecent[playerid] =0;
InDerby[playerid] =0;
commitedcrimerecently[playerid] =0;
copshavevc[playerid] =0;
fixedcarrecent[playerid] =0;
//NewCash[playerid] =0;
OldCash[playerid] =0;
RegularPlayer[playerid] =0;
InAdminHQ[playerid] =0;
autobahnowner[playerid] =0;
drunkplayer[playerid] =0;
lastcardrove[playerid] =999;
InAdminMode[playerid] =0;
HasC4[playerid] =0;
PlantingC4[playerid] =0;
RobbedCaligs[playerid] =0;
HasWallet[playerid] =0;
TrashDeliveryTime[playerid] =0;
TrashDeliveryEarnings[playerid] =0;
GunDeliveryLevel[playerid] =0;
OnDelMission[playerid] =0;
GunsDeliveryTime[playerid] =0;
DeliveringGuns[playerid] =0;
RobbedBank[playerid] =0;
DeliveringCash[playerid] =0;
totalcashdelivered[playerid] =0;
Driveronduty[playerid] =0;
pmsoff[playerid] =0;
carwin[playerid] =0;
beenrobbedrecently[playerid] =0;
AllowPlayerTeleport(playerid,0);
canchooseskill[playerid] =0;
robberrank[playerid] =0;
teamkiller[playerid] =0;
innocentkiller[playerid] =0;
lowwantedkiller[playerid] =0;
CasSecLastPlayerCuffed[playerid] =999;
LeftTwoFourSeven[playerid] =999;
InShamal[playerid] = 0;
new str[100], str2[100], string[100];
GetPlayerName(playerid, str, 24);
format(str2, 100, "\2;%s(%d) Has Joined **** v%s\2;", str,playerid,sversion);
format(str, 100, "%s(%d) Has Joined **** v%s", str,playerid,sversion);
printf("%s",str);
for(new i=0; i<MAX_PLAYERS_; i++)
{
if(IsPlayerConnected(i) && i != playerid)
{
SendClientMessage(i,0x808080AA, str);
GiveScoreTimer[playerid] = SetTimerEx ("GivePlayerScore", 1000*60, true, "d", playerid);
}
}
TogglePlayerClock(playerid,true);
SetPlayerColor(playerid,COLOR_DEADCONNECT);
SetPlayerVirtualWorld(playerid,0);
format(string, sizeof(string), "**** - Script Version %s",sversion);
SendClientMessage(playerid,COLOR_WHITE, string);
SendClientMessage(playerid,0x87CEEBAA, "This is NOT a deathmatch server. Please do not randomly kill players in here");
SendClientMessage(playerid,0x87CEEBAA, "Visit our website to report bugs, give suggestions, complaints and etc.");
SendClientMessage(playerid,0x87CEEBAA, "There is a full list of commands/rules and other information on our website, so you should visit." );
SendClientMessage(playerid,0x87CEEBAA, "Visit our website at: ****");
format(string, sizeof(string), "~w~Welcome to~n~****~n~~b~version %s!",sversion);
GameTextForPlayer(playerid,string, 6000, 0);
if(udb_Exists(PlayerName(playerid))) {
SendClientMessage(playerid,0x9ACD32AA,"This Playername is Registered. Please login before you can spawn");
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
SendClientMessage(playerid,COLOR_RED,"Please use command /login (password) to login before you can spawn");
}
else
if(!udb_Exists(PlayerName(playerid))) {
SendClientMessage(playerid,0x9ACD32AA,"This Playername has not yet been registered. You must register on this server before you can play.");
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registration",""COL_WHITE"Enter the password below to register","Register","Exit");
SendClientMessage(playerid,COLOR_RED,"Please use /register (password) to register before you can spawn");
}
SetPlayerMapIcon( playerid, 1, 3834.0366,462.8921,40.4060, 30, 0 );
SetPlayerMapIcon( playerid, 2, 2347.7432,1561.8536,36.9063, 52, 0 ); // bank
SetPlayerMapIcon( playerid, 3, 1137.7289,2088.1465,11.0625, 52, 0 ); // atm 1
SetPlayerMapIcon( playerid, 4, 2540.4976,2266.2742,10.8203, 52, 0 ); // atm 2
SetPlayerMapIcon( playerid, 5, 2192.8577,1975.1671,12.2894, 52, 0 ); // atm 3
SetPlayerMapIcon( playerid, 6, 2231.5820,958.6937,10.8203, 52, 0 ); // atm 4
SetPlayerMapIcon( playerid, 7, 2174.4482,1398.4165,11.4234, 55, 0 ); // autobahn
SetPlayerMapIcon( playerid, 8, 2283.0537,2437.0647,46.9775, 30, 0 ); // lvpd
SetPlayerMapIcon( playerid, 9, 2196.3389,1677.1106,12.3672, 25, 0 ); //casino enter 1
SetPlayerMapIcon( playerid, 10, 2020.5496,1007.7546,10.8203, 25, 0 ); //casino enter 2
SetPlayerMapIcon( playerid, 11, 2166.1421,2164.9917,10.8203, 25, 0 ); //casino enter 3
SetPlayerMapIcon( playerid, 12, 2162.9590,2070.8481,10.8203, 25, 0 ); //casino enter 4
//SetPlayerMapIcon( playerid, 13, 2440.9717,2376.7434,11.2572, 40, 0 ); // lvpd
return 1;
}
Here are dialogs
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch( dialogid )
{
case DIALOG_REGISTER:
{
if (!response) return Kick(playerid);
if(response)
{
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, ""COL_WHITE"Registration",""COL_RED"You have entered an invalid password.\n"COL_WHITE"Enter your password below to register","Register","Exit");
//DO whatever you do in /register
ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"You have successfully registered!","Ok","");
}
}
case DIALOG_LOGIN:
{
if ( !response ) return Kick ( playerid );
if(response)
{
//Check for password and make login system
ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"You have successfully logged in!","Ok","");
}
}
}
return 1;
}
Re: Scripter and help is wanted... -
CrossUSAAF - 19.06.2012
Thank you.
But now i get these errors
Код:
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : error 017: undefined symbol "ShowPlayerDialog"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : error 017: undefined symbol "Login"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : error 001: expected token: ";", but found "-integer value-"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
How can i fix these lines? But thanks for these lines.
Re: Scripter and help is wanted... -
CrossUSAAF - 19.06.2012
Okay, i tried to update newest version my includes, but now i get this:
Код:
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(35) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : error 001: expected token: "-string end-", but found "-identifier-"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : error 001: expected token: ";", but found "-string-"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : error 001: expected token: "-string end-", but found "-identifier-"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4434) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
What i need to do now?
Thanks for your reply in advance.
Re: Scripter and help is wanted... -
MadeMan - 19.06.2012
Show the code near line 4434.
Re: Scripter and help is wanted... -
CrossUSAAF - 19.06.2012
There is it:
Код:
if(udb_Exists(PlayerName(playerid))) {
SendClientMessage(playerid,0x9ACD32AA,"This Playername is already Registered. Please login before you can spawn.");
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
SendClientMessage(playerid,COLOR_RED,"Please use command /login (password) to login before you can spawn");
}
There is lines from 4432 to line 4435.
Thank you for helping me with this.
Re: Scripter and help is wanted... -
MadeMan - 19.06.2012
You need to define embedded colors to use in a dialog
pawn Код:
#define COL_WHITE "{FFFFFF}"
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
Re: Scripter and help is wanted... -
CrossUSAAF - 19.06.2012
Hello.
Thank you, but I get still something errors:
Код:
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(36) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4470) : error 001: expected token: "-string end-", but found "-identifier-"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4470) : error 017: undefined symbol "COL_RED"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4470) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4470) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4470) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4470) : error 001: expected token: ";", but found ")"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4470) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Now its line 4470, there is something string errors too?
Код:
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, ""COL_WHITE"Registration",""COL_RED"You have entered an invalid password.\n"COL_WHITE"Enter your password below to register","Register","Exit");
Thanks for your reply in advance, I think we get this work

.
Re: Scripter and help is wanted... -
[MM]RoXoR[FS] - 19.06.2012
Код:
#define COL_RED "{FF0000}"
Re: Scripter and help is wanted... -
CrossUSAAF - 19.06.2012
One problem more:
Код:
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(37) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4473) : error 001: expected token: "-string end-", but found "-identifier-"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4473) : error 017: undefined symbol "COL_GREEN"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4473) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4473) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4473) : warning 215: expression has no effect
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4473) : error 001: expected token: ";", but found ")"
J:\Documents\Downloads\SA-MP\Las Venturas Cops and Robbers\pawno\lvrcr.pwn(4473) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
It's line 4473, what is the COL_GREEN ID?
Код:
ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"You have successfully registered!","Ok","");
This work is almost done, I'm going to REP + you guys.