Tut msgs
#1

hy guy! in this code i get this errors:

errors:
Код:
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;
};
errors:
Код:
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:     };
Reply
#2

Код:
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;
)
Reply
#3

now i have this errors:

Код:
\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);
Reply
#4

Lines?
Reply
#5

PHP код:
new Tutorial[][] =
{
    if(
PlayerInfo[playerid][pLevel] <= 3);
       {
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Nemate posao idite u opstinu zaposlite se ! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Uvek postujte jace igrace od sebe! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Za pomoc obratite se na /askq!");
      }
      
SetTimer("Tutorial"300001);
    return 
1;

Reply
#6

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
PHP код:
new Tutorial[][] =
{
    if(
PlayerInfo[playerid][pLevel] <= 3);
       {
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Nemate posao idite u opstinu zaposlite se ! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Uvek postujte jace igrace od sebe! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Za pomoc obratite se na /askq!");
      }
      
SetTimer("Tutorial"300001);
    return 
1;

Hell what?

You just copied my code and claiming like you just made it?

Even my code is wrong go learn scripting before making a reply!
Reply
#7

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
Код:
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;
)
Seems like you need glasses!
Look at my code:

PHP код:
new Tutorial[][] =
{
    if(
PlayerInfo[playerid][pLevel] <= 3);// I added <
       
{
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Ovaj tutorial ce da traje do vaseg 3 levela! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Nemate posao idite u opstinu zaposlite se ! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Uvek postujte jace igrace od sebe! ");
        
SendClientMessage(playeridCOLOR_BLUE"[Tutorial] Za pomoc obratite se na /askq!");
      }
      
SetTimer("Tutorial"300001);
    return 
1;

Make sure you look good before judging someone.
Reply
#8

Don't use ' ; ' in the ' if ' line.

pawn Код:
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);
Reply
#9

Hmm againg errors:

errors:
Код:
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
lines:

Код:
line 539: if(PlayerInfo[playerid][pLevel] <= 3)// I added <
Код:
line 547:     return 1;
Reply
#10

Код:
if(PlayerInfo[playerid][pLevel] > 3)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)