PDA

View Full Version : Help me please i trying to fix this 6 days ;(


Vladimir124
03/03/2015, 05:58 PM
Look i have a with MY gamemode (becouse some guys sad its UnitedGaming RPG its not!)

I finish everything and when i convert it show me this

C:\Users\Vlada\Desktop\UGRPG.pwn(6336) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6336) : error 035: argument type mismatch (argument 1)
C:\Users\Vlada\Desktop\UGRPG.pwn(6336) : error 017: undefined symbol "string"
C:\Users\Vlada\Desktop\UGRPG.pwn(6336) : fatal error 107: too many error messages on one line

this is that lines and more :)
public OnPlayerDisconnect(playerid, reason)
{
new textreason[64];
new plname[8];
new playersip[8];
GetPlayerName(playerid, plname, sizeof(plname));
GetPlayerIp(playerid, playersip, sizeof(playersip));
SafeResetPlayerWeapons(playerid);
if(PlayerInfo[playerid][pAdminDuty] == 1)
{
SafeResetPlayerWeapons(playerid);
}
if(Searching[playerid] == 1)
{
RemovePlayerMapIcon(playerid, 500 + playerid);
Searching[playerid] = 0;
}
if(Ronned[playerid] >= 1)
{
KillTimer(RonnTimer[playerid]);
}
if(PlayerCuffed[playerid])
{
KillTimer(cufftimer[playerid]);
}
if(playerid == beingvoted)
{
KillTimer(votetimer1);
KillTimer(votetimer2);
format(string2,sizeof(string), "[Glasanje]: %s se izlogovao, glasanje je zavrseno! [%s]",plname[playerid])(); <--- HERE IS THE ERROR
SendClientMessageToAll(TEAM_GROVE_COLOR,string2);
votetimer1 = SetTimer("ResetVotation",300000,false);
}
if(PlayerCuffed[playerid] > 0)
{
KillTimer(cufftimer[playerid]);
}

if(Tazer[playerid] == 1) { SafeGivePlayerWeapon(playerid, 24, PreTazerAmmo[playerid]); }
Delete3DTextLabel(DutyLabel[playerid]);
Delete3DTextLabel(AfkLabel[playerid]);
gActivePlayers[playerid]--;
numplayers--;
RemovePlayerMapIcon(playerid, 37 + playerid);
TextDrawDestroy(Textdraw64[playerid]);
TextDrawDestroy(Textdraw54[playerid]);
TextDrawDestroy(Textdraw53[playerid]);
TextDrawDestroy(Textdraw52[playerid]);
TextDrawDestroy(Textdraw51[playerid]);
TextDrawDestroy(Textdraw49[playerid]);
TextDrawDestroy(Textdraw42[playerid]);
TextDrawDestroy(Textdraw41[playerid]);
TextDrawDestroy(Textdraw40[playerid]);
TextDrawDestroy(Textdraw39[playerid]);
TextDrawDestroy(Textdraw1[playerid]);
KillTimer(TrainTimer[playerid]);
KillTimer(MoneyTimer[playerid]);
else if(reason == 2)
{
strmid(PlayerInfo[playerid][pWhyLeft], "Kickovan/Banovan", 0, strlen("Kickovan/Banovan"), 255);
}
SaveGuns(playerid);
OnPlayerUpdateEx(playerid);
if(OfficerCourseStep[playerid] != 255)
{
SafeGivePlayerMoney(playerid, -2500);
}
if(OnOfficerTest[playerid] != 0)
{
SafeGivePlayerMoney(playerid, -5000);
}
if(ServerRestarted == 0)
{
UpdatePlayerPosition(playerid)
}

CalvinC
03/03/2015, 06:02 PM
You haven't used any if before this, so how would you use an else?
else if(reason == 2)
Also, the max player name should be MAX_PLAYER_NAME or 24, while the max player IP is 16, not 8.
It clearly also specifies on the wiki that the IP cannot be gotten in OnPlayerDisconnect:
This function does not work when used in OnPlayerDisconnect because the player is already disconnected. It will return an invalid IP (255.255.255.255). Save players' IPs under OnPlayerConnect if they need to be used under OnPlayerDisconnect.

duteba
03/03/2015, 06:02 PM
sorry wrong

Vladimir124
03/03/2015, 06:09 PM
I know that about else and eveything some guys before say me that but that's not the problem problem is


format(string2,sizeof(string), "[Glasanje]: %s se izlogovao, glasanje je zavrseno! [%s]",plname[playerid])();

ATGOggy
03/03/2015, 06:11 PM
Change this line : format(string2,sizeof(string), "[Glasanje]: %s se izlogovao, glasanje je zavrseno! [%s]",plname[playerid])();

to this:format(string2,sizeof(string2), "[Glasanje]: %s se izlogovao, glasanje je zavrseno! [%s]",plname[playerid]);

Vladimir124
03/03/2015, 06:13 PM
I try that before it's don't make any changes :(

That is my attempts to fix it :)

ATGOggy
03/03/2015, 06:15 PM
Which is the 6336th line?

Vladimir124
03/03/2015, 06:16 PM
format(string2,sizeof(string2), "[Glasanje]: %s se izlogovao, glasanje je zavrseno! [%s]",plname[playerid]);

CalvinC
03/03/2015, 06:19 PM
You defined it as plname, so remove the "[playerid]", and make sure you changed the other stuff i said, like putting it to 24 / MAX_PLAYER_NAME, otherwise it wont work.
And where have you defined string2?

ReD_HunTeR
03/03/2015, 06:19 PM
public OnPlayerDisconnect(playerid, reason)
{
new string[128]; // I Guess you forgot this :P
new textreason[64];
new plname[8];
new playersip[8];

ATGOggy
03/03/2015, 06:19 PM
Where's the new string2 in your script?

Vladimir124
03/03/2015, 06:21 PM
ReD_HunTeR I already put new string[128] on top :)

CalvinC Now i will try thanks :)

