new Tutorial[][] = { if(PlayerInfo[playerid][pLevel] < 3) { SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Nemate posao idite u opstinu zaposlite se ! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Uvek postujte jace igrace od sebe! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Za pomoc obratite se na /askq!"); } SetTimer("Tutorial", 30000, 1); return 1; };
gamemodes\BE x12 edit by Stega.pwn(539) : error 001: expected token: ";", but found "(" gamemodes\BE x12 edit by Stega.pwn(547) : error 010: invalid function or declaration gamemodes\BE x12 edit by Stega.pwn(548) : error 010: invalid function or declaration
line 439: if(PlayerInfo[playerid][pLevel] < 3) line 547: return 1; line 548: };
new Tutorial[][] = { if(PlayerInfo[playerid][pLevel] < 3); { SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Nemate posao idite u opstinu zaposlite se ! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Uvek postujte jace igrace od sebe! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Za pomoc obratite se na /askq!"); } SetTimer("Tutorial", 30000, 1); return 1; )
\gamemodes\BE x12 edit by Stega.pwn(539) : error 001: expected token: ";", but found "(" \gamemodes\BE x12 edit by Stega.pwn(547) : error 010: invalid function or declaration
line 539: if(PlayerInfo[playerid][pLevel] < 3);
new Tutorial[][] =
{
if(PlayerInfo[playerid][pLevel] <= 3);
{
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Nemate posao idite u opstinu zaposlite se ! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Uvek postujte jace igrace od sebe! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Za pomoc obratite se na /askq!");
}
SetTimer("Tutorial", 30000, 1);
return 1;
)
PHP код:
|
Код:
new Tutorial[][] = { if(PlayerInfo[playerid][pLevel] < 3); { SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Nemate posao idite u opstinu zaposlite se ! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Uvek postujte jace igrace od sebe! "); SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Za pomoc obratite se na /askq!"); } SetTimer("Tutorial", 30000, 1); return 1; ) |
new Tutorial[][] =
{
if(PlayerInfo[playerid][pLevel] <= 3);// I added <
{
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Nemate posao idite u opstinu zaposlite se ! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Uvek postujte jace igrace od sebe! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Za pomoc obratite se na /askq!");
}
SetTimer("Tutorial", 30000, 1);
return 1;
)
if(PlayerInfo[playerid][pLevel] <= 3)
{
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Nemate posao idite u opstinu zaposlite se ! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Uvek postujte jace igrace od sebe! ");
SendClientMessage(playerid, COLOR_BLUE, "[Tutorial] Za pomoc obratite se na /askq!");
}
SetTimer("Tutorial", 30000, 1);
gamemodes\BE x12 edit by Stega.pwn(539) : error 001: expected token: ";", but found "(" gamemodes\BE x12 edit by Stega.pwn(547) : error 010: invalid function or declaration
line 539: if(PlayerInfo[playerid][pLevel] <= 3)// I added <
line 547: return 1;
if(PlayerInfo[playerid][pLevel] > 3)