Bank System
#1

Does anyone know where I can get a paycheck system, so when payday comes, it tells you to goto the LS City Bank to pick up your check, and when you get there, you walk through a marker and recive your payday?
Reply
#2

this are the steps.
- make a pickup at lsbank
- Make timer with function
- in that function set a variable to 1
- when someone goes to bank, check if variable is 1, and than give him the payday.
Reply
#3

What script do you use?
Reply
#4

Quote:
Originally Posted by MenaceX^
What script do you use?
Wasted Roleplay Los Santos: Godfather Edit
Reply
#5

Create a new pickup varieble, OnPlayerPickupickup - When the player stands on the pickup, give him a payday.
Reply
#6

Quote:
Originally Posted by MenaceX^
Create a new pickup varieble, OnPlayerPickupickup - When the player stands on the pickup, give him a payday.
Okay, but when I do that, it will only give the player the paycheck once on payday right?
Reply
#7

Should it look like this?
Код:
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	if (PlayerToPoint(3, playerid,2315.9199,-12.0549,26.7422))
	{
		PayDay();
	}
	return 1;
}
Reply
#8

no, search how to use CreatePickup on the wiki. Than you wil lsee what you done wrong.
Reply
#9

Okay but I only want it so that they get it on PayDay();
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)