Vladimir124
03/03/2015, 06:23 PM
Pardon i don't have new string2

when i put them somewhere it show me error 020 or error 001 ;(

MikE1990
03/03/2015, 06:33 PM
Can you show errors ?

CalvinC
03/03/2015, 06:39 PM
Pardon i don't have new string2

when i put them somewhere it show me error 020 or error 001 ;(

Show the line when you're trying to define string2, and the line above it.

Vladimir124
03/03/2015, 06:46 PM
Look i don't now realy good english i can't explain

Now i try to put new string2[128]; but when i put it show me this errors


C:\Users\Vlada\Desktop\UGRPG.pwn(6363) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6363) : warning 215: expression has no effect
C:\Users\Vlada\Desktop\UGRPG.pwn(6363) : error 001: expected token: ";", but found "if"
C:\Users\Vlada\Desktop\UGRPG.pwn(6310) : warning 204: symbol is assigned a value that is never used: "playersip"
C:\Users\Vlada\Desktop\UGRPG.pwn(6308) : warning 204: symbol is assigned a value that is never used: "textreason"
C:\Users\Vlada\Desktop\UGRPG.pwn(6555) : warning 202: number of arguments does not match definition
C:\Users\Vlada\Desktop\UGRPG.pwn(6555) : warning 202: number of arguments does not match definition
C:\Users\Vlada\Desktop\UGRPG.pwn(6555) : warning 202: number of arguments does not match definition
C:\Users\Vlada\Desktop\UGRPG.pwn(6833) : error 017: undefined symbol "plname"
C:\Users\Vlada\Desktop\UGRPG.pwn(6833) : error 017: undefined symbol "plname"
C:\Users\Vlada\Desktop\UGRPG.pwn(6833) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6833) : fatal error 107: too many error messages on one line

MikE1990
03/03/2015, 06:48 PM
show us lines 6363,6310,6308,6555,6833

Vladimir124
03/03/2015, 06:50 PM
I fix everything but now it show me this problem and when i put


C:\Users\Vlada\Desktop\UGRPG.pwn(6334) : error 017: undefined symbol "string2"
C:\Users\Vlada\Desktop\UGRPG.pwn(6334) : error 017: undefined symbol "string2"
C:\Users\Vlada\Desktop\UGRPG.pwn(6334) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6334) : fatal error 107: too many error messages on one line


