14.06.2017, 22:09
DestroyObject is for objects created with CreateObject.
Since you're using CreatePlayerObject, use DestroyPlayerObject.
https://sampwiki.blast.hk/wiki/DestroyPlayerObject
Since you're using CreatePlayerObject, use DestroyPlayerObject.
https://sampwiki.blast.hk/wiki/DestroyPlayerObject