Naja so sollte es eigentlich nicht werden.
aber Irgendwie sind meine DIALOGE Kaputt gegangen aber hoffe ihr seht trotzdem durch
Edit:
So nun funzt alles hoffe ich
Naja so sollte es eigentlich nicht werden.
aber Irgendwie sind meine DIALOGE Kaputt gegangen aber hoffe ihr seht trotzdem durch
Edit:
So nun funzt alles hoffe ich
Ne ich glaube das zeichen ist richtig.
=
Ich habs mal für dich eingerahmt.
Moment ich schaue mal ob ich dir helfen kann.
//**************Commands*********************//
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/takeneon", true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid, neondialog, DIALOG_STYLE_LIST, "Neon Color ", "DarkBlue\nRed\nGreen\nWhite\nViolet\nYellow\nCyan\nLightBlue\nPink\nOrange\nLightGreen\nLightYellow\nDelete Neon", "Select", "Cancel");
}
return 1;
}
return 0;
}
//**************Dialog*********************//
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == neondialog)
{
if(response)
{
if(listitem == 0)
{
SetPVarInt(playerid, "Status", 1);
SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
SendClientMessage(playerid, 0xFFFFFFAA, "Neon installed");
}
}
if(listitem == 12){DestroyObject(GetPVarInt(playerid, "neon")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon1")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon2")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon3"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon4")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon5")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon6")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon7"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon8")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon9")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon10")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon11"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon12")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon13")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon14")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon15"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon16")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon17")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon18")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon19"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon20")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon21")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon22")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon23"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon24")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon25")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon26")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon27"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon28")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon29")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon30")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon31"));
DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon32")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon33")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon34")); DeletePVar(playerid, "Status"); DestroyObject(GetPVarInt(playerid, "neon35"));
}
}
}
return 0;
}
public OnPlayerConnect()
{
new playerid;
SendClientMessage(playerid, COLOR_BLUE,"This server use neon system by wizzi !");
return 1;
}
Streets - of - Gangs [Reallife Mode]
Ronnys neue Script 2012 [Beta Version] 0.1:
Ich habe dieses Script aus mehreren Scripten - Tutorials zusammen geschnitten.
Aber das meiste im Script ist von mir.
Klicke auf diese diesen DIALOGE um mehr zu erfahren.
[tabmenu]
[tab='Script',http://www.liberty-reallife.de/wcf/icon/sampL.png]
Ich habe jetzt ein paar Wochen an diesem Script gearbeitet.
Das Script hat jetzt genau: 8629 Zeilen.
Wie gesagt es ist die erste Version 0.1 [Beta].
Das Script spielt zurzeit nur in Los_Santos.
[tab='Screens',http://aux.iconpedia.net/uploads/1188734695.png]
Hier ein Paar Fotos vom Script.
Video
http://www.youtube.com/watch?v=cWOnJt8dEmY
[/tabmenu]
Diese sachen sind schon fertig!
Login - Register
Tutorial - Männlich weiblich usw.
Zivispawn am Bahnhof mit Rollern - /orte.
Hotel system.
Polizei: LSPD.
Gangs: Grove Street + Ballas.
Admin system:
Viele Admin befehle.
Tacho : Km/H + Benzin + Fahrzeugname.
Benzin Verlust /Tanken - /Fill
Waffen aufen Rücken tragen.
Premium System /Premium.
/neon für Premium.
/clothes [noch nicht fertig] + /Brille
BSN Fertig /Drivein + /menu
und noch vieles mehr
Test Server :
176.9.56.178:12345 [Online]
[DOWNLOAD]
http://pastebin.com/
Klick mich [Ganzer Ordner] 0.3D
Okay gut zu wissen Kd.
Ganz Oben im Script Unter den Includes New ersellen
new sapd[2];
OnGameModInit...
sapd[0] = AddStaticVehicleEx(523,1584.9016,-1667.5195,5.4561,270.5840,0,0,-1);
sapd[1] = AddStaticVehicleEx(523,1584.8823,-1671.7518,5.4530,270.0000,0,0,-1);
SetVehicleNumberPlate(sapd[0],"{FF0000}SAPD"); SetVehicleNumberPlate(sapd[1],"{FF0000}SAPD");
Und dann das bei OnPlayerStateChange..
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(sapd); i++)
{
if(GetPlayerVehicleID(playerid)==sapd[i])
{
if(PlayerInfo[playerid][pFraktion]!=1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du Hat kein Schlüssel.");
}
}
}
}
so müsste es alles richtig sein!
Nice 10/10
wie hast du die TextDraws gemacht mit Polizei Revir?
Versuch mal so
sapd[0] = SetVehicleNumberPlate(AddStaticVehicleEx(523,1584.9016,-1667.5195,5.4561,270.5840,0,0,-1);
sapd[1] = SetVehicleNumberPlate(AddStaticVehicleEx(523,1584.8823,-1671.7518,5.4530,270.0000,0,0,-1);
SetVehicleNumberPlate(sapd[0],"{FF0000}SAPD"); SetVehicleNumberPlate(sapd[1],"{FF0000}SAPD");
Hier von MRMonat glaube ich. bei mir Funzt es
ocmd:kick(playerid,params[])
{
if(!isPlayerAnAdmin(playerid,1))return SendClientMessage(playerid,ROT,"Du bist kein Admin.");
new pID, reason[128],string[128];
if(sscanf(params,"us",pID,reason))return SendClientMessage(playerid,WEIß,"/kick [id] [grund]");
format(string,sizeof(string),"AdmCmd: %s wurde von %s gekickt. Grund: %s",SpielerName(pID),SpielerName(playerid),reason);
SendClientMessageToAll(ROT,string);
Kick(pID);
return 1;
}
Versuch es mal so.
Bei
public OnPlayerStateChange(playerid, newstate, oldstate)
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(sapd); i++)
{
if(GetPlayerVehicleID(playerid)==sapd[i])
{
if(PlayerInfo[playerid][pFraktion]!=1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du Hat kein Schlüssel.");
}
}
}
}
Alles anzeigen- 3 bis 4 Stunden Arbeit.
- 95 Objekte.
- Sehr ordentlich gemappt.
- 1. Schranke.
- 5 Park sperren.
- 9 Parkplätze.
Hi erstmal. Ich finde die Mapp schön auf jedemfall besser als die anderen mapps die sonst immer da sind auf diesem Platz.
Hast dir echt mühe gegeben von mir bekommste 10/10 Punkte
Also Motor
Das Bei
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
if(newkeys == 132)
{
if(IsPlayerConnected(playerid))
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
OnPlayerCommandText(playerid, "/motor");
}
}
}
Das bei
OnPlayerCommandText ...
if(strcmp(cmd, "/motor",true) == 0)
{
if(IsANoTachoVehicle(GetPlayerVehicleID(playerid)))
{
SendClientMessage(playerid, COLOR_GRAD1, "{FFFFFF}Fahrräder haben {FF0000}keinen{FFFFFF} Motor ...");
return 1;
}
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 1;
new engine,lights,alarm,doors,bonnet,boot,objective;
new vid = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
if(vid != INVALID_VEHICLE_ID)
{
if(engine == VEHICLE_PARAMS_ON)
{
SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~W~Motor ~r~aus!", 2000, 4);
}
else
{
SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~W~Motor ~y~an!", 2000, 4);
}
}
return 1;
}
Das bei
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
if(IsANoTachoVehicle(vehicleid) || IsPlayerNPC(playerid))
{
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
}
Ganz unten im Script!
forward IsANoTachoVehicle(carid);
public IsANoTachoVehicle(carid)
{
new model = GetVehicleModel(carid);
{
if(model == 481 || model == 509 || model == 510)
{
return 1;
}
}
return 0;
}
Ich kann dir licht system geben das mit der Taste H Funktioniert!
oder ein Motor system das mit dem Rechten STRG geht. Da wo der Motor erst nach 5 selkunden angeht
Ich würde gerne Gangster sein!
WoW
Richtig Hamma Geil!
Idee 10/10
Mühe 10/10
Ergebnis: 100/10 Weiter so
Gieb sie mir
oder hohl dir doch hier im Forum Premium!
1/10
Naja gefällt mir nicht würklich.
Hast du das so`?
public OnGameModeInit()
{
DisableInteriorEnterExits();
return 1;
}