but is i put new string2 it will show me 9 errors

MikE1990
03/03/2015, 06:52 PM
It says you didn't declared string2.

Vladimir124
03/03/2015, 06:54 PM
I know but when i put new string2
it show me 9 or more errors ;(

CalvinC
03/03/2015, 06:54 PM
C:\Users\Vlada\Desktop\UGRPG.pwn(6363) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6363) : warning 215: expression has no effect
C:\Users\Vlada\Desktop\UGRPG.pwn(6363) : error 001: expected token: ";", but found "if"
Might be a missing ";" in the line above the error, show the lines there if you want our help.

C:\Users\Vlada\Desktop\UGRPG.pwn(6310) : warning 204: symbol is assigned a value that is never used: "playersip"
C:\Users\Vlada\Desktop\UGRPG.pwn(6308) : warning 204: symbol is assigned a value that is never used: "textreason"
You don't use textreason or playersip, i also told you that you cannot get the player's IP in OnPlayerDisconnect.
For the textreason, use it or remove it, or if you wish to just avoid the warning and use it later, create it as a stock.

EDIT: You seem to have fixed these anyways.
But as i said before, show the code where you define string2.

MikE1990
03/03/2015, 06:56 PM
new string2[128]; put this in script

Vladimir124
03/03/2015, 07:12 PM
Here everything
here i defined string2


new DragTimer[MAX_PLAYERS];
new IsInBus[MAX_PLAYERS];
//new EventNRGRace[MAX_PLAYERS];
new Timer1[MAX_PLAYERS];
new Timer2[MAX_PLAYERS];
new Timer3[MAX_PLAYERS];
new ddcount;
new policijaftw;
new zmaj
new zmaj2
new zmaj3
new kapijam;
new kapijap;
new kapijak;
new kapijad;
new kapijac;
new kapijag;
new kapijaa;
new kapijal;
new kapijax;
new kapijaq;
new ddcounttimer;
new CommandsTimer[MAX_PLAYERS];
new TextTimer[MAX_PLAYERS];
new Commands[MAX_PLAYERS];
new Text[MAX_PLAYERS];
new ipFILE[128];
new pFILE[MAX_PLAYERS][128];
new CanTurnEngine[MAX_PLAYERS];
new Fails[MAX_PLAYERS];
new Decoding[MAX_PLAYERS];
new decodecode = 0;
new Digits = 1;
new DecoderTimer;
new Decoder;
new SurenosSecurity;
new BratvaSecurity;
new ViceSecurity;
new AnarchySecurity;
new HitmanSecurity;
new YamaguchiSecurity;
new SignatraSecurity;
new VehiclePass[MAX_VEHICLES];
new SentMessage[MAX_PLAYERS];
new Calendar[MAX_PLAYERS];
new RonnTimer[MAX_PLAYERS];
new Ronned[MAX_PLAYERS];
new Showing[MAX_PLAYERS];
new Attached[MAX_PLAYERS];
new nextapartment;
new nexthouse;
new nextmedium;
new nextshop;
new bancheck;
new string2;
new cDebug;
new nextbig;
new Motd[32];
new event1[64];
new event2[64];
new event3[64];
new event4[64];
new scratchcarcp;
new voteKucajte;
new votetimer1;
new votetimer2;
new votation;
new voteyes;
new voteno;
new beingvoted;
new votedrecently[MAX_PLAYERS];
new votationrecently;
new FakeKillWarns[MAX_PLAYERS];
new CountdownTimer;
new CountdownRunning;
new CountdownSeconds;
new MinutesTD;
new SecondsTD;
new HoursTD;
new LogingAttempts[MAX_PLAYERS];
new PreTazerAmmo[MAX_PLAYERS];
new Tazer[MAX_PLAYERS];
new OfficerCourseStep[MAX_PLAYERS];
new CanUseUpgrade[MAX_PLAYERS];
new CanChangeName[MAX_PLAYERS];
new CanSellHouse[MAX_PLAYERS];
new CanSellBizz[MAX_PLAYERS];
new CanLeaveFaction[MAX_PLAYERS];
new SpawnWorld[MAX_PLAYERS];
new SpawnInterior[MAX_PLAYERS];
new AFK[MAX_PLAYERS];
new First = 0;
new admin[MAX_PLAYERS];
new cage[MAX_PLAYERS][4];
new caged[MAX_PLAYERS];
new Text3D:DutyLabel[MAX_PLAYERS];
new Text3D:AfkLabel[MAX_PLAYERS];
new Gps[MAX_PLAYERS];
new IsPlayerInEVehicle[MAX_PLAYERS];
new Seats[MAX_VEHICLES];
new DebtMoney[MAX_PLAYERS];
new Float:SpArmour[MAX_PLAYERS];
new Float:SpHealth[MAX_PLAYERS];
new Interior[MAX_PLAYERS];
new VirWorld[MAX_PLAYERS];
new Searching[MAX_PLAYERS];
new GaveUp[MAX_PLAYERS];
new TookSprunk[MAX_PLAYERS];
new UsedAreaRecently[MAX_PLAYERS];
new ChangeNameTimer;
new GangCar[MAX_PLAYERS];

