NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

// KAMYONCU MESLEĞİ - HINNVES !

#include <a_samp>
#include <zcmd>
#include <streamer>
#include <sscanf2>

#pragma tabsize 0

#define FILTERSCRIPT
/////////////////////////////////////

//** SISTEM BILGILERI **//
#define SISTEM_ADI "KAMYONCU MESLEGI"
#define SISTEM_SURUMU "V1.0"
#define SISTEM_YAPIMCISI "HINNVES"

new KamyonArac[3], KamyonCP[MAX_PLAYERS], pickup, bool:Kamyoncu[MAX_PLAYERS];

#define SKM(%0,%1)
SendClientMessage(%0, 0x56AA79FF, "[Kamyonculuk MesleÄŸi]{FFFFFF} "%1)

public OnFilterScriptInit()
{
CreateDynamicPickup(11735, 1, 1796.3723,-1704.6887,13.5279);
CreateDynamic3DTextLabel("{56AA79}[Kamyonculuk MesleÄŸi]n{FFFFFF}/kamyon", -1, 1796.3723,-1704.6887,13.5279, 15.0);

print("n--------------------------------------");
print(" KAMYONCU MESLEGI - HINNVES");
print("--------------------------------------n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}


main() {}


public OnGameModeInit()
{
KamyonArac[0] = CreateVehicle(455, 1774.8046, -1702.7509, 13.8495, 90.4800, 6, -1, 100);
KamyonArac[1] = CreateVehicle(455, 1774.8394, -1697.4230, 13.8495, 90.4800, 6, -1, 100);
KamyonArac[2] = CreateVehicle(455, 1774.8226, -1691.1102, 13.8495, 90.4800, 6, -1, 100);
DestroyPickup(pickup);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerConnect(playerid)
{
Kamyoncu[playerid] = false;
KamyonCP[playerid] = 0;
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
Kamyoncu[playerid] = false;
KamyonCP[playerid] = 0;
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
if(vehicleid == KamyonArac[0] || vehicleid == KamyonArac[1] || vehicleid == KamyonArac[2])
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 0;
SetVehicleToRespawn(vehicleid);
SKM(playerid, "MesleÄŸi iptal ettiniz!");
SetPlayerPos(playerid, 1791.6937,-1703.9923,13.5287);
}
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(vehicleid == KamyonArac [0] || vehicleid == KamyonArac [1] || vehicleid == KamyonArac [2])
{
KamyonCP[playerid] = 1;
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid, 1749.7947, -1699.1416, 13.9226, 3.0);
}
}
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
if(KamyonCP[playerid] == 1)
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 2;
SetPlayerCheckpoint(playerid, 1747.6091, -1717.0657, 13.9226, 3.0);
}
else if(KamyonCP[playerid] == 2)
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 3;
SetPlayerCheckpoint(playerid, 1718.7050, -1730.0872, 13.9226, 3.0);
}
else if(KamyonCP[playerid] == 3)
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 4;
SetPlayerCheckpoint(playerid, 1686.4493, -1791.3812, 13.8617, 3.0);
}
else if(KamyonCP[playerid] == 4)
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 5;
SetPlayerCheckpoint(playerid, 1686.9045, -1821.9609, 13.8617, 3.0);
}
else if(KamyonCP[playerid] == 5)
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 6;
SetPlayerCheckpoint(playerid, 1686.1631, -1847.0487, 13.8344, 3.0);
}
else if(KamyonCP[playerid] == 6)
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 7;
SetPlayerCheckpoint(playerid, 1686.1631, -1847.0487, 13.8344, 3.0);
}

else if (KamyonCP[playerid] == 7)
{
DisablePlayerCheckpoint(playerid);
KamyonCP[playerid] = 0;
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
SKM(playerid, "Yolu tamamladığınız için iş veren size %d miktarında para verdi!");
GivePlayerMoney(playerid, 650);
SetPlayerPos(playerid, 1791.6937,-1703.9923,13.5287);
}
return 1;
}

CMD:test(playerid, params[])
{
SetPlayerPos(playerid, 1791.6937,-1703.9923,13.5287);
return 1;
}

CMD:kamyon(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 1.0, 1796.3723,-1704.6887,13.5279))
return SendClientMessage(playerid, -1, "{56AA79}[Kamyonculuk MesleÄŸi] {FFFFFF}Mesleğe katılım noktasında değilsiniz.");

if(Kamyoncu[playerid] == true)
return SendClientMessage(playerid, -1, "{56AA79}[Kamyonculuk MesleÄŸi] {FFFFFF}Zaten kamyonculuk mesleğindesiniz.");

Kamyoncu[playerid] = true;
SendClientMessage(playerid, -1, "Kamyonculuk mesleğine katıldınız.");
return 1;
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.