(GM) WCRP prevedeni

Započeo CH | Ujo_TomO, Septembar 22, 2009, 17:37:47 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pise sve drugacije zato sto sam to koristio na kucnom serveru ali samo je prevedeno nista vise pa evo ako tko moze iskoristiti slobodno ...  8)

EVO SAMO pwn nemam nista vise
http://www.2shared.com/file/7973576/c93cd286/Lukic.html
Ex CroHerze DM HEAD Administrator

dobro da si stavio jer su mnogi trazili prevedeni wc-rp  :P



EDIT:


ahahahahahhah smisan si xD


public Startup(playerid, vehicleid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER || engineOn[vehicleid])
{
}
else if(!engineOn[vehicleid] && !vehicleEntered[playerid][vehicleid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, COLOR_YELLOW, "/start da upalite svoju pilu!");
TogglePlayerControllable(playerid, false);
vehicleEntered[playerid][vehicleid] = true;
}
else if(!engineOn[vehicleid] && vehicleEntered[playerid][vehicleid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, COLOR_YELLOW, "/start da upalite svoju pilu!");
TogglePlayerControllable(playerid, false);
}
}
public EngineBreak(targetid)
{
   
new Float:vHealth;
    GetVehicleHealth(GetPlayerVehicleID(targetid),vHealth);
if(IsPlayerInAnyVehicle(targetid))
if(vHealth < 450)
{
    SendClientMessage(targetid, COLOR_LIGHTBLUE, "Motor je otisao u k.... zovi skupog mehanicara /service mechanic!");
    RemovePlayerFromVehicle(targetid);
      TogglePlayerControllable(targetid, 1);
    }
}




a nisi sve preveo  :mad:

public CheckPing()
{
   for(new i; i < MAX_PLAYERS; i++)
   {
        if(IsPlayerConnected(i))
        {
        if(GetPlayerPing(i) >= MaxPing)
        {
        new Year,Month,Day;
    new Hour,Min,Sec;
        new pName[MAX_PLAYER_NAME];
        new string[256];

        getdate(Year,Month,Day);
gettime(Hour,Min,Sec);

GetPlayerName(i, pName, sizeof(pName));
        format(string,256,"[PingKicker] %s[ID:%d] has been kicked. Reason: High Ping (Max. Allowed: %d)",pName,i,MaxPing);
        SendClientMessageToAll(COLOR_ORANGE,string);
        format(string,256,"%s[ID:%d] has been kicked - %d/%d/%d at %d:%d and %d seconds, resean: High Ping",pName,i,Day,Month,Year,Hour,Min,Sec);
        KickLog(string);
        Kick(i);
        }
    }
}
}
Poslednja Izmena: Septembar 22, 2009, 20:03:00 POSLE PODNE od คภtє l๏שгค l๏שгเς | ђเאק

ma plzzz clickajte malooo :'(


Citat: à¸,,ภtÑ" l๏שгà¸,, l๏שгเÏ, | Ñ'เאק poslato Septembar 22, 2009, 19:32:11 POSLE PODNE
dobro da si stavio jer su mnogi trazili prevedeni wc-rp  :P



EDIT:


ahahahahahhah smisan si xD


public Startup(playerid, vehicleid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER || engineOn[vehicleid])
{
}
else if(!engineOn[vehicleid] && !vehicleEntered[playerid][vehicleid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, COLOR_YELLOW, "/start da upalite svoju pilu!");
TogglePlayerControllable(playerid, false);
vehicleEntered[playerid][vehicleid] = true;
}
else if(!engineOn[vehicleid] && vehicleEntered[playerid][vehicleid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, COLOR_YELLOW, "/start da upalite svoju pilu!");
TogglePlayerControllable(playerid, false);
}
}
public EngineBreak(targetid)
{
   
new Float:vHealth;
    GetVehicleHealth(GetPlayerVehicleID(targetid),vHealth);
if(IsPlayerInAnyVehicle(targetid))
if(vHealth < 450)
{
    SendClientMessage(targetid, COLOR_LIGHTBLUE, "Motor je otisao u k.... zovi skupog mehanicara /service mechanic!");
    RemovePlayerFromVehicle(targetid);
      TogglePlayerControllable(targetid, 1);
    }
}




