angel
-
Posts
179 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
News
Documentation
Posts posted by angel
-
-
Ce sariti asa cu gura?Daca nici nu stiti cine a facut sau de unde e!E din GM-ul meu eu lam facut.Ce copii
-
Nu cred ca e copy + paste.Eu lam facut in GM-ul meu.Asa ca te rog nu sari cu gura daca nu sti nimic.
Joint nam voie sa fac tutoriale sau ce?
-
1.Adaugati:
new takejob;Acum mergeti la
OnPlayerPickUpPickupSi adaugati:
if(pickupid == takejob){
GameTextForPlayer(playerid,"~g~Welcome to the City Hall ~n~~y~Type /takejob if you want any job", 5000, 3);
}
Cautati linia:
printf("Pickups Max = 200, Current Pickups = %d",pickups);Si adaugati asta putin mai jos:
takejob = CreatePickup(1239, 23, 362.2952,173.4369,1008.3828); //takejobAcum adaugati comanda asta: http://pastebin.com/FcYUhrty
Finish!
-
1.Mergeti la comanda /clear
sub
ClearCrime(giveplayerid);Adaugati:
for(new i=0; i<= MAX_PLAYERS; i++){
if(IsPlayerConnected(i))
{
if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1 || PlayerInfo[pMember] == 2 || PlayerInfo[pLeader] == 2 ||PlayerInfo[pMember] == 3 || PlayerInfo[pLeader] == 3)
{
if( (i == playerid) || (i == giveplayerid))
{}
else
{
format(string, sizeof(string), "* Officer %s has cleared %s 's Records and Wanted Points.", sendername, giveplayer);
SendTeamMessage(2, COLOR_DBLUE, string);
}
}
}
}
if(gTeam[giveplayerid]==4)
{
gTeam[giveplayerid] = 3;
SetPlayerToTeamColor(giveplayerid);
}
}
}
-
a mai postat odata...ziice ca problema e cand da /park ...opreste serverul si cand il porneste iar nu sa salvat masina la locul respecitv.
if (strcmp("/park", cmd, true, 10) == 0){
if (IsPlayerInVehicle(playerid,Carlist[playerid][Carid]))
{
GetVehiclePos(Carid, x, y, z);
GetVehicleZAngle(carid, a);
Carlist[Carid][cLocationx] = x;
Carlist[Carid][cLocationy] = y;
Carlist[Carid][cLocationz] = z;
Carlist[Carid][cAngle] = a;
SendClientMessage(playerid, COLOR_GREEN, "Saved car position!");
}
else { SendClientMessage(playerid, COLOR_GREY, "That is not your car!"); }
return 1;
}
Incearca
-
Pai ce ai vrea sa faca acea comanda?
-
Poate ai modificat ceva la OnPlayerRegister...
-
npc-urile alea leam pus unde trebuie.Trenul e in gara SF...dar nu se misca...trebuia sa trec undeva npc-urile alea?
-
linkul tutorialului,si te voi ajuta
-
else if(strcmp(x_nr,"buy",true) == 0)
{
if(IsAnOwnableCar(idcar))
{
if(PlayerInfo[playerid][pLevel] < 2)
{
SendClientMessage(playerid, COLOR_GREY, "You need to be level 2 to buy a vehicle!");
return 1;
}
if(SBizzInfo[1][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
return 1;
}
if(PlayerInfo[playerid][pPcarkey] == 999) { }
else if(PlayerInfo[playerid][pPcarkey2] == 999) { }
else if(PlayerInfo[playerid][pPcarkey3] == 999) { }
else { SendClientMessage(playerid, COLOR_GREY, " You already own 3 vehicles"); return 1; }
if(CarInfo[idcar][cOwned]==1)
{
SendClientMessage(playerid, COLOR_GREY, "Someone already owns this car");
return 1;
}
if(GetPlayerMoney(playerid) >= CarInfo[idcar][cValue])
{
if(PlayerInfo[playerid][pPcarkey] == 999) { PlayerInfo[playerid][pPcarkey] = idcar; }
else if(PlayerInfo[playerid][pPcarkey2] == 999) { PlayerInfo[playerid][pPcarkey2] = idcar; }
else if(PlayerInfo[playerid][pPcarkey3] == 999) { PlayerInfo[playerid][pPcarkey3] = idcar; }
else { return 1; }
CarInfo[idcar][cOwned] = 1;
GetPlayerName(playerid, sendername, sizeof(sendername));
strmid(CarInfo[idcar][cOwner], sendername, 0, strlen(sendername), 999);
SafeGivePlayerMoney(playerid,-CarInfo[idcar][cValue]);
SBizzInfo[1][sbTill] += 5000;
ExtortionSBiz(1, SBizzInfo[1][sbEntranceCost]);
SBizzInfo[1][sbProducts]--;
PlayerPlayMusic(playerid);
GameTextForPlayer(playerid, "~w~Congratulations~n~Don't forget to /v park it!", 5000, 3);
SendClientMessage(playerid, COLOR_GRAD2, "Congratulations on your new purchase!");
SendClientMessage(playerid, COLOR_GRAD2, "Type /vehiclehelp to view the vehicle manual!");
SendClientMessage(playerid, COLOR_YELLOW2, "You can start the engine up now !");
gEngine[playerid] = 0;
engineOn[GetPlayerVehicleID(playerid)] = false;
DateProp(playerid);
OnPropUpdate();
OnPlayerUpdate(playerid);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You don't have enough cash with you ! ");
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]");
SendClientMessage(playerid, COLOR_WHITE, "Available names: park, lock(1-3), sell, sellto, color");
return 1;
}
}
return 1;
}
pui asta sub lock3 incearca.
-
Eu am un gm care daca il pornesc nu arata ca este online.Cred ca este facut pe versiunea 0.2x.Cum as putea sa il fac sa fie compatibil cu vresiunea 0.3b?
-
Bun +1 de la mine,dar cum modifici boxul sa fie mai lung sau inalt..?
-
Ai pus ceva gresit,uitate inca odata peste tutorial si poate iti dai seama de greseala.
-
Am postat mai sus pastebin.
-
1. http://pastebin.com/m3c2cd7a
-
sterge "new stars;" incearca asa;)
-
pune aici linia 203 sa o vad
-
verifica si tu sa vezi:)
-
pai da este cu claxon.....dar nu si cu comenzi!!!
si oricum monster la fs-ul tau gateul se deschide doar daca esti langa el ...fara sa claxonezi...deci orice player sta langa gate se deschide;)
-
Am vazut ca multi playeri cauta cum sa faca sa apara stele la fiecare wanted primit.
Urmati acest tutorial>
La inceput puneti "new stars;" intre celalalte
Cauta "OnPlayerEnterVehicle" si pui sub asta if(gTeam[playerid] >= 3)
{
new wanted = GetPlayerWantedLevel(playerid);SetPlayerWantedLevel(playerid, wanted + 1);
Apoi cauti:
si pui asta deasupra la SetPlayerInterior(playerid, 6);if(PlayerInfo[playerid][pJailed] == 1){
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid,264.6288,77.5742,1001.0391);
SendClientMessage(playerid, COLOR_LIGHTRED, "Incomplete Jail Sentence, back to jail.");
return 1;
}
SetPlayerWantedLevel(playerid, 0);Cauta asta:
if(count == 1){
GivePlayerMoney(playerid, - price);
PlayerInfo[playerid][pWantedDeaths] += 1;
PlayerInfo[playerid][pJailed] = 1;
PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(1000);
format(string, sizeof(string), "* You are in Jail for %d Seconds and lose $%d because of running away and getting shot by the Officer.", PlayerInfo[playerid][pJailTime], price);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
WantedPoints[playerid] = 0;
WantedLevel[playerid] = 0;
}
}
}
Sub asta PlayerInfo[playerid][pJailTime] = (WantedLevel[playerid])*(1000);
pui asta
SetPlayerWantedLevel(playerid, 0);Apoi cauti linia asta
format(turnmes, sizeof(turnmes), "You've commited a Crime ( %s ). Reporter: %s.",reason,turner);Si pui asta sub SendClientMessage
new wanted = GetPlayerWantedLevel(playerid);SetPlayerWantedLevel(playerid, wanted + 1);
Apoi daca vrei sa faci cand copul da clear sa dispara stelele, Cauti comanda /clear mergi putin mai jos si gasesti Officer %s has cleared .... Sub SendClientMessage pui asta:
SetPlayerWantedLevel(giveplayerid, 0);Cauta asta:
SetPlayerInterior(suspect, 6);SetPlayerPos(suspect,264.6288,77.5742,1001.0391);
PlayerInfo[suspect][pJailTime] = time * 60;
if(bail == 1)
{
Deasupra lui SetPlayerInterior(suspect, 6); pui asta:
SetPlayerWantedLevel(giveplayerid, 0);Asta a fost tot!Sper sa va mearga! Daca aveti ceva nelamuriri postati aici si va voi raspunde!
-
Daca vrei sa sti nu e furat...am avut basic.pwn facut de razr doar cu comenzi si eu cu mar1an am modificat sa fie cu claxon
-
Am modificat din fs-ul lui RazR basic.pwn si am facut sa fie si cu comenzi si cu claxon
Cei care au mau ajutat foarte mult si le multumesc sunt: Klaudiu de pe b-zone,Mar1an..
Comenzile sunt:
/openlsgate
/opensfgate
/openbarrier
Si cu claxonul poti deschide!!!
Download Link: http://uploading.com/files/4a8be7em/basic.pwn/
Sper sa va mearga!
-
Care este id-ul cutie galbene?
-
Tot nu dispar stelele cand playerul moare....sau este arrestat
Ajutoooor
in Arhivă probleme
Posted
incearca sa dezactivezi firewall.