Muss ich jezt für jedes einzelne haus einen 3d text erstellen ?
Beiträge von Diabol0
-
-
Das heisst doch
new BusBot;
und nicht
new BusBot
oder ? -
-
C:\Users\EL_Diabolo\Desktop\GTA 0.3 Server R7\pawno\include\JunkBuster.inc(3150) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\Users\EL_Diabolo\Desktop\GTA 0.3 Server R7\gamemodes\script.pwn(2779) : error 017: undefined symbol "i"
C:\Users\EL_Diabolo\Desktop\GTA 0.3 Server R7\gamemodes\script.pwn(2781) : error 017: undefined symbol "carid"
C:\Users\EL_Diabolo\Desktop\GTA 0.3 Server R7\gamemodes\script.pwn(2784) : error 017: undefined symbol "string"
C:\Users\EL_Diabolo\Desktop\GTA 0.3 Server R7\gamemodes\script.pwn(2784) : error 017: undefined symbol "string"
C:\Users\EL_Diabolo\Desktop\GTA 0.3 Server R7\gamemodes\script.pwn(2784) : error 029: invalid expression, assumed zero
C:\Users\EL_Diabolo\Desktop\GTA 0.3 Server R7\gamemodes\script.pwn(2784) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
-
http://wiki.sa-mp.com/wiki/UsePlayerPedAnims
*edit sry hatte nicht gesehn das du schon was gepostet hattest.
-
Wer weiss.
-
zwei übereinander ?
wenn ja nimm halt ein CreateObject raus, das vorherige. -
wenn du so freundlich bist, werden dir sicher viele helfen
Zitat
*editIch weiß ja nicht ob du was an den augen hast, aber 1. Sind errors enthalten 2. das selbe problem wie vorher fazit, dummer post von dir
-
10/10 NICE!
ps: trooper welches ist benjamins ? -
-.- wollt ich auch grad machen, sollte aber so gehen wie Hauke das gemacht hat.
Aber besser is das zweite MoveObject
MoveObject(tor,1721.3532714844, -1054.4942626953, 10.919338226318,3.0);
nicht so weit weg zu machen, dauert dann immer so lang, mach doch lieber
MoveObject(tor,1721.3532714844, -1054.4942626953, 15.919338226318,3.0); -
Hallo Community,
ich habe in meinem script 2 Auto miethäuser, die beide nicht funktionieren.
Wenn man in ein Rentcar ansteigt wird einem nix angezeigt, was eigentlich sein müsste.
man kann einfach losfahren.
Ich schreibe ma rein wie des aussieht:Oben
new RentCars[100];new PlayerRentCar[MAX_PLAYERS];
weiter unten
if(RentCars[vehicleid])
{
if (HireCar[playerid] != vehicleid && !ispassenger)
{
PlayerRentCar[playerid] = vehicleid;
format(string, sizeof(string), "~w~Du kannst das Auto mieten~n~Kosten: ~g~$%d~n~~w~Mieten mit: ~g~/rentcar~n~~w~Verlassen mit: ~r~/exit",SBizzInfo[0][sbEntranceCost]);
GameTextForPlayer(playerid, string, 5000, 3);
SetTimer("RentCar", 2000, 0);
}
}
bei public onplayerconnect
PlayerRentCar[playerid] = 0;
Hier die Autos
// --- Business | RentCar LS ---
RentCars[0] = AddStaticVehicleEx(429, 534.053100, -1284.685058, 16.969278, 335.695495, -1, -1, -1); //=
RentCars[1] = AddStaticVehicleEx(451, 543.060607, -1285.879394, 16.921876, 351.892608, -1, -1, -1); //=
RentCars[2] = AddStaticVehicleEx(521, 540.502075, -1275.799316, 16.949033, 281.714416, -1, -1, -1); //=//--- Business | Rentcar SF ---
RentCars[4] = AddStaticVehicleEx(429, -1952.860229, 267.818267, 35.526596, 71.560348, -1, -1, -1); //=
RentCars[5] = AddStaticVehicleEx(521, -1962.816650, 287.416961, 35.149703, 179.001861, -1, -1, -1); //=
RentCars[6] = AddStaticVehicleEx(451, -1955.417358, 299.709472, 35.038433, 184.341506, -1, -1, -1); //=unten
if(PlayerExitAble[playerid] == 1)
{
PlayerRentCar[playerid] = 0;
PlayerExitAble[playerid] = 0;
PlayerRemove[playerid] = 1;
TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);}mein rentcar cmd:
http://pastebin.com/bmtaBRjQ
mein unrentcar cmd:
if(strcmp(cmd, "/unrentcar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(HireCar[playerid] != 299)
{
gCarLock[HireCar[playerid]] = 0;
UnLockCar(HireCar[playerid]);
HireCar[playerid] = 299;
GameTextForPlayer(playerid, "~w~Fahrzeug abgegeben.", 5000, 3);
}
}
return 1;
}
joa und /lock ist ja nicht so wichtig.
ich finde das sieht alles richtig aus, nur es passiert nichts wenn ich in die Autos einsteige.
Bitte um Hilfe.
MfG -
Weiste , du hast 2 verschiedene Tore gemacht, nur halt falsch.
achja und irgendwas stimmt doch auch nicht mit deinen Kordinaten.
995, 1721.3532714844, -1054.4942626953,3.0
die sind doch falsch.
Gib mir mal die Koordinaten vom CreateObject. -
Ich habe das so:
Pawn-Quelltext
if(strcmp(cmd,"/oamtls",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 24 PlayerInfo[playerid][pLeader] == 24)
{
if(Oamtvar == 0)
{
MoveObject(oamtgate,995, 1721.3532714844, -1054.4942626953,3.0);Oamtvar = 1;
}
else
{
MoveObject(oamtgate,986, 1721.3532714844, -1054.4942626953,3.0);Oamtvar = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Ordnungsamt Mitglied!");
return 1;
}
öö warum hast du bei Moveobject oben 995 und unten 986, da kann ja was nicht stimmen. -
das heisst, das dieses i das biz 3 ist.
naja hab das problem eh gelöst, hab einfach aus 3, 2 gemacht
weil 3 bank und 2 das cop biz is. -
Bei mir kommt immer noch Cops only bei /enter
und wenn ich diese stelle rausnehme ist mein /Enter total im anus -.-
dann geht man in ein biz, da steht verschlossen und man kommt immer ins lcn biz,
iwas is da doch buggy dieses Cops only ist doch unnormal.
Code vom /enter:
if(strcmp(cmd, "/enter", true) == 0)
{
if(IsPlayerConnected(playerid))
{
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
{
//printf("Found House :%d",i);
if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[i][hLock] == 0)
{
SetPlayerInterior(playerid,HouseInfo[i][hInt]);
SetPlayerPos(playerid,HouseInfo[i][hExitx],HouseInfo[i][hExity],HouseInfo[i][hExitz]);
GameTextForPlayer(playerid, "~w~Welcome Home", 5000, 1);
PlayerInfo[playerid][pInt] = HouseInfo[i][hInt];
PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~Locked", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(BizzInfo); i++)
{
if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]))
{
//printf("Found House :%d",i);
if(!IsACop(playerid) && i == 3)
{
SendClientMessage(playerid, COLOR_GREY, " Cops only !");
return 1;
}
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= BizzInfo[i][bEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(BizzInfo[i][bLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Abgeschlossen", 5000, 1);
return 1;
}
if(BizzInfo[i][bProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
return 1;
}
GivePlayerMoney(playerid,-BizzInfo[i][bEntranceCost]);
format(string, sizeof(string), "~r~-$%d~n~~w~type /exit~n~to get out", BizzInfo[i][bEntranceCost]);
BizzInfo[i][bTill] += BizzInfo[i][bEntranceCost];
ExtortionBiz(i, BizzInfo[i][bEntranceCost]);
BizzInfo[i][bProducts]--;
OnPropUpdate();
GameTextForPlayer(playerid, string, 5000, 3);
}
SetPlayerInterior(playerid,BizzInfo[i][bInterior]);
SetPlayerPos(playerid,BizzInfo[i][bExitX],BizzInfo[i][bExitY],BizzInfo[i][bExitZ]);
PlayerInfo[playerid][pInt] = BizzInfo[i][bInterior];
PlayerInfo[playerid][pLocal] = i+99;
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s payed $%d to enter biz %d", dood, BizzInfo[i][bEntranceCost], i);
printf("%s", string);
PayLog(string);
//PlayerInfo[playerid][pLocal] = i;
}
else
{
GameTextForPlayer(playerid, "~r~You dont have the cash", 5000, 1);
}
}
}
for(new i = 0; i < sizeof(SBizzInfo); i++)
{
if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ]))
{
if(PlayerInfo[playerid][pPbiskey] == i || GetPlayerMoney(playerid) >= SBizzInfo[i][sbEntranceCost])
{
if(PlayerInfo[playerid][pPbiskey] != i)
{
if(SBizzInfo[i][sbLocked] == 1)
{
GameTextForPlayer(playerid, "~r~Abgeschlossen", 5000, 1);
return 1;
}
if(SBizzInfo[i][sbProducts] == 0)
{
GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
return 1;
}
if(i == 10)
{
PaintballPlayers ++;
PlayerPaintballing[playerid] = 1;
new rand = random(sizeof(PaintballSpawns));
SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
TogglePlayerControllable(playerid, 0);
}
else if(i == 11)
{
PlayerKarting[playerid] = 1;
SendClientMessage(playerid, TEAM_GROVE_COLOR, "You can now parcipitate in a Karting Race, grab a Kart.");
}
else
{
return 1;
}
GivePlayerMoney(playerid,-SBizzInfo[i][sbEntranceCost]);
gSpentCash[playerid] = GetPlayerMoney(playerid);
SBizzInfo[i][sbProducts]--;
SBizzInfo[i][sbTill] += SBizzInfo[i][sbEntranceCost];
ExtortionSBiz(i, SBizzInfo[i][sbEntranceCost]);
new dood[MAX_PLAYER_NAME];
GetPlayerName(playerid, dood, sizeof(dood));
format(string, sizeof(string), "%s payed $%d to enter sbiz %d", dood, SBizzInfo[i][sbEntranceCost], i);
printf("%s", string);
PayLog(string);
OnPropUpdate();
}
}
else
{
GameTextForPlayer(playerid, "~r~You dont have the cash", 5000, 1);
}
}
}
if (PlayerToPoint(3.0, playerid,-2162.2554,-2385.9541,30.6250))
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,387.7978,173.8582,1008.3828);
GameTextForPlayer(playerid, "~w~Welcome to the City Hall", 5000, 1);
PlayerInfo[playerid][pInt] = 3;
PlayerInfo[playerid][pLocal] = 241;
}
else if (PlayerToPoint(3.0, playerid,1073.0619,-344.5148,73.9922))
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1205.0947,-10.1685,1000.9219);
PlayerInfo[playerid][pInt] = 2;
PlayerInfo[playerid][pLocal] = 242;
}
}
else if (PlayerToPoint(3.0, playerid,2695.6235,-1704.6960,11.8438))
{
GameTextForPlayer(playerid, "~w~Welcome to the 8ball Track", 5000, 1);
SetPlayerInterior(playerid,7);
SetPlayerPos(playerid,-1404.5299,-259.0602,1043.6563);
}
else if (PlayerToPoint(8.0, playerid,-2111.5686,-443.9720,38.7344))
{
GameTextForPlayer(playerid, "~w~Welcome to the Dirt Track", 5000, 1);
SetPlayerInterior(playerid,4);
SetPlayerPos(playerid,-1443.0554,-581.1879,1055.0472);
}
else if (PlayerToPoint(8.0, playerid,-2080.3079,-406.0309,38.7344))
{
GameTextForPlayer(playerid, "~w~Welcome to the Stunting Track", 5000, 1);
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,-1464.7732,1557.5533,1052.5313);
}
}
return 1;
}
Danke im Vorraus
MfG
// eventuell hat ja jemand ein fertiges /enter für mich... -
Nice 10/10
-
Aaahh Danke
hab jezt im autohaus FS
#include <JunkBusterFS> gemacht.
// Geht immer noch nicht, er gibt/zieht kein Geld ab ;(;( -
Hallo Community, hier mein Problem
ich habe das Autohaus vom German Reallife Team, was auch super funzt.
Das einzige Problem ist, das ich Junkbuster benutze.
D.h wenn ich ein Auto kaufe/verkaufe wird kein geld gegeben/abgezogen.
Das liegt daran das Junkbuster nicht defined is im FS.
Wenn ichs aber define is das ja iwie doppelt benutzt und der chat ingame funzt nimmer.
weiss vllt jemand was ich machen kann, denn im FS Junkbuster definen geht nicht.
Danke im Vorraus
MfG -
/* Object Streamer
*
* (c) Copyright 2009, Einstein
* Thx here also to Trivial
*/
#define MAX_STREAM_OBJECTS 10000
#define MAX_STREAM_AT_SAME_TIME 142
#define MAXUPDATES 13forward ObjectCheck(playerid);
new ObjectCount[MAX_PLAYERS];
new haveobject[MAX_PLAYERS][MAX_STREAM_OBJECTS];
new ID;
new modelid2[MAX_STREAM_OBJECTS];
new Float:tx2[MAX_STREAM_OBJECTS];
new Float:ty2[MAX_STREAM_OBJECTS];
new Float:tz2[MAX_STREAM_OBJECTS];
new Float:rt2x[MAX_STREAM_OBJECTS];
new Float:rt2y[MAX_STREAM_OBJECTS];
new Float:rt2z[MAX_STREAM_OBJECTS];
new ViewDistance2[MAX_STREAM_OBJECTS];
new Float:MoveX2[MAX_STREAM_OBJECTS];
new Float:MoveY2[MAX_STREAM_OBJECTS];
new Float:MoveZ2[MAX_STREAM_OBJECTS];
new Float:MoveSpeed2[MAX_STREAM_OBJECTS];
new moved[MAX_STREAM_OBJECTS];
new objectres[MAX_PLAYERS][MAX_STREAM_OBJECTS];
new Float:playerpos2[MAX_PLAYERS][3];
new updatespassed[MAX_PLAYERS] = 0;
//From the Samp Forums: Usual Functionsstock IsPlayerInBall(playerid,Float:x,Float:y,Float:z,radius)
{
if(GetPlayerDistanceToPoint(playerid,x,y,z) < radius)
{
return 1;
}
return 0;
}stock GetPlayerDistanceToPoint(playerid,Float:x,Float:y,Float:z)
{
new Float:x1,Float:y1,Float:z1;
new Float:tmpdis;
GetPlayerPos(playerid,x1,y1,z1);
tmpdis = floatsqroot(floatpower(floatabs(floatsub(Float:x,x1)),2)+floatpower(floatabs(floatsub(Float:y,y1)),2)+floatpower(floatabs(floatsub(Float:z,z1)),2));
return floatround(tmpdis);
}//ObjectStreamer Functions
stock CreateObjectToStream(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ)
{
modelid2[ID] = modelid;
tx2[ID] = Float:x;
ty2[ID] = Float:y;
tz2[ID] = Float:z;
rt2x[ID] = Float:rX;
rt2y[ID] = Float:rY;
rt2z[ID] = Float:rZ;
ViewDistance2[ID] = 142;
ID++;
return ID-1;
}stock CreatePlayerObjectToStream(playerid ,modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ) //untested
{
modelid2[ID] = modelid;
tx2[ID] = Float:x;
ty2[ID] = Float:y;
tz2[ID] = z;
rt2x[ID] = rX;
rt2y[ID] = rY;
rt2z[ID] = rZ;
ViewDistance2[ID] = 142;
ID++;
for(new i=0; i<YOUPLAYERSLOTS; i++)
{
haveobject[i][ID] = -1;
}
haveobject[playerid][ID] = 0;
return ID-1;
}stock DestroyObjectToStream(streamobjectid)
{
modelid2[streamobjectid] = 0;
tx2[streamobjectid] = 0;
ty2[streamobjectid] = 0;
tz2[streamobjectid] = -1000;
rX2[streamobjectid] = 0;
rY2[streamobjectid] = 0;
rZ2[streamobjectid] = 0;
ViewDistance2[streamobjectid] = 0;
for(new i=0; i<YOUPLAYERSLOTS; i++)
{
if(haveobject[i][streamobjectid] == 1)
{
DestroyPlayerObject(i, objectres[i][streamobjectid]);
}
haveobject[i][streamobjectid] = -1;
}
}stock DestroyPlayerObjectToStream(playerid, streamobjectid) //untested
{
modelid2[streamobjectid] = 0;
tx2[streamobjectid] = 0;
ty2[streamobjectid] = 0;
tz2[streamobjectid] = -1000;
rX2[streamobjectid] = 0;
rY2[streamobjectid] = 0;
rZ2[streamobjectid] = 0;
ViewDistance2[streamobjectid] = 0;
if(haveobject[playerid][streamobjectid] == 1)
{
DestroyPlayerObject(playerid, objectres[playerid][streamobjectid]);
}
haveobject[playerid][streamobjectid] = -1;
}stock MoveObjectToStream(streamobjectid, Float:Movex, Float:Movey, Float:Movez, Float:Speed)
{
MoveX2[streamobjectid] = Movex;
MoveY2[streamobjectid] = Movey;
MoveZ2[streamobjectid] = Movez;
MoveSpeed2[streamobjectid] = Speed;
moved[streamobjectid] = 1;
for(new i=0; i<YOUPLAYERSLOTS; i++)
{
if(haveobject[i][streamobjectid] == 1)
{
MovePlayerObject(i, objectres[i][streamobjectid], MoveX2[streamobjectid], MoveY2[streamobjectid], MoveZ2[streamobjectid], MoveSpeed2[streamobjectid]);
}
}
}stock StopObjectToStream(streamobjectid)
{
for(new i=0; i<YOUPLAYERSLOTS; i++)
{
if(haveobject[i][streamobjectid] == 1)
{
StopPlayerObject(i, objectres[i][streamobjectid]);
}
}
}stock GetBasePosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z) //untested
{
x = tx2[streamobjectid];
y = ty2[streamobjectid];
z = tz2[streamobjectid];
}stock GetMovePosObjectToStream(stramobjectid, &Float:x, &Float:y, &Float:z) //untested
{
x = MoveX2[streamobjectid];
y = MoveY2[streamobjectid];
z = MoveZ2[streamobjectid];
}stock GetCurrentPosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z) //untested
{
if(moved[streamobjectid] == 0)
{
x = tx2[streamobjectid];
y = ty2[streamobjectid];
z = tz2[streamobjectid];
}
else if(moved[streamobjectid] == 1)
{
x = MoveX2[streamobjectid];
y = MoveY2[streamobjectid];
z = MoveZ2[streamobjectid];
}
}stock GetCurrentRotObjectToStream(streamobjectid, &Float:Rx, &Float:Ry, &Float:Rz) //untested
{
Rx = rX2[streamobjectid];
Ry = rY2[streamobjectid];
Rz = rZ2[streamobjectid];
}stock SetObjectPosToStream(streamobjectid, Float:x, Float:y, Float:z)
{
for(new i=0; i<YOUPLAYERSLOTS; i++)
{
if(haveobject[i][streamobjectid] == 1)
{
SetPlayerObjectPos(i, objectres[i][streamobjectid], x, y, z);
}
}
tx2[streamobjectid] = x;
ty2[streamobjectid] = y;
tz2[streamobjectid] = z;
}stock SetObjectRotToStream(streamobjectid, Float:rX, Float:rY, Float:rZ)
{
for(new i=0; i<YOUPLAYERSLOTS; i++)
{
if(haveobject[i][streamobjectid] == 1)
{
SetPlayerObjectRot(i, objectres[i][streamobjectid], rX, rY, rZ);
}
}
rX2[streamobjectid] = Float:rX;
rY2[streamobjectid] = Float:rY;
rZ2[streamobjectid] = Float:rZ;
}stock SetObjectViewDistanceToStream(streamobjectid, Viewdistance)
{
ViewDistance2[streamobjectid] = Viewdistance;
}stock SetGloabalViewDistanceToStream(Viewdistance)
{
for(new Objects=0; Objects<ID; Objects++)
{
ViewDistance2[Objects] = Viewdistance;
}
}stock SetObjectViewDistanceToStreamEx(streamobjectidMIN, streamobjectidMAX, Viewdistance)
{
for(new Objects=streamobjectidMIN; Objects<streamobjectidMAX; Objects++)
{
ViewDistance2[Objects] = Viewdistance;
}
}stock HavePlayerObjectToStream(playerid,streamobjectid)
{
if(haveobject[playerid][streamgateid] == 1)
{
return 0;
}
else if(haveobject[playerid][streamobjectid] == 0)
{
return 1;
}
}stock HavePlayerAnyObjectToStream(playerid)
{
for(new object=0; object<ID; object++)
{
if(haveobject[playerid][object] == 1)
{
return 0;
}
}
return 1;
}stock HaveObjectAnyPlayerToStream(streamobjectid) //untested
{
for(new i=0; i<YOUPLAYERSLOTS< i++)
{
if(haveobject[i][streamobjectid] == 1)
{
return 0;
}
}
return 1;
}stock StreamObject_OnPlayerUpdate(playerid)
{
updatespassed++;
if( updatespassed == MAXUPDATES)
{
ObjectCheck(playerid);
updatespassed = 0;
}
}stock StreamObject_OnPlayerDisconnect(playerid)
{
for(new k=0; k<ID; k++)
{
haveobject[playerid][k] = 0;
objectres[playerid][k] = -1;}
ObjectCount[playerid] = 0; //untested
}public ObjectCheck(playerid)
{
new Float:playerx, Float:playery, Float:playerz;
GetPlayerPos(playerid, playerx, playery, playerz);
if(playerpos2[playerid][0] != playerx || playerpos2[playerid][1] != playery || playerpos2[playerid][2] != playerz)
{
playerpos2[playerid][0] = playerx;
playerpos2[playerid][1] = playery;
playerpos2[playerid][2] = playerz;
for(new objects=0; objects<ID; objects++)
{
if(IsPlayerInBall(playerid,tx2[objects], ty2[objects], tz2[objects], ViewDistance2[objects]))
{
if(ObjectCount[playerid] < MAX_STREAM_AT_SAME_TIME)
{
if(haveobject[playerid][objects] == 0)
{
if(moved[objects] == 0)
{
objectres[playerid][objects] = CreatePlayerObject(playerid, modelid2[objects], tx2[objects], ty2[objects], tz2[objects], rt2x[objects], rt2y[objects], rt2z[objects]);
ObjectCount[playerid]++;
haveobject[playerid][objects] = 1;
}
else if(moved[objects] == 1)
{
objectres[playerid][objects] = CreatePlayerObject(playerid, modelid2[objects], MoveX2[objects], MoveY2[objects], MoveZ2[objects], rt2x[objects], rt2y[objects], rt2z[objects]);
ObjectCount[playerid]++;
haveobject[playerid][objects] = 1;
}
}
}
}
else
{
if(haveobject[playerid][objects] == 1)
{
DestroyPlayerObject(playerid, objectres[playerid][objects]);
ObjectCount[playerid]--;
haveobject[playerid][objects] = 0;
}
}
}
}
return 1;
}
MfG Diabol0 -
Und was ist mit dem ganzen hier ?
http://pastebin.com/8X2dAN45
// hab deins zu spät gesehn -..-
ich habs auch ma compilet, herraus kommt nur ein error: