[Pomoc] FreeZona

Započeo [NG | RP] Almir, Avgust 22, 2012, 22:32:40 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim: No obot
Problem: Molim vas nemojte rec ima FS.....
Zelio bi da uradim da kucam FZULAZ i da se portam na FZ i kada se portam da dobijem oruzije i kada ja nekog ubijem da mi pise ko je koga ubio i npr kada mene neko ubije da se spawnam na FZ koordinati i da budu 2 tima i kada kucam /fzizlaz da se spawnam u kuci il bilo gdje....Ako znate kakav je FZ NA Yunite d B a l kanu
Slike://
Dio skripte://



Ako zna neko a da ima vremena bil mi mogao pokazat evo vam link od FBa
http://www.facebook.com/aldin.delic.9


public OnPlayerConnect(playerid)
{
    Snich_DMEvent[playerid]=  0;
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    if (Snich_DMEvent[playerid] == 1)
{
GameTextForPlayer(playerid, "~w~Spawnani ste u ~g~Vojnu Bazu~w~.", 3000, 4);
SetPlayerColor(playerid, COLOR_GREEN);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 34, 1000);
GivePlayerWeapon(playerid, 24, 1000);
GivePlayerWeapon(playerid, 25, 1000);
GivePlayerWeapon(playerid, 16, 500);
GivePlayerWeapon(playerid, 17, 500);
SetPlayerTeam(playerid, 1);
SetPlayerPos(playerid, 1316.2979,-940.9728,57.7727);
SetPlayerFacingAngle(playerid, 180);
SetPVarInt(playerid,"Skin",GetPlayerSkin(playerid));
SetPlayerSkin(playerid, 287);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
Snich_DMEvent[playerid]= 1;
OdredjenTim[playerid]= 1;
TogglePlayerControllable(playerid,1);
SetPlayerInterior(playerid, 0);
}
// 307.8633,2535.5527,16.8162
if (Snich_DMEvent[playerid] == 2)
{
GameTextForPlayer(playerid, "~w~Spawnani ste u ~r~Teroristicku Bazu~w~.", 3000, 4);
SetPlayerColor(playerid, COLOR_LIGHTRED);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 34, 1000);
GivePlayerWeapon(playerid, 24, 1000);
GivePlayerWeapon(playerid, 25, 1000);
GivePlayerWeapon(playerid, 16, 500);
GivePlayerWeapon(playerid, 17, 500);
SetPlayerTeam(playerid, 2);
SetPlayerPos(playerid, 1316.2979,-940.9728,57.7727); //-549.6487,2593.server uklonjen!,53.9348
SetPlayerFacingAngle(playerid, 270);
SetPVarInt(playerid,"Skin",GetPlayerSkin(playerid));
SetPlayerSkin(playerid, 179);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
Snich_DMEvent[playerid] = 1;
OdredjenTim[playerid]= 2;
TogglePlayerControllable(playerid, 1);
SetPlayerInterior(playerid, 0);
}
return 1;
}

//                              OnPlayerCommandText
//==============================================================================
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/deathmatch", true) == 0 || strcmp(cmdtext, "/dm", true) == 0)
{
ShowPlayerDialog(playerid, TDM_Dialog, DIALOG_STYLE_LIST,"> TDM < Izaberi svoj tim!","\t\t> Vojska <\n\t\t> Teroristi <\n\t\tNapusti TDM","Izaberi", "Odustani");
return 1;
}
return 0;
}

