Szerző Téma: Ebbe mi a hiba?  (Megtekintve 899 alkalommal)

Ebbe mi a hiba?
« Dátum: 2010. Augusztus 18. - 13:48:11 »
0 Show voters
//-------------Kapu
    if(!strcmp(cmdtext, \"/fel\", true)) //
{
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) //milyen frakcio nyithassa mpl a yaku
    {
        if (PlayerToPoint(15, playerid,-1431.106445, 480.586487, 14.415201)) // innen
   {
            MoveObject(kapuproba,-1431.249268, 480.467163, 3.215282, 15.8); //i
            SetTimer(\"ProbaClose\", 12000, 0);
            SendClientMessage(playerid, COLOR_BLUE,\"A kapu 7másodperc múlva záródik.\");
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), \"* %s elõveszi a kapu távirányítóját és kinyitja a kaput.\", sendername);
            ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            PlayerPlaySound(playerid, 8947, -1431.106445, 480.586487, 14.415201); // ide is az kell hogy honnan
   }
    else { SendClientMessage(playerid, COLOR_GREY,\"A távirányítodnak nincs ekkora hatótávolsága, álj közelebb a kapuhoz!\"); }
}
return 1;
}

Nem elérhető BeNiBoY

  • 1342
    • Profil megtekintése
Ebbe mi a hiba?
« Válasz #1 Dátum: 2010. Augusztus 19. - 07:32:47 »
0 Show voters
OFF: tedd [ code ]közé[ /code ] az ilyeneket

Ebbe mi a hiba?
« Válasz #2 Dátum: 2010. Augusztus 19. - 18:42:50 »
0 Show voters
Ohh Beni milyen okos vagy.xD

Nem elérhető Depi

  • 2259
  • Még mindig TrYp. :)
    • Profil megtekintése
Ebbe mi a hiba?
« Válasz #3 Dátum: 2010. Augusztus 20. - 22:03:42 »
0 Show voters
Idézetet írta: ZoOmbie date=1282236170\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"2891\" data-ipsquote-contentclass=\"forums_Topic
Ohh Beni milyen okos vagy.xD
 
A felesleges posztvadászatot abba haggyhatnád.Ha nem akkor tudod mit kapsz.

Ebbe mi a hiba?
« Válasz #4 Dátum: 2010. Augusztus 20. - 22:37:23 »
0 Show voters
Tessék próbáld meg így:
 
   if(!strcmp(cmdtext, \"/fel\", true)) //
{
       if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) //milyen frakcio nyithassa mpl a yaku
       {
           if (PlayerToPoint(15, playerid,-1431.106445, 480.586487, 14.415201)) // innen
   {
            MoveObject(kapuproba,-1431.249268, 480.467163, 3.215282, 15.0); //i
            SetTimer(\"ProbaClose\", 12000, 0);
            SendClientMessage(playerid, COLOR_BLUE,\"A kapu 7másodperc múlva záródik.\");
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), \"* %s elõveszi a kapu távirányítóját és kinyitja a kaput.\", sendername);
            ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            PlayerPlaySound(playerid, 8947, -1431.106445, 480.586487, 14.415201); // ide is az kell hogy honnan
   }
} else return SendClientMessage(playerid, COLOR_GREY,\"A távirányítodnak nincs ekkora hatótávolsága, álj közelebb a kapuhoz!\");
return 1;
      }

Ebbe mi a hiba?
« Válasz #5 Dátum: 2010. Augusztus 20. - 22:43:57 »
0 Show voters
Thanx:D Jólett:)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal