29.07.2013, 13:43
You could atleast say what's the warning 217 instead of letting us to ****** it...
Anyways, learn to INDENT your code.
Anyways, learn to INDENT your code.
pawn Код:
if(strcmp(cmd, "/IncepeMunca", true) == 0)
{
if(PlayerToPoint(3.0,playerid,1639.7654,-2566.1370,13.5469))
{
if(HamalVar[playerid] == 1)
{
SendClientMessage(playerid, COLOR_GREY, "Ai inceput deja munca");
}
if(PlayerInfo[playerid][pJob] == 36)
{
SetPlayerCheckpoint(playerid, 1626.8717,-2661.1560,13.7548 ,8.0);
SetPlayerAttachedObject( playerid, 0, 2060, 1, -0.064613, 0.520760, 0.000000, 0.000000, 84.217391, 0.000000, 1.000000, 1.000000, 1.000000 );
CP[playerid] =19981;
HamalVar[playerid] =1;
ApplyAnimation(playerid,"CARRY","crry_prtial",4.1,1,0,0,1,1);
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Pentru a utiliza aceasta comanda iti trebuie jobul Hamal + sa fi la locul de carat saci.");
}
return 1;
}