Beiträge von [SRP]GhostFutur
-
-
Name : GhostFutur
Vorlage [ PNG ] : http://s3.subirimagenes.com:81…/thump_7238781turismo.jpg
Text : Turismo Legende
Größe : Signatur Größe -
Also Streamer.so
Bei Linux immer endung .so
-
Hab erstmal die SendClientMessage raus gehauen. Erstmal Script hochladen und dann mal testen. Wenn es klappt sage ich euch bescheid und auch wenn nicht. Ich werde danach die SendClientMessage wieder rein hauen.
mfg//
Sagen wir mal jain
Es geht, blos wenn ich die Sirene ausschalten will also mit /sirene kommt Du bist kein Beamter. -
Kannst du mir schreiben wie ich es machen muss? Es soll in weiss sein
-
Die Fehler sind bei SendClientMessage
-
Alles bisschen Trostlos. Es ist viel sehr grau.
-
Sieht zwar bissl komisch aus, aber trotzdem gute Arbeit von mir 8/10
-
if(strcmp(cmdtext,"/sirene",true) == 0)
{
if(IsACop(playerid) PlayerInfo[playerid][pMember] == 4 PlayerInfo[playerid][pLeader] == 4)
{
if(sirene[playerid] == false)
{
new vehid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehid) == 560 && sfl1[vehid] == 0) // Sultan
{
sfl1[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl2[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl3[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl4[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl5[vehid] = CreateObject(18646,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(sfl1[vehid],vehid,-0.365000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl2[vehid],vehid,0.405000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl3[vehid],vehid,0.270000,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl4[vehid],vehid,-0.304999,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl5[vehid],vehid,-0.589999,-0.069999,0.869999,0.000000,0.000000,0.000000);
SendClientMessage(playerid,"Du hast die Sirene eingeschalten!");
}
if(GetVehicleModel(vehid) == 541 && sfl1[vehid] == 0) // Bullet
{
sfl1[vehid] = CreateObject(19419,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(sfl1[vehid], vehid, -0.000000, -0.704999, 0.544999, 0.000000, 0.000000, 0.000000); //Object Model: 19420 |
SendClientMessage(playerid,"Du hast die Sirene eingeschalten!");
}
if(GetVehicleModel(vehid) == 451 && sfl1[vehid] == 0) // Turismo
{
sfl1[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl2[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl3[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl4[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl5[vehid] = CreateObject(19419,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(sfl1[vehid],vehid,-0.000000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl2[vehid],vehid,0.000000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl3[vehid],vehid,0.000000,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl4[vehid],vehid,-0.000000,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl5[vehid], vehid, -0.000000, -0.704999, 0.544999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid,"Du hast die Sirene eingeschalten!");
sirene[playerid] = true;
}
else if(sirene[playerid] == true)
{
DestroyObject(sfl1[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl2[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl3[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl4[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl5[GetPlayerVehicleID(playerid)]);
sfl1[GetPlayerVehicleID(playerid)] = 0;
sfl2[GetPlayerVehicleID(playerid)] = 0;
sfl3[GetPlayerVehicleID(playerid)] = 0;
sfl4[GetPlayerVehicleID(playerid)] = 0;
sfl5[GetPlayerVehicleID(playerid)] = 0;
sirene[playerid] = false;
SendClientMessage(playerid,"Du hast die Sirene ausgeschalten!");
return 1;
}
}
else
{
SendClientMessage(playerid,0xFF0000FF,"Du bist kein Beamter" );
}
return 1;}
}
if(strcmp(cmdtext,"/sireneaus",true) == 0)
{
if(IsACop(playerid) PlayerInfo[playerid][pMember] == 4 PlayerInfo[playerid][pLeader] == 4)
{
DestroyObject(sfl1[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl2[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl3[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl4[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl5[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl6[GetPlayerVehicleID(playerid)]);
sfl1[GetPlayerVehicleID(playerid)] = 0;
sfl2[GetPlayerVehicleID(playerid)] = 0;
sfl3[GetPlayerVehicleID(playerid)] = 0;
sfl4[GetPlayerVehicleID(playerid)] = 0;
sfl5[GetPlayerVehicleID(playerid)] = 0;
sfl6[GetPlayerVehicleID(playerid)] = 0;
}
else
{
SendClientMessage(playerid,0xFF0000FF,"Du bist kein Beamter" );
}
return 1;
}Errors:
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34395) : error 035: argument type mismatch (argument 2)
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34401) : error 035: argument type mismatch (argument 2)
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34415) : error 035: argument type mismatch (argument 2)
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34431) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase4 Errors.
-
Ok das erste haben wir
-
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(538) : error 001: expected token: ";", but found "new"
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34395) : error 035: argument type mismatch (argument 2)
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34401) : error 035: argument type mismatch (argument 2)
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34415) : error 035: argument type mismatch (argument 2)
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(34431) : error 035: argument type mismatch (argument 2)
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(40436) : error 017: undefined symbol "sirenean"
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(40436) : warning 215: expression has no effect
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(40436) : error 001: expected token: ";", but found "]"
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(40436) : error 029: invalid expression, assumed zero
C:\Users\felix\Desktop\RL\rl\gamemodes\RoG1.pwn(40436) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.
-
Bei mir kommen Errors es geht nicht
-
Hallo Community. Ich habe es soweit gescriptet, blos ich weiss nicht wie ich Abrage ob sie an/aus ist.
if(strcmp(cmdtext,"/sirene",true) == 0)
{
if(IsACop(playerid) || PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
new vehid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehid) == 560 && sfl1[vehid] == 0) // Sultan
{
sfl1[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl2[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl3[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl4[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl5[vehid] = CreateObject(18646,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(sfl1[vehid],vehid,-0.365000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl2[vehid],vehid,0.405000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl3[vehid],vehid,0.270000,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl4[vehid],vehid,-0.304999,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl5[vehid],vehid,-0.589999,-0.069999,0.869999,0.000000,0.000000,0.000000);
SendClientMessage(playerid,"Du hast die Sirene eingeschalten!");
}
if(GetVehicleModel(vehid) == 541 && sfl1[vehid] == 0) // Bullet
{
sfl1[vehid] = CreateObject(19419,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(sfl1[vehid], vehid, -0.000000, -0.704999, 0.544999, 0.000000, 0.000000, 0.000000); //Object Model: 19420 |
SendClientMessage(playerid,"Du hast die Sirene eingeschalten!");
}
if(GetVehicleModel(vehid) == 451 && sfl1[vehid] == 0) // Turismo
{
sfl1[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl2[vehid] = CreateObject(19292,0,0,-1000,0,0,0,100);
sfl3[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl4[vehid] = CreateObject(19290,0,0,-1000,0,0,0,100);
sfl5[vehid] = CreateObject(19419,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(sfl1[vehid],vehid,-0.000000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl2[vehid],vehid,0.000000,2.250000,0.049999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl3[vehid],vehid,0.000000,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl4[vehid],vehid,-0.000000,2.275000,0.019999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(sfl5[vehid], vehid, -0.000000, -0.704999, 0.544999, 0.000000, 0.000000, 0.000000);
SendClientMessage(playerid,"Du hast die Sirene eingeschalten!");
}
else
{
DestroyObject(sfl1[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl2[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl3[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl4[GetPlayerVehicleID(playerid)]);
DestroyObject(sfl5[GetPlayerVehicleID(playerid)]);
sfl1[GetPlayerVehicleID(playerid)] = 0;
sfl2[GetPlayerVehicleID(playerid)] = 0;
sfl3[GetPlayerVehicleID(playerid)] = 0;
sfl4[GetPlayerVehicleID(playerid)] = 0;
sfl5[GetPlayerVehicleID(playerid)] = 0;
SendClientMessage(playerid,"Du hast die Sirene ausgeschalten!");
return 1;
}
}
else
{
SendClientMessage(playerid,0xFF0000FF,"Du bist kein Beamter" );
}
return 1;
} -
Könnte mir jemand die Koordinaten erklären?
-
Hallo Community,
Ich wollte euch heute mal fragen wie ich die Koordinaten für eine Sirene z.b. auf einem Turismo Herrausfinde
-
Ich möchte es haben.
-
5/10
nicht so toll -
Steck das Kabel mal in einen anderen Slot rein
-
Leute mein Server startet nicht.
Hier der Log----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team[20:34:14]
[20:34:14] Server Plugins
[20:34:14] --------------
[20:34:14] Loading plugin: streamer.so
[20:34:14]*** Streamer Plugin v2.5.2 by Incognito loaded ***
[20:34:14] Loaded.
[20:34:14] Loading plugin: sscanf.so
[20:34:14][20:34:14] ===============================
[20:34:14] sscanf plugin loaded.
[20:34:14] (c) 2009 Alex "Y_Less" Cole
[20:34:14] ===============================
[20:34:14] Loaded.
[20:34:14] Loading plugin: audio.so
[20:34:14]
*** Audio Plugin v0.4 by Incognito loaded ***[20:34:14] Loaded.
[20:34:14] Loaded 3 plugins.[20:34:14]
[20:34:14] Ban list
[20:34:14] --------
[20:34:14] Loaded: samp.ban
[20:34:14]
[20:34:14]
[20:34:14] Filterscripts
[20:34:14] ---------------
[20:34:14] Loading filterscript 'se.amx'...
[20:34:14] Loading filterscript 'rennen.amx'...
[20:34:14] Loading filterscript 'deagle.amx'...
[20:34:14] Loading filterscript 'TorCommandsNew.amx'...
[20:34:14]
--------------------------------------
[20:34:14] Tore by Kay
[20:34:14] --------------------------------------[20:34:14] Loading filterscript 'waffenshoptom.amx'...
[20:34:14] Loading filterscript 'bla.amx'...
[20:34:14]
--------------------------------------
[20:34:14] Blank Filterscript by your name here
[20:34:14] --------------------------------------[20:34:14] Loading filterscript 'testaa.amx'...
[20:34:14] =====================================================================
[20:34:14] This is a part of a OpenGTA subject, visit opengta.org for more info.
[20:34:14] FilterScript Name: Armed body
[20:34:14] Description:Attatch weapond to player's body
[20:34:14] Author:yezizhu
[20:34:14] Special thanks:Double-O-Seven, Brian.
[20:34:14] Contact author: imyzz@opengta.org
[20:34:14] =====================================================================
[20:34:14] Loading filterscript 'efaaaaa.amx'...
[20:34:14] '1' Fraktionsfahrzeuge wurden geladen & erstellt.
[20:34:14] Loading filterscript 'bsntom.amx'...
[20:34:14] Loaded 9 filterscripts.[20:34:14] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
[20:34:14] Pickups Max = 2048, Current Pickups = 22 -
Hab ein eigenes Projekt. Manchmal fehlen mir halt nur die Ideen