else if(egyezik(param[1],\"lead\") || egyezik(param[1],\"lead\"))
{
if(Dolgozik[playerid] != MUNKA_PIZZAFUTAR) return SendClientMessage(playerid, COLOR_RED, \"[Munka - Pizzafutár]: Nem vettél fel megrendelést!\");
if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, \"[Munka - Pizzafutár]: Járműből nem adhatod le!\");
new cp, Float:x, Float:y, Float:z;
if(IsPlayerInRangeOfPoint(playerid,4.0,x,y,z))
{
cp = random(sizeof(PizzafutarCheckpointok));
x = PizzafutarCheckpointok[cp][0];
y = PizzafutarCheckpointok[cp][1];
z = PizzafutarCheckpointok[cp][2];
new penz = Rand(7,18);
format(string, sizeof(string), \"~g~Jutalmad: $%d\", penz);
GameTextForPlayer(playerid, string, 2500, 4);
SendClientMessage(playerid, COLOR_YELLOW, \"[Munka - Pizzafutár]: Átadtad a pizzát a megrendelőnek!\");
AdPenz(playerid,penz);
SetPlayerCheckpoint(playerid, x,y,z, 5);
}
else
{
return 1;
}
}