//                              OnDialogResponse
//==============================================================================
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == TDM_Dialog)
{
if(response)
{
if(listitem == 0)
{
if (OdredjenTim[playerid] == 1 || OdredjenTim[playerid] == 2)
{
                    SendClientMessage(playerid, COLOR_GREY, "{F81414}>> [Error]: {C3C3C3}Ukoliko zelite promijeniti tim, morate izaci sa Team Deathmatch-a.");
                    return 1;
    }
if (OdredjenTim[playerid] != 1)
{
SendClientMessage(playerid, COLOR_GREY, "{6EF83C}>> [Succes]: {C3C3C3}Pridruzili ste se Vojnom timu. Eliminisite sve Teroriste!");
SetPlayerColor(playerid, COLOR_GREEN);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 34, 1000);
GivePlayerWeapon(playerid, 24, 1000);
GivePlayerWeapon(playerid, 25, 1000);
GivePlayerWeapon(playerid, 16, 500);
GivePlayerWeapon(playerid, 17, 500);
SetPlayerTeam(playerid, 1);
SetPlayerPos(playerid, 307.8633,2535.5527,16.8162);
SetPlayerFacingAngle(playerid, 180);
SetPVarInt(playerid,"Skin",GetPlayerSkin(playerid));
SetPlayerSkin(playerid, 287);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
Snich_DMEvent[playerid]= 1;
OdredjenTim[playerid]= 1;
TogglePlayerControllable(playerid,1);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "{F81414}>> [Error]: {C3C3C3}Vec ste u Vojnom timu!");
}
}
if(listitem == 1)
{
if (OdredjenTim[playerid] == 1 || OdredjenTim[playerid] == 2)
{
                    SendClientMessage(playerid, COLOR_GREY, "{F81414}>> [Error]: {C3C3C3}Ukoliko zelite promijeniti tim, morate izaci sa Team Deathmatch-a.");
                    return 1;
    }
if (OdredjenTim[playerid] != 2)
{
SendClientMessage(playerid, COLOR_GREY, "{6EF83C}>> [Succes]: {C3C3C3}Pridruzili ste se Teroristickom timu. Eliminisite sve Vojnike!");
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 34, 1000);
GivePlayerWeapon(playerid, 24, 1000);
GivePlayerWeapon(playerid, 25, 1000);
GivePlayerWeapon(playerid, 16, 500);
GivePlayerWeapon(playerid, 17, 500);
SetPlayerTeam(playerid, 2);
SetPlayerPos(playerid, -549.6487,2593.server uklonjen!,53.9348);
SetPlayerFacingAngle(playerid, 270);
SetPVarInt(playerid,"Skin",GetPlayerSkin(playerid));
SetPlayerSkin(playerid, 179);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerColor(playerid, COLOR_LIGHTRED);
Snich_DMEvent[playerid] = 1;
OdredjenTim[playerid]= 2;
TogglePlayerControllable(playerid, 1);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "{F81414}>> [Error]: {C3C3C3}Vec ste u Teroristickom timu!");
}
}
if(listitem == 2)
{
    if (Snich_DMEvent[playerid] == 1)
{
SetPlayerVirtualWorld(playerid, 0);
    SetPlayerPos(playerid, 1191.8240,-923.8575,43.1066);
SetPlayerTeam(playerid, -1);
SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin"));
SetPlayerColor(playerid,TEAM_HIT_COLOR);
ResetPlayerWeapons(playerid);
OdredjenTim[playerid]= 0;
Snich_DMEvent[playerid] = 0;
SendClientMessage(playerid, COLOR_GREY, "{6EF83C}>> [Succes]: {C3C3C3}Napustili ste Team Deathmatch.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "{F81414}>> [Error]: {C3C3C3}Niste na Team Deathmatch-u.");
}
}
}
}
return 1;
}

//                              Stock's
//==============================================================================
stock TERORISTI_VOZILA_STOCK(carid)
{
if(carid == TERORISTI_VOZILA[0] || carid == TERORISTI_VOZILA[1] || carid == TERORISTI_VOZILA[2] || carid == TERORISTI_VOZILA[3] || carid == TERORISTI_VOZILA[4] || carid == TERORISTI_VOZILA[5] || carid == TERORISTI_VOZILA[6] || carid == TERORISTI_VOZILA[7] || carid == TERORISTI_VOZILA[8])
{
return 1;
}
return 0;
}

stock VOJNICI_VOZILA_STOCK(carid)
{
if(carid == VOJNICI_VOZILA[0] || carid == VOJNICI_VOZILA[1] || carid == VOJNICI_VOZILA[2] || carid == VOJNICI_VOZILA[3] || carid == VOJNICI_VOZILA[4] || carid == VOJNICI_VOZILA[5] || carid == VOJNICI_VOZILA[6] || carid == VOJNICI_VOZILA[7] || carid == VOJNICI_VOZILA[8] || carid == VOJNICI_VOZILA[9] || carid == VOJNICI_VOZILA[10] || carid == VOJNICI_VOZILA[11] || carid == VOJNICI_VOZILA[12] || carid == VOJNICI_VOZILA[13] || carid == VOJNICI_VOZILA[14] || carid == VOJNICI_VOZILA[15] || carid == VOJNICI_VOZILA[16] || carid == VOJNICI_VOZILA[17] || carid == VOJNICI_VOZILA[18] || carid == VOJNICI_VOZILA[19] || carid == VOJNICI_VOZILA[20] || carid == VOJNICI_VOZILA[21] || carid == VOJNICI_VOZILA[22] || carid == VOJNICI_VOZILA[23])
{
return 1;
}
return 0;
}
Evo FS gdje sada da namjestim kada me ubiju da se spawnam u DM zoni???
Poslednja Izmena: Avgust 23, 2012, 04:36:44 PRE PODNE od Aldindeee

Znaci, promjenis kordinate poslije smrti
SetPlayerPos(playerid, 1316.2979,-940.9728,57.7727);
i
SetPlayerPos(playerid, 1316.2979,-940.9728,57.7727);

Opet nece ljudi pomagajte :D....Ovo je FilterSkripta pa da znate


Jos mi nisi vratio 50k sto sam ti pozajmio kad si bio lvl 4 haha
Mani se skriptanja znas i sam da si bot :) nikad neces uspeti da kopiras YUB nikad
i refreshujes temu a nije proslo 24h uzgred i procitaj pravila

Koja si ti budala Nikola...............Aj poslat cu ti IP kad zavrsim :P :P :P :D
Poslednja Izmena: Avgust 23, 2012, 20:58:56 POSLE PODNE od Aldindeee


De aj sta se ljutis JBT poslat cu ti 50k :P i onako sam nabugo 8 milijardi

I de  aj sad mi reci kako da uradim :P

CUBEE meni govoris
Jadan ti
Hah evo ulazio sam ti ne srv samo sto si promjenio nazive i to je to za tvoj srv je zasluzan Muhamed Omerkic :P