06.04.2014, 07:53
How I solve this error?
And the line is
Код:
C:\local\gf.pwn(25080) : error 017: undefined symbol "tmpcar" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
pawn Код:
if(strcmp(cmd, "/toys", true) == 0)
{
if(IsAToysCar(tmpcar))
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] != 18)
{
SendClientMessage(playerid,COLOR_GREY,"* Ai pornit job-ul TOYS MAN !");
SendClientMessage(playerid,COLOR_GREY,"* Urmareste checkpointurile ca sa primesti banii !");
SendClientMessage(playerid,COLOR_GREY,"");
SendClientMessage(playerid,COLOR_GREY,"* Drum bun !");
SetPlayerCheckpoint(playerid, 1618.9779,-1830.1036,13.5311, 5.0);
}
else
{
SendClientMessage(playerid,COLOR_GREY,"* You are not a TOYS MAN *");
}
}
}
else
{
SendClientMessage(playerid,COLOR_GREY,"* You are not in a car TOYS MAN *");
}
}
Код:
if(IsAToysCar(tmpcar))