CalvinC
03/03/2015, 07:16 PM
You need to create it as an array, "variable[size]".
Where-as the size is 32 + MAX_PLAYER_NAME in your message (not counting the last %s string).
Although you can just use 128 if you're planning to use it for other things.

MikE1990
03/03/2015, 07:18 PM
replace
new string2;
with
new string2[128];
and show use errors.

CalvinC
03/03/2015, 07:19 PM
replace
new string2;
with
new string[128];
and show use errors.

He's formatting string2, not string.

MikE1990
03/03/2015, 07:22 PM
He's formatting string2, not string.
Oh yeah thanks i forget 2.

Vladimir124
03/03/2015, 07:46 PM
I fix half of errors but i get more and more i fix them but always they show me different error

this is the code

public OnPlayerDisconnect(playerid, reason) //<--- i get error here
{ //<--- and here
new plname;
GetPlayerName(playerid, plname, sizeof(plname));
SafeResetPlayerWeapons(playerid);
if(PlayerInfo[playerid][pAdminDuty] == 1)
{
SafeResetPlayerWeapons(playerid);
}
if(Searching[playerid] == 1)
{
RemovePlayerMapIcon(playerid, 500 + playerid);
Searching[playerid] = 0;
}
if(Ronned[playerid] >= 1)
{
KillTimer(RonnTimer[playerid]);
}
if(PlayerCuffed[playerid])
{
KillTimer(cufftimer[playerid]);
}
if(playerid == beingvoted)
{
KillTimer(votetimer1);
KillTimer(votetimer2);
format(string2,sizeof(string2), "[Glasanje]: %s se izlogovao, glasanje je zavrseno! [%s]",plname);
SendClientMessageToAll(TEAM_GROVE_COLOR,string2);
votetimer1 = SetTimer("ResetVotation",300000,false);
}


this is the error

C:\Users\Vlada\Desktop\UGRPG.pwn(6309) : error 001: expected token: "-identifier-", but found ";"
C:\Users\Vlada\Desktop\UGRPG.pwn(6310) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6310) : error 035: argument type mismatch (argument 2)
C:\Users\Vlada\Desktop\UGRPG.pwn(6310) : error 020: invalid symbol name ""
C:\Users\Vlada\Desktop\UGRPG.pwn(6310) : fatal error 107: too many error messages on one line

MikE1990
03/03/2015, 07:50 PM
Show code above OnPlayerDisconnect.

