Cant fix that please help.
#1

Код:
public RobStoreTimer(playerid)
{
	GivePlayerMoney(playerid,100);
	SendClientMessage(playerid,0xFFFFFFAA," * You have successfully robbed the store, get outta there before the cops show!");
	Mask[playerid] = 0;
	return 1;
	}

public OnPlayerDisconnect(playerid, reason)
{
 for(new i = 0; i < MAX_PLAYERS; i++)
	{
	ShowPlayerNameTagForPlayer(i, playerid, 1);

	SkiMask[playerid] = 0;
	Mask[playerid] = 0;
	return 1;
}
D:\(51) : error 029: invalid expression, assumed zero
D:\(51) : error 004: function "OnPlayerDisconnect" is not implemented
D:\(142) : error 029: invalid expression, assumed zero
D:\(142) : error 004: function "RobStoreTimer" is not implemented
D:\(149) : error 030: compound statement not closed at the end of file (started at line 135)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

Reply
#2

any one can help ?
Reply
#3

Which lines are "51", "142" and "149"?
Reply
#4

You have a { above the S from Show and you need to close it with a } below the M from Mask to start with.
Reply
#5

Still errors.
Reply
#6

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
 for(new i = 0; i < MAX_PLAYERS; i++)
    {
    ShowPlayerNameTagForPlayer(i, playerid, 1);

    SkiMask[playerid] = 0;
    Mask[playerid] = 0;
    }
    return 1;
}
this should work
Reply
#7

D:\(51) : error 029: invalid expression, assumed zero
D:\(51) : error 004: function "OnPlayerDisconnect" is not implemented
D:\(63) : warning 225: unreachable code
D:\(142) : error 029: invalid expression, assumed zero
D:\(142) : error 004: function "RobStoreTimer" is not implemented
D:\(149) : error 030: compound statement not closed at the end of file (started at line 135)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#8

maybe posting the whole script?
Reply
#9

I really need the whole script ?
Reply
#10

Quote:
Originally Posted by [LSB
Erkan ]
I really need the whole script ?
No. Just post the lines that we need to fix.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)