Jump to content
  • 0

cum fac sa sclipeasca o zona?


Andr3y

Question

9 answers to this question

Recommended Posts

Tu vrei taketurf sau ceva sa cuceresti. Eu am asa ceva pe Server la mine dar nu o sa-ti dea nimeni pentru ca sunt cateva Servere in Romania care au.

Sfatul meu este sa mai astepti 1-2-3 luni ca atunci sigur o sa aiba toate serverele comanda de cucerit teritorii, vei vedea !

Si intr-adevar variabila GangZoneFlashForAll iti face sa clipeasca teritoriul

<a href="http://www.userbars.be"><img src="http://img534.imageshack.us/img534/9098/36589.gif" alt="Free userbars" border="0"></a>

Link to comment
Share on other sites

eu nu postez daca nu incerc toate metodele inainte si credema m`am uitat s pe wiki si pe tot da nu merge am incercat sa o bag si in comanda da nu merge ma duk in zona dau /zone si nu merge nu face nimic:|

ce vrei tu am postat eu acum cev azile pe sa-mp.ro dar lumea invidioasa..na

ti-l dau daca vrei dami pm cu id tau!

rszadc33936a6e246e39ea2.png
Link to comment
Share on other sites

gunskill am srv tau si e foarte tare ... acum cam 1 sapt ti`am cerut comanda si mi`ai dat ignore ai zis ca o postez..:P dar eu nu vreau cu cucerirea zonelor vreau ceva gen /war ...am /war dar nu stiu cum sa fac sa sclipeasca zona ...nu stiu cum sa adaug la comanda gangzoneflashforall

Snapshot_2012_03_07_003934.jpg
Link to comment
Share on other sites

da deci ms am zis k m`am uitat la toate si am incercat ...

new gangzone;

public OnGameModeInit()

{

    gangzone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);

    return 1;

}

//cmd

if(!strcmp(cmdtext,"/war",true))

{

if(IsPlayerInArea(playerid,1248.011, 2072.804, 1439.348, 2204.319))

{

    GangZoneFlashForPlayer(playerid, gangzone, COLOR_RED);

    //SetTimerEx("TakeZone",1*60*1000,0,"ii",playerid,i);//

}

}

//daca nu ai functia

public IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)

{

    new Float:x, Float:y, Float:z;

    GetPlayerPos(playerid, x, y, z);

    if (x > minx && x < maxx && y > miny && y < maxy) return 1;

    return 0;

}

si nu merge

Snapshot_2012_03_07_003934.jpg
Link to comment
Share on other sites

[pawn]// This is a comment

// uncomment the line below if you want to write a filterscript

//#define FILTERSCRIPT

#include <a_samp>

new gangzone;

main()

{

print("\n----------------------------------");

print(" Blank Gamemode by your name here");

print("----------------------------------\n");

}

public OnGameModeInit()

{

// Don't use these lines if it's a filterscript

SetGameModeText("Blank Script");

AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

gangzone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);

return 1;

}

public OnPlayerSpawn(playerid)

{

    GangZoneShowForPlayer(playerid, gangzone, 0xFFFF0096);

    return 1;

}

forward IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy);

public IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)

{

    new Float:x, Float:y, Float:z;

    GetPlayerPos(playerid, x, y, z);

    if (x > minx && x < maxx && y > miny && y < maxy) return 1;

    return 0;

}

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 OnPlayerCommandText(playerid, cmdtext[])

{

if(!strcmp(cmdtext,"/war",true))

{

if(IsPlayerInArea(playerid,1248.011, 2072.804, 1439.348, 0.0))

{

GangZoneFlashForPlayer(playerid, gangzone, 0xFF000098);

//SetTimerEx("TakeZone",1*60*1000,0,"ii",playerid,i);//

}

}

return 1;

}

[/pawn]

Testat si merge :).

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.