Creating missions
#1

How can i create missions like for each vehice like in firecats trucking script
PHP код:
enum missioninfo
{
    
Pay,
    
Mtext[200],
    
Checkpoint,
    
CheckpointID,
    
Float:Lastx,
    
Float:Lasty,
    
Float:Lastz,
     
TrailerID,
     
bool:AllowTrailerCheck,
     
TrailerCheckCount

PHP код:
enum Trailer1 //Model 435
{
    
MissionName[200],
    
Text[200],
    
bool:UseTrailerCheck,
    
MissionPay,
    
Float:loadx,
    
Float:loady,
    
Float:loadz,
    
Float:unloadx,
    
Float:unloady,
    
Float:unloadz,

PHP код:
new Trailer1Missions[][Trailer1] =
{
    
// {"Mission Text", UseTrailerCheck, MissionPay, loadx, loady, loadz, unloadx, unloady, unloadz,message to send to all when the player has delivered}
    /* KEY:
    ** "Mission Text" = The text the player will see when he/she is doing the mission!
    ** UseTrailerCheck = Weather or not the mission requires you use a vehile that has a trailer. Ex: Roadtrain with an Artict1 trailer!
    ** MissionPay = The amount the player will recive for doing there mission!
    ** loadx, loady, and loadz = The loading coordinates of the loading checkpoint!
    ** unloadx, unloadx, unloadx = The un-loading coordinates of the unloading checkpoint!
    enum missioninfo
    */
    
{"Tuff nut donuts have to be taken to LSPD in Los Santos.","has delivered some donuts to LSPD!",false4500, -2765.0977,766.0363,52.78131536.8346,-1671.5787,13.3828},
    {
"Some vegetables have to be taken from Randolph Industrial to LS Farms","has delivered vegetables from Randolph Industrial to LS Farms",false,3750,1721.2209,732.8987,10.8203,40.6678,-290.4606,1.9875},
    {
"Some food has to be taken from LS Farms to Angel Pine village","has delivered food from LS Farms to Angel Pine Village",false,8500,40.6678,-290.4606,1.9875,-2218.4490,-2326.2944,30.6250},
    {
"Some food has to be taken from Red County to Cluckin' Bell in San Fierro","has delivered food from Red County to Cluckin' Bell in San Fierro",false,6750,-536.2813,-540.1410,25.5234,-2682.9829,235.3971,4.3359}
}; 
thahnks?
Reply
#2

bump
Reply
#3

bump..

EDIT: Sorry for posting 2 hours and 25 minutes early..
Reply
#4

Bump

Giving rep!
Reply
#5

PM with more information and i'll help you in 1-1/2 hours
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)