Robable store's
#1

Can anyone tell me how to make a robable store in SF?

And i also need to know how to make businesses and houses
Reply
#2

Hmm, about robable store, you can do it with timers + dynamic CPs, when player enter the CP just start a timer (5minutes intreval) and check in timer if player still near the CP (when player enter dynamic CP, just make an array to store if player in checkpoint or nah)
PHP код:
new Robbing[MAX_PLAYERS]; // down there near Defines.

Robbing[playerid] = 0// OnPlayerConnect

Robbing[playerid] = 1// OnPlayerEnterDynamicCP(playerid, checkpointid)

Robbing[playerid] = 0// OnPlayerExitDynamicCP(playerid, checkpointid)

if(Robbing[playerid] == 1)
{
   
// In timer, Do what ever you want.

Its not code, its just something explains you how to do it, hope i helped you.
Reply
#3

I don't really get it(I am a starter btw)
Reply
#4

Anyone Please?
Reply
#5

Hello TheKnown,

While you can search, there are many ways to do it, i'll help you by a tutorial for doing this, but next time please check search button.

The link of tutorial : https://sampforum.blast.hk/showthread.php?tid=505857

- KillerDVX
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)