a nisi sve preveo  :mad:

public CheckPing()
{
   for(new i; i < MAX_PLAYERS; i++)
   {
        if(IsPlayerConnected(i))
        {
        if(GetPlayerPing(i) >= MaxPing)
        {
        new Year,Month,Day;
    new Hour,Min,Sec;
        new pName[MAX_PLAYER_NAME];
        new string[256];

        getdate(Year,Month,Day);
gettime(Hour,Min,Sec);

GetPlayerName(i, pName, sizeof(pName));
        format(string,256,"[PingKicker] %s[ID:%d] has been kicked. Reason: High Ping (Max. Allowed: %d)",pName,i,MaxPing);
        SendClientMessageToAll(COLOR_ORANGE,string);
        format(string,256,"%s[ID:%d] has been kicked - %d/%d/%d at %d:%d and %d seconds, resean: High Ping",pName,i,Day,Month,Year,Hour,Min,Sec);
        KickLog(string);
        Kick(i);
        }
    }
}
}




Trazis dlaku u jajetu :S

meni ovaj gamemod nece Download Error: .....

To sam ja malo bezveze prevodio ako se kome nesviÄ'a neka si sam prevede  :D
evo novi LINK
Lukic.pwn - 1.1 Mb TURBOUPLOAD

http://rapidshare.com/files/283916932/Lukic.pwn RAPIDSHARE
Ex CroHerze DM HEAD Administrator

Ovaj WestCoast bar meni nije nesto,jer sam licno radio s njim..uredjivao editovao i slicno i ima dosta glupih stvari kao recimo taj CheckPing koji kicka i kad jest i kad nije visok ping...odmah na ulazu te kicka i s tim samo gubis igrace... itd itd..


Svi koji igraju CS-a neka nam se pridruze (:

Ali je meni najbolji za edit ja sam pokusao raditi sa drugim ali ovaj je najbolji i nije nesto previse kompliciran thumbsup
Ex CroHerze DM HEAD Administrator

e meni kad odem save i hocu probat na tom modu baca mi error


C:\DOCUME~1\Korisnik\LOCALS~1\Temp\Lukic.pwn(8) : fatal error 100: cannot read from file: "MidoStream"

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Mysterious roleplay

Citat: bero poslato Oktobar 14, 2009, 23:53:22 POSLE PODNE
e meni kad odem save i hocu probat na tom modu baca mi error


C:\DOCUME~1\Korisnik\LOCALS~1\Temp\Lukic.pwn(8) : fatal error 100: cannot read from file: "MidoStream"

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



eo ako ti je jos taj problem vidi u include imas li midostream unutra...

ma plzzz clickajte malooo :'(

nekuzim u include u hostu mislis?
CH Gamemode Prekopiran
Download : Http://www.killerjo.net/


pa ako je na hostu server onda tamo u include a po slici ne vidim da je u hostu...ides u /pawno/include i tu pogledas imas li midostream

#include <a_samp>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <morphinc>
#include <MidoStream>

Tu je sve stavljenko kolko sma ja sada provjerio i ono ostalo ali daj ti to sredi taj error i plz daj link od upload novoga!
Probo sam ubacit onaj drugi jedan streamer jednostavan i isto mi taj error izbacilo sta je to?
Poslednja Izmena: Decembar 09, 2009, 15:20:03 POSLE PODNE od roki
CH Gamemode Prekopiran
Download : Http://www.killerjo.net/


Pa reko sam ti ides u tu mapu di ti je server...nades mapu Pawno u mapi pawno imas mapu include, u mapi include mora biti file koji se zove MidoStream. Jeli tamo?

obrisi ovo:

#include <MidoStream>

i ako su ti u gamemodu objekti obrisi ovakve objekte:

CreateStreamedObject

Aequam memento rebus in arduis servare mentem.