Help with PlayerPos
#1

Hey guys, i have a small Question.
First of all, im working on a little system, you do /dropgun, and an object will be creates on the Players Position.

But HOW, do i make that?
Reply
#2

https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/Fwrite
https://sampwiki.blast.hk/wiki/Fread

THE BOTTOM TWO ARE IF YOU WANT THE GUN TO STAY THERE ALWAYS TILL SOMEONE PICKS IT UP,
THAT MEANS WHEN SERVER RESTARTS AND NO1S PICKED IT UP IT WILL STILL BE THERE,

Suggestion:
Make it infront or behind or at side of the player otherwise il suspect that the player will pick it up as soon as they drop
Reply
#3

I actually want it to be at his Feet, how?
Also, i came further and now i wanna make something like /giveweapon [weaponname], but How?
I have all defined, but i cant come any further.
Reply
#4

Get a example code of a roleplay gamemode
Reply
#5

No, i ment as an Admin command.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)