SA-MP Forums Archive
[Help] Roleplay Break-in CMD [+REP] - 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: [Help] Roleplay Break-in CMD [+REP] (/showthread.php?tid=576164)



[Help] Roleplay Break-in CMD [+REP] - Mordekaiser - 01.06.2015

Removed.


Re: [Help] Roleplay Break-in CMD [+REP] - Sellize - 01.06.2015

Break into what? Houses/cars? Also show any needed variables


Re: [Help] Roleplay Break-in CMD [+REP] - Mordekaiser - 01.06.2015

houses*
and what do you need to know ?


Re: [Help] Roleplay Break-in CMD [+REP] - rappy93 - 01.06.2015

You can just take the /enter command that you already have and duplicate it, change the name to /breakin and then change the conditions, if(IsPlayerAdmin(playerid) == true || IsACop(playerid) == true) or something like this.


Re: [Help] Roleplay Break-in CMD [+REP] - Stanford - 01.06.2015

I propose to you to use timers too to make it more realistic as it takes time to break into someone's house as far as I know!.

Learn how to use SetTimerEx (same as SetTimer, but with parameters).
Good luck I hope I helped any feedback would be appreciated!