argument type mismatch (argument 2)
#1

.pwn(7084) : error 035: argument type mismatch (argument 2)
pwn(7441) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Код:
(7084):	TextDrawHideForPlayer(playerid, NVCNRInfo);
Код:
(7441): TextDrawShowForPlayer(playerid, NVCNRInfo);
Код:
public OnPlayerEnterCheckpoint(playerid)
{
	TextDrawShowForPlayer(playerid, NVCNRInfo);

	VerifyCheckpoint(playerid);
	if(HasSetCheckpoint{playerid} == 1)
	{
     	PlayerPlaySound(playerid, 1149, 0.0, 0.0, 0.0);
	    DisablePlayerCheckpoint(playerid);
	    HasSetCheckpoint{playerid} = 0;
	    SendClientMessage(playerid, RED, "Your currently set checkpoint has been removed.");
	}
	return 1;
}
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
	TextDrawHideForPlayer(playerid, NVCNRInfo);
	return true;
}
Reply
#2

Fixed.!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)