How to add buildings and how to make them robbable
#1

Hello, my name is chris and im just starting to learn scripting and making my own server. Its a CNR or Cops and Robbers but i dont know how to add interiors and the check marks so people can rob places i would appreciate it if someone could help

Thanks,Chris
Reply
#2

[EXPLANATION]
xpos = the X position of the co-ordinates of the interior
ypos = the Y position of the co-ordinates of the interior
zpos = the Z position of the co-ordinates of the interior
int = the interior of the co-ordinates
[---------------------------------------------------------]
the explanation is just to show u... you have to put the co-ordinates of the interior u want there..
replace zpos,xpos,ypos and int with the co-ords as said..
use this on a command or pickup
SetPlayerInterior(playerid,int);
SetPlayerPos(playerid,xpos,ypos,zpos);
quite simple...
https://sampwiki.blast.hk/wiki/InteriorIDs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)