Vladimir124
03/03/2015, 07:54 PM
public Lotto(number)
{
new JackpotFallen = 0;
new string[128];
new winner[MAX_PLAYER_NAME];
format(string, sizeof(string), "Loto vesti: Danasnji dobitni broj je: %d.", number);
OOCOff(COLOR_WHITE, string);
format(string, sizeof(string), "Loto vesti: ~n~ Danasnji broj je: ~p~ %d", number);
GameTextForAll(string, 4000, 6);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pLottoNr] > 0)
{
if(PlayerInfo[i][pLottoNr] == number)
{
JackpotFallen = 1;
GetPlayerName(i, winner, sizeof(winner));
format(string, sizeof(string), "Loto vesti: %s je osvojio Jackpot od $%d sa svojim tiketom !!!", winner, Jackpot);
OOCOff(TEAM_CYAN_COLOR, string);
format(string, sizeof(string), "* Osvojili ste $%d sa vasim tiketom !!!!", Jackpot);
SendClientMessage(i, COLOR_WHITE, string);
format(string, sizeof(string), "~g~~h~~h~Osvojili ste JackPot!!! ~n~~g~$%d !! ~n~~n~~n~~p~Cestitemo!!!!", Jackpot);
GameTextForPlayer(i, string, 5000, 3);
SafeGivePlayerMoney(i, Jackpot);
}
else
{
SendClientMessage(i, COLOR_WHITE, "Ovog puta niste osvojili loto!");
}
}
PlayerInfo[i][pLottoNr] = 0;
}
}
if(JackpotFallen)
{
new rand = random(10000); rand += 5789;
Jackpot = rand;
SaveStuff();
format(string, sizeof(string), "Loto vesti: JackPot je poceo sa $%d.", Jackpot);
OOCOff(COLOR_WHITE, string);
}
else
{
new rand = random(5000); rand += 2158;
Jackpot += rand;
SaveStuff();
format(string, sizeof(string), "Loto vesti: JackPot je povecan na $%d.", Jackpot);
OOCOff(COLOR_WHITE, string);
}
return 1;
}

MikE1990
03/03/2015, 07:56 PM
In lotto i don't see error.btw replace new plname; with new plname[128];

Vladimir124
03/03/2015, 07:59 PM
I delete new plname and now i get this error


C:\Users\Vlada\Desktop\UGRPG.pwn(6308) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6308) : error 035: argument type mismatch (argument 2)
C:\Users\Vlada\Desktop\UGRPG.pwn(6308) : error 020: invalid symbol name ""
C:\Users\Vlada\Desktop\UGRPG.pwn(6308) : fatal error 107: too many error messages on one line


for this


