Sziasztok elhoztam nektek a harmadik játékmódom.
Annyit kell tudni rólam hogy kezdõ scripter/maper vagyok!
A modban van pár parancs de 2 ami teljesen üzemképes
(Ez még csak a 0.3)
50 skint tettem bele 0-50!
Eddig volt benne egy kis munka!
Idõ 20-30 perc!
Scripter:Raj_President ÉN!
[pawn]
//include
#include <a_samp>
//szinek
#define lila 0xff008cAA
#define kek 0x0026ffAA
#define piros 0xff0000AA
#define sarga 0xffee00AA
#define vilagoskek 0x00bfffAA
main()
{
print(\"\\n------------|\");
print(\"Stunt Drift DM|\");
print(\"--------------|\\n\");
}
public OnGameModeInit()
{
SetGameModeText(\"SDM|0.1\");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(3, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(4, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(5, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(6, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(8, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(9, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(10, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(11, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(12, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(13, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(14, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(15, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(16, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(17, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(18, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(20, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(22, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(23, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(24, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(25, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(26, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(27, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(28, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(29, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(30, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(31, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(32, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(33, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(34, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(35, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(36, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(37, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(38, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(39, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(40, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(41, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(42, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(43, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(44, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(45, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(46, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(47, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(48, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(49, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(50, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SendClientMessage(playerid,lila,\"Válassz egy neked tetszõ skint és irány stunt,drift,dm!\");
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 OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid, \"
http://somafm.com/buy/multibuy.cgi\" );
SendClientMessage(playerid, vilagoskek,\"Betettünk egy zenét ha nem akarod hallgatni /zeneki\");
SendClientMessage(playerid, lila,\"Üdvözlünk a szerveren!\");
SendClientMessage(playerid, kek,\"Ha bármi kérdésed van fordulj az adminokhoz!\");
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), \"%s feljött a szerverre!\", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[56];
GetPlayerName(playerid, pName, sizeof(pName));
switch(reason)
{
case 0: format(string, sizeof(string), \"%s kilépett a serverrõl. (Kifagyott)\", pName);
case 1: format(string, sizeof(string), \"%s kilépett a serverrõl. (Kilépett)\", pName);
case 2: format(string, sizeof(string), \"%s kilépett a serverrõl. (Ban)\", pName);
}
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerSpawn(playerid)
{
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,29,9999);
GivePlayerWeapon(playerid,26,9999);
GivePlayerWeapon(playerid,37,9999);
GivePlayerWeapon(playerid,46,9999);
GivePlayerWeapon(playerid,31,9999);
SetPlayerHealth(playerid,200);
SetPlayerArmour(playerid,200);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/zene1\", cmdtext, true) == 0)
{
PlayAudioStreamForPlayer(playerid, \"
http://somafm.com/tags.pls\");
return 1;
}
if (strcmp(\"/zeneki\", cmdtext, true) == 0)
{
StopAudioStreamForPlayer(playerid);
return 1;
}
if (strcmp(\"/help\", cmdtext, true) == 0)
{
SendClientMessage(playerid,piros,\">>/cmds\");
return 1;
}
if (strcmp(\"/teles\", cmdtext, true) == 0)
{
SendClientMessage(playerid,piros,\">>Ez a parancs még nincs kész!<\");
return 1;
}
if (strcmp(\"/teles\", cmdtext, true) == 0)
{
SendClientMessage(playerid,piros,\">>Fejlesztés alatt!<\");
return 1;
}
if (strcmp(\"/v\", cmdtext, true) == 0)
{
SendClientMessage(playerid,piros,\">>Fejlesztés alatt!<\");
return 1;
}
if (strcmp(\"/vr\", cmdtext, true) == 0)
{
SendClientMessage(playerid,piros,\">>Fejlesztés alatt!<\");
return 1;
}
if (strcmp(\"/flip\", cmdtext, true) == 0)
{
SendClientMessage(playerid,piros,\">>Fejlesztés alatt!<\");
return 1;
}
return 0;
if (strcmp(\"/cmds\", cmdtext, true) == 0)
{
SendClientMessage(playerid,piros,\">>Fejlesztés alatt!<\");
return 1;
}
return 0;
}
[/pawn]
Dupla hozzászólás automatikusan összefûzve. ( 2014. augusztus 08. - 05:22:59 )
Bocsánat nem tudom hogy kell Scriptek és Pályákhoz rakni oda a letöltésekbe.
Nekem jó itt is
:D