SA-MP Forums Archive
SetPlayerVelocity probelm - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetPlayerVelocity probelm (/showthread.php?tid=353668)



SetPlayerVelocity probelm - peterory - 24.06.2012

can not use this function to a npc?
i wan't that npc move use this function


Re: SetPlayerVelocity probelm - Grand_Micha - 24.06.2012

Here, take a look at this:

https://sampwiki.blast.hk/wiki/NPC:Main_Page

That means that NPCs can only be manipulated with the following functions:

Код:
    StartRecordingPlayback
    StopRecordingPlayback
    PauseRecordingPlayback
    ResumeRecordingPlayback
    SendChat
    SendCommand
    GetMyPos
    SetMyPos
    GetMyFacingAngle
    SetMyFacingAngle
    GetDistanceFromMeToPoint
    IsVehicleStreamedIn
    IsPlayerStreamedIn
Sorry, SetMyVelocity is not available for NPCs (yet).