public OnPlayerDisconnect(playerid, reason)
{
GetPlayerName(playerid, plname, sizeof(plname)); //<--- it show me error in this
SafeResetPlayerWeapons(playerid);
if(PlayerInfo[playerid][pAdminDuty] == 1)
{
SafeResetPlayerWeapons(playerid);
}
if(Searching[playerid] == 1)
{
RemovePlayerMapIcon(playerid, 500 + playerid);
Searching[playerid] = 0;
}
if(Ronned[playerid] >= 1)
{
KillTimer(RonnTimer[playerid]);
}
if(PlayerCuffed[playerid])
{
KillTimer(cufftimer[playerid]);
}
if(playerid == beingvoted)
{
KillTimer(votetimer1);
KillTimer(votetimer2);
format(string2,sizeof(string2), "[Glasanje]: %s se izlogovao, glasanje je zavrseno! [%s]",plname);
SendClientMessageToAll(TEAM_GROVE_COLOR,string2);
votetimer1 = SetTimer("ResetVotation",300000,false);
}

MikE1990
03/03/2015, 08:01 PM
No no,don't delete just now just add new plname[128];

CalvinC
03/03/2015, 08:05 PM
No reason to use 128, that's just a complete waste of memory.
Why did you delete the array, and just make it "plname"? i already told you to use it as an array with the size of 24 / MAX_PLAYER_NAME.
Also, the max player name should be MAX_PLAYER_NAME or 24
Which would be "plname[MAX_PLAYER_NAME]".

Vladimir124
03/03/2015, 08:05 PM
Nothing change ;(

Vladimir124
03/03/2015, 08:07 PM
CalvinC sorry but i don't realy understand

MikE1990
03/03/2015, 08:10 PM
Did you declared plname as global variable somewhere in script ?

Vladimir124
03/03/2015, 08:11 PM
No i'm not

MikE1990
03/03/2015, 08:13 PM
Vladimir if you are newbie in scripting,i suggest you to read this https://wiki.alliedmods.net/Pawn_Tutorial this helped me really much.

CalvinC
03/03/2015, 08:26 PM
CalvinC sorry but i don't realy understand i need to put

new array;

or what :(

A variable is used for storing a value, and reading it again.
By default, the value will be set to 0 when creating a variable, in this case we will call it "MyVariable"
new MyVariable;

In an array, you can store multiple values, and read them.
new MyArray[size];
To store multiple values, let's say we used 3 as the size, you can do this:
new MyArray[3];
MyArray[0] = 4;
MyArray[1] = 2;
MyArray[2] = 8;
You have to use it with a string, where we basically do the same, but it stores characters instead, like this:
new MyArray[2];
MyArray[0] = "H";
MyArray[1] = "i";
Which is what format does i believe.
So now MyArray displays "Hi".

Although when sending the message with SendClientMessage, it needs an additional character, for the null symbol which ends the string.
Basically, in that case if we would do:
format(MyArray, sizeof(MyArray), "Hi");
SendClientMessage(playerid, -1, MyArray);
The MyArray size should be 3 (always add 1 more to the size than the amount of characters in your array)

So for your problem, you're trying to create a variable, which cannot hold letters etc., only a single value like "2", but we need to get the player's name.
The max characters a SAMP name can hold, is 24, therefore to store 24 characters, we need an array size of 24.
new plname[24];
I usually just use MAX_PLAYER_NAME, this is just the same as 24 because it's pre-defined as 24 in the a_samp.inc.
new plname[MAX_PLAYER_NAME];
So in case they change the max name length, you don't have to change all your strings.

Vladimir124
03/03/2015, 08:40 PM
Look i just need to fix this

ERROR

C:\Users\Vlada\Desktop\UGRPG.pwn(6330) : error 028: invalid subscript (not an array or too many subscripts): "beingvoted"
C:\Users\Vlada\Desktop\UGRPG.pwn(6330) : warning 215: expression has no effect
C:\Users\Vlada\Desktop\UGRPG.pwn(6330) : error 001: expected token: ";", but found "]"
C:\Users\Vlada\Desktop\UGRPG.pwn(6330) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6330) : fatal error 107: too many error messages on one line


CODE

if(beingvoted[playerid] == 1) //THIS IS THE PROBLEM
{
KillTimer(votetimer1);
KillTimer(votetimer2);
format(string2,sizeof(string2), "[Glasanje]: %s se izlogovao, glasanje je zavrseno!",plname));
SendClientMessageToAll(TEAM_GROVE_COLOR,string2);
votetimer1 = SetTimer("ResetVotation",300000,false);
}

Golimad
03/03/2015, 08:46 PM
new beingvoted; change to : new beingvoted[MAX_PLAYERS];

Please spare yourself a huge pain editing advanced game-modes, learn the basics, start making something simple, learn new things, start making more complex scripts, then you can start working on open-source projects.

Vladimir124
03/03/2015, 08:58 PM
Now i get error for this


if (pWhyLeft[playerid]) //THIS
{
strmid(PlayerInfo[playerid][pWhyLeft], "Kickovan/Banovan", 0, strlen("Kickovan/Banovan"), 255);
}


ERROR

C:\Users\Vlada\Desktop\UGRPG.pwn(6333) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6361) : error 028: invalid subscript (not an array or too many subscripts): "pWhyLeft"
C:\Users\Vlada\Desktop\UGRPG.pwn(6361) : warning 215: expression has no effect
C:\Users\Vlada\Desktop\UGRPG.pwn(6361) : error 001: expected token: ";", but found "]"
C:\Users\Vlada\Desktop\UGRPG.pwn(6361) : error 029: invalid expression, assumed zero
C:\Users\Vlada\Desktop\UGRPG.pwn(6361) : fatal error 107: too many error messages on one line


and for 6333

if(beingvoted[playerid] == 1)
{
KillTimer(votetimer1);
KillTimer(votetimer2);
format(string2,sizeof(string2), "[Glasanje]: %s se izlogovao, glasanje je zavrseno!",plname); //THIS
SendClientMessageToAll(TEAM_GROVE_COLOR,string2);
votetimer1 = SetTimer("ResetVotation",300000,false);
}