Szerző Téma: /spec /pm  (Megtekintve 1758 alkalommal)

Nem elérhető Marko

/spec /pm
« Dátum: 2012. Február 17. - 23:07:23 »
0 Show voters
Hali azt szeretném kérni szkriptertõl hogy a szerveremre kéne /spec /pm parancs és a pmeket láthassa rcon admin is. Hát a szerverrõl annyit szeretnék hogy war szerver. MSN [email protected]
« Utoljára szerkesztve: 2012. Február 18. - 13:23:35 írta Benceee »

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
/spec /pm
« Válasz #1 Dátum: 2012. Február 18. - 08:31:01 »
0 Show voters
[mod]Scripter kell, vagy csak ez a pár parancs?[/mod]

Nem elérhető Marko

/spec /pm
« Válasz #2 Dátum: 2012. Február 18. - 13:21:14 »
0 Show voters
ez a pár parancs kéne

Nem elérhető Bazsi

  • 345
    • Profil megtekintése
/spec /pm
« Válasz #3 Dátum: 2012. Február 18. - 14:38:05 »
0 Show voters
/spec parancs van az alap fs-ek között adminspec néven

Nem elérhető Marko

/spec /pm
« Válasz #4 Dátum: 2012. Február 18. - 15:13:55 »
0 Show voters
de az se jó szal megkéne csinálni létszi

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
/spec /pm
« Válasz #5 Dátum: 2012. Február 18. - 16:01:25 »
0 Show voters
Szia!
Tessék itt vannak a cuccok, amiket kértél!
 

#include a_samp
#include sscanf
#include zcmd
CMD:pm(playerid, params[])
{
new giveplayerid, mess[200];
if (sscanf(params, \"us\", giveplayerid, mess)) SendClientMessage(playerid, 0xFF0000AA, \"Használat: /pm [playerid] [üzenet]\");
else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
else{
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof string, \"PM Érkezett %s -tól/tõl:%s\", name, mess);
        SendClientMessage(giveplayerid, 0xFF0000AA,string);
         format(string, sizeof string, \"Üzeneted elküldve: %s\",mess);
        SendClientMessage(playerid, 0xFF0000AA, string); }
return 1;
}
CMD:spec(playerid, params[])
{
new giveplayerid, name[MAX_PLAYER_NAME], string[100];
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /spec [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
        TogglePlayerSpectating(playerid, 1);
               PlayerSpectatePlayer(playerid, giveplayerid);
GetPlayerName(giveplayerid, name, sizeof(name));
         format(string, sizeof string, \"Mostantól figyeled: %s -t\",name);
return 1;
}
CMD:specof(playerid, params[])
{
SendClientMessage(playerid, 0xFF0000AA, \"Abbahagytad a figyelést!\");
        TogglePlayerSpectating(playerid, 0);
return 1;
}
« Utoljára szerkesztve: 2012. Február 18. - 16:06:13 írta Cannonn »

Nem elérhető Marko

/spec /pm
« Válasz #6 Dátum: 2012. Február 18. - 16:49:12 »
0 Show voters
és ezt hogy rakjam be?

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
/spec /pm
« Válasz #7 Dátum: 2012. Február 18. - 16:56:10 »
0 Show voters
Felraktam neked fs-be rakd be a filterscripts mappába és a server.cfg filterscripts sorába írd be: pmspec  ;)
Letöltés:
http://solidfiles.com/d/0347158066/

Nem elérhető Marko

/spec /pm
« Válasz #8 Dátum: 2012. Február 18. - 16:58:36 »
0 Show voters
öö virusos nem engedi leszedni:S

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
/spec /pm
« Válasz #9 Dátum: 2012. Február 18. - 17:19:07 »
0 Show voters
Rendben  :-\\ Neked is letiltotta a nod a solidfiles-t itt egy másik link:
http://data.hu/get/4748991/pmspec.amx
« Utoljára szerkesztve: 2012. Február 18. - 17:29:33 írta Cannonn »

Nem elérhető Marko

/spec /pm
« Válasz #10 Dátum: 2012. Február 18. - 17:47:46 »
0 Show voters
Jah és még annyit szeretnék hogy ha valaki fellép a szerverre kiirja Ujdonságok:/spec /pm ha ez is meglenne hálás lennék

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
/spec /pm
« Válasz #11 Dátum: 2012. Február 18. - 18:00:27 »
0 Show voters

Nem elérhető Benceee

  • 4785
    • Profil megtekintése
/spec /pm
« Válasz #12 Dátum: 2012. Február 19. - 12:02:20 »
0 Show voters
Láttam, hogy feltöltötték elõttem, de az AMX-et. Nos ebbõl egy kezdõ semmit nem fog megérteni. Tehát:
[pawn]public OnPlayerConnect(playerid) // Amikor belép egy játékos
{
     SendClientMessage(playerid, 0x0ffff, \"Újdonságok: /spec /pm.\");// Elküldi az üzenetet.
     return 1;
}[/pawn]

Nem elérhető CANNONN

  • 2139
    • Profil megtekintése
/spec /pm
« Válasz #13 Dátum: 2012. Február 19. - 12:20:02 »
0 Show voters
Idézetet írta: Benceee date=1329649340\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"17187\" data-ipsquote-contentclass=\"forums_Topic
Láttam, hogy feltöltötték elõttem, de az AMX-et. Nos ebbõl egy kezdõ semmit nem fog megérteni. Tehát:
[pawn]public OnPlayerConnect(playerid) // Amikor belép egy játékos
{
     SendClientMessage(playerid, 0x0ffff, \"Újdonságok: /spec /pm.\");// Elküldi az üzenetet.
     return 1;
}[/pawn]
 
Azt hozzáteszem, hogy ha más színt szeretnél akkor: http://sampforum.hu/index.php?page=color  ;)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal