23.02.2009, 05:58
Ok, so this is what i have:
It compiles fine but when i got to use it IG nothing happends
Can someone please help?
pawn Код:
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(PlayerToPoint(2, playerid, 245.1057,71.9354,1003.6406) && IsACop(playerid))
{
ApplyAnimation(playerid,"HEIST9","Use_SwipeCard",4.1,0,1,0,0,0);
SetTimer("GateClosedesk", 5000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"The LSPD Gate will AutoClose in 5 Seconds");
MoveObject(lspdvault,246.3735,72.6083,1000.6406,10);
}
}
Can someone please help?