#include <a_samp>
#include <a_objects>
#include <a_vehicles>
#define GameModeText "Left 4 Dead"
public OnGamemodeInit()
{
AddPlayerClass(162,2120.7695,-2467.6511,13.5469,172.7730,4,0,5,0,0,0);
AddPlayerClass(121,1422.7312,-2532.1328,13.5469,265.6471,9,22,0,0,0,0);
SetGameModeText("Left 4 Dead.Your Life is death");
AddStaticVehicle(468,1428.6710,-2546.0735,13.2159,314.5570,3,3); // lif
AddStaticVehicle(468,1445.3612,-2557.8010,13.2155,258.9955,3,3); // lif
AddStaticVehicle(468,1443.0807,-2576.3225,13.2163,121.2308,3,3); // lif
AddStaticVehicle(468,1447.9740,-2602.5498,13.2156,304.9363,3,3); // lif
AddStaticVehicle(468,1799.4119,-2488.8555,13.2227,277.1597,3,3); // gegenstand
AddStaticVehicle(484,1804.5385,-2498.8259,13.8809,0.0000,66,36); // gegenstand
AddStaticVehicle(590,1811.8959,-2523.7192,17.5621,0.0000,0,0); // gegenstand
AddStaticVehicle(590,1811.8959,-2523.7192,17.5621,0.0000,0,0); // gegenstand
AddStaticVehicle(478,1443.9247,-2470.0940,13.5523,245.5226,45,1); // lif
AddStaticVehicle(478,1454.8281,-2501.0173,13.5411,302.1991,45,1); // lif
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerCameraPos(playerid,1454.8281,-2501.0173,13.5411,302.1991);
switch (classid)
{
case 0:// skin 1
{
SetPlayerCameraPos(playerid,2120.7695,-2467.6511,13.5469,172.7730);
GameTextForPlayer(playerid,"Zombie Side",5500,1);
}
case 1:// skin 2
{
SetPlayerCameraPos(playerid,1422.7312,-2532.1328,13.5469,265.6471);
GameTextForPlayer(playerid,"Survival Side",5500,1);
}
}
return 1;
}
1.Survival soll mit M4,Granaten Starten
-Zombie soll mit Messer,Deagel Starten
2.Kamera Position soll auf den Auswahl Punkt gerichtet sein
-wen Zombie gewählt dann goto--->AddPlayerClass(121,1422.7312,-2532.1328,13.5469,265.6471,9,22,0,0,0,0);
-wen Survival gewählt dann goto---> AddPlayerClass(162,2120.7695,-2467.6511,13.5469,172.7730,4,0,5,0,0,0);
3.GamemodeName Left 4 Dead
4.Wen ich den Gamemode benutze,starte ich immer al CJ.Warum?