gaile idea löl
Beiträge von Eazy_E214
-
-
Zitat
ich weiss jetzt nicht genau aber knnst dir ja nen GF moder holen irgetwor ich den letzten 100 zeilen steht das glaube ich
sorry das ich net mehr helfen konnte
MGF
Eazy_E
-
Jo, PlayerInfo[playerid][pMember] gibts nur in Godfather und bei MoveObject fehlt die Geschwindigkeit hinten, außerdem
(if (strcmp(cmdtext, "/pdo", true) == 0){if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 ||)
(
MoveObject(gate,1539.4266, -1631.9180, 12.5497);
(
SendClientMessage(playerid, COLOR_YELLOW,"LSPD Tor wird geöffnet!");
)
return 1;
}
wo hast du das gelernt????
if (strcmp(cmdtext, "/pdo", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2)
{
MoveObject(gate,1539.4266, -1631.9180, 12.5497,4);
SendClientMessage(playerid, COLOR_YELLOW,"LSPD Tor wird geöffnet!");
}
return 1;
}So sollte es dann IN GODFATHER aussehn
und wie soll das jetzt in den GF???????
und wie kan man machn damit es dan automatich schliest nach 5 sekunden?
MGF
Eazy_E
-
Was ist eig Falsch dran??
#include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#define PlayerInfo
new gate;public OnFilterScriptInit()
{
gate = CreateObject(969, 1539.4578, -1622.9738, 12.5497, 0.0000, 0.0000, 270.0000, 500.0);print("\n--------------------------------------");
print(" ------------LSPD-gats-by-Eazy_E--------");
print("--------------------------------------\n");
return 1;
}public OnFilterScriptExit()
{
return 1;
}#else
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
(if (strcmp(cmdtext, "/pdo", true) == 0){if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 ||)
(
MoveObject(gate,1539.4266, -1631.9180, 12.5497);
(
SendClientMessage(playerid, COLOR_YELLOW,"LSPD Tor wird geöffnet!");
)
return 1;
}(if (strcmp(cmdtext, "/pdc", true) == 0){
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 ||)
(
MoveObject(gate,1539.4578, -1622.9738, 12.5497);
(
SendClientMessage(playerid, COLOR_YELLOW,"LSPD wird geschlossen!");
)
return 1;
}
return 0;
}Hilfe wäre nett^^
Errros sind
Code
Alles anzeigenC:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(13) : warning 202: number of arguments does not match definition C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : error 029: invalid expression, assumed zero C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : warning 215: expression has no effect C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : error 001: expected token: ";", but found ")" C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : error 029: invalid expression, assumed zero C:\Dokumente und Einstellungen\Wesker\Desktop\Server1\gamemodes\gate.pwn(32) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
-
du musst vllt noch 0 hinter dem gamemode machen also in der server.cfg bei gamemode GermanReallife 0
-
-
jeder kan ein speedo erstell man das doch woll easy
-
und was kan man da neues scripten?
-
hir
#include#define SLOTS 200
enum SavePlayerPosEnum {
Float:LastX,
Float:LastY,
Float:LastZ
}new SavePlayerPos[SLOTS][SavePlayerPosEnum];
new Text:Speedo[SLOTS];
new UpdateSeconds;new CarName[][] =
{
"Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel",
"Dumper", "Firetruck", "Trashmaster", "Stretch", "Manana", "Infernus",
"Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
"Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection",
"Hunter", "Premier", "Enforcer", "Securicar", "Banshee", "Predator", "Bus",
"Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach", "Cabbie",
"Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral",
"Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder",
"Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair", "Berkley's RC Van",
"Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale",
"Oceanic","Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy",
"Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX",
"Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper",
"Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking",
"Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin",
"Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT",
"Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt",
"Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra",
"FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune",
"Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer",
"Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent",
"Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder", "Primo",
"Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite",
"Windsor", "Monster", "Monster", "Uranus", "Jester", "Sultan", "Stratium",
"Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
"Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper",
"Broadway", "Tornado", "AT-400", "DFT-30", "Huntley", "Stafford", "BF-400",
"News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
"Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car",
"Police Car", "Police Car", "Police Ranger", "Picador", "S.W.A.T", "Alpha",
"Phoenix", "Glendale", "Sadler", "Luggage", "Luggage", "Stairs", "Boxville",
"Tiller", "Utility Trailer"
};forward UpdateSpeed();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("----------Eazy_E speedo script---------");
print("--------------------------------------\n");
SetTimer("UpdateSpeed",1000, 1);
return 1;
}public OnFilterScriptExit()
{
return 1;
}main()
{
}public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0x00FF00FF,"This server is running whit R@f's Speedo FilterScript");
return 1;
}public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_ONFOOT)
{
TextDrawHideForPlayer(playerid, Speedo[playerid]);
}
return 1;
}public UpdateSpeed()
{
new Float:x,Float:y,Float:z;
new Float:distance,value,string[256];
new Float:health;
for(new i=0; i
{
if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i))
{
TextDrawDestroy(Speedo[i]);
}
}for(new i=0; i
{
if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i))
{
GetPlayerPos(i, x, y, z);
GetVehicleHealth(GetPlayerVehicleID(i), health);
distance = floatsqroot(floatpower(floatabs(floatsub(x,SavePlayerPos[i][LastX])),2)+floatpower(floatabs(floatsub(y,SavePlayerPos[i][LastY])),2)+floatpower(floatabs(floatsub(z,SavePlayerPos[i][LastZ])),2));
value = floatround(distance * 5000);
if(UpdateSeconds > 1)
{
value = floatround(value / UpdateSeconds);
}
format(string,sizeof(string),"~g~Vehicle : ~w~%s ~n~~b~MPH : ~w~%d / ~b~KM/H : ~w~%d~n~~y~Altitude:~w~ %.1f ~n~~r~Vehicle Health:~w~ %.2f",CarName[GetVehicleModel(GetPlayerVehicleID(i))-400],floatround(value/1600),floatround(value/1000),z,health);
Speedo[i] = TextDrawCreate(320.00, 380.00, string);
TextDrawSetOutline(Speedo[i], 0);
TextDrawFont(Speedo[i], 3);
TextDrawSetProportional(Speedo[i], 2);
TextDrawAlignment(Speedo[i], 2);
TextDrawShowForPlayer (i, Speedo[i]);
}
SavePlayerPos[i][LastX] = x;
SavePlayerPos[i][LastY] = y;
SavePlayerPos[i][LastZ] = z;
}
}
</a_samp> -
ja dan mus du noch machen wo die auchtaucen sollen also an welsch epos du die auswälhen kanst^^
-
Ich kan dir helfen mellde dich in skype igor2145 oder in icq 483875171
-
ich such eig nur eien der mir das mal richtig erklären kan
-
ich suche doch auch noch paar admins fürn serven wen ihr wollt dan bewebt euch doch!!
-
Hi ich suche einen der mit erklärt wie man gats macht ...ich weis es gibt viel TUT´s aber die helfen mir nicht weiter..
Ich suche einen der skype hat
Ein headset
und der weis wie gats funktionirenpostet eure Skype namen hir rein ich addde dan ein paar von euch
übrigens hab ich ein stunt server der noch dringent admins suchet und vllt auch paar scripter müssssen nicht umbengindt profis sein
hoffentlich meldet sich einer