03.10.2011, 16:50
I need help in that code.
In that code playertopoint is not working.
Can some one help me??
pawn Код:
if(strcmp(cmd, "/toll1", true) == 0)
{
if (PlayerToPoint(2, playerid,494.633117,503.909606,18.921957))
{
SetObjectPos(bar,494.10000610,498.29998779,18.70000076);
SetObjectRot(bar,0.00000000,2.00000000,215.99995422);
GivePlayerPCash(playerid, - 5);
SetTimer("InitPos",5000,false);
}
return 1;
}
Can some one help me??