Making Jobs
#1

I am wanting to make Jobs for my freeroam as a way of earning money, but I don't know how to make them...


I need to know how to make it so when you enter one checkpoint it says Loading - Passengers, Timber... Then is shows another checkpoint is where the drop of place is, and when you enter each checkpoint it freezes you for 6 seconds. Then when you enter the second checkpoint it gives you money... I also want to find out how to make it so, you can only do the job if you are in a Truck and Trailer, or Plane.... I also wanna make it so different Classes are different Jobs, everything you do for me, I will rep+ everyone who hlps, please help me make this, much appreciated, Thanks In Advance BigAl
Reply
#2

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint
https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint

You're requesting.
Reply
#3

That is of no use to me for what I am trying to do.
Reply
#4

Dont worry too much about VarthShenon, he's trying hard to get his post count up.
What you want to do is download scripts to see how they did it, cause you are obviously new to pawno scripting.

The basic thing to make a job, is to set a variable to the player, like SetPVarInt(playerid, "job", 1);.
The player now has job 1, which can allow him to drive a Harvester, and use the command /harvest.

When the player use the command /harvest, you create a checkpoint for the player.
The player enters the checkpoint, and you give the player a variable called "HasCorn" or whatever. Then you create another checkpoint for the player, to the drop off place. The player enters the second checkpoint and do /dropoff, and you put the variable "HasCorn" to 0, give him the money, and then place a new checkpoint out of the corn field.

Thats the fastest way I can explain the whole system. Try your way ahead, and you will see within the code how to do it. It's easy, once you get to know it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)