Als Dipl. Mapper sollte man wissen das die Parkplatz streifen die Objekt id 10183 haben
DIe streifen hab ich, brauche dieses grasflächending
Als Dipl. Mapper sollte man wissen das die Parkplatz streifen die Objekt id 10183 haben
DIe streifen hab ich, brauche dieses grasflächending
und wie soll ich die kurven machen mr. diplom mapper
Ich suche die ID von diesem Objekt:
..
lg
/e Diese Grüne fläche mit dem stein aussenrum
Warum sollte ich? Ich weiß, dass ich nicht singen kann, also tu ichs auch garnicht erst. Und ganz ehrlich, er kann nunmal nicht singen oO
Jeder hat seinen eigenen Geschmack, im gegensatz zu dir singt er weningstens, du "versteckst" dich hinter deinem Account hier (Firewall).
Hätte bestimmt n toller Song werden können, wenn du doch nur singen könntest.
Machs besser, schnuggi!
B2T:
Für den ersten Song gut, naja, ausser der Teil mit "ZEIG DEIN ARSCH" oder sowas
Das leuchtet nur wenns Dunkel ist.
Ebenso mach den PWN-Tag rien!
Sniper geht es doch sowieso nicht?
klar, setz dich als beifahrer rein gib dir sniper bam
Ich würd auch gern eine haben
Aufschrift: DJ Deagle & woanders darauf: SAMP Scripter
Effekte: Blendung & (NUR EIN bisschen) Glitzer
Bild: http://www.imgbox.de/users/public/images/LboUcGi96f.png
immernoch
Huhuu,
habe ein CreateHouse-stock. Darin ist ein MySQL-Query, welcher angeblich zulang für PAWNO ist...
Hier der Error:
C:\Users\Zinne\Desktop\samp03x_svr_R1-2_win32\gamemodes\Lifestyle Roleplay\Lifestyle.pwn(16121) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Query:
new query[2000];
format(query,sizeof(query),"INSERT INTO `haeuser` (`ID`, `PosX`, `PosY`, `PosZ`, `Level`, `Preis`, `Besitzer`, `Bought`, `Rooms`,\
`InteriorID`,`Interior`,`IntX`,`IntY`,`IntZ`,`Rentable`, `RentPrice`, `Renter1`, `Renter2`, `Renter3`, `Renter4`, `Renter5`,\
`Renter6`, `Kasse`)VALUES('%d', '%f', '%f', '%f', '%d', '%d', 'Niemand', '0', '%d', '%d', '%d', '%f', '%f', '%f', '1', '100',\
/*ERRORZEILE*/ 'Niemand', 'Niemand', 'Niemand', 'Niemand', 'Niemand', 'Niemand', '0')"\
,rows,X,Y,Z,Level,Price,Rooms,Interior,IntID[Interior][0],InteriorList[Interior][0], InteriorList[Interior][1], InteriorList[Interior][2]);
mysql_query(query);
Warum geht des niet?
lg
kommt immer noch "ProxDetector Funktion nicht gefunden"
schick mal den Compiler Output hier rein...
Ohne Code nix los.
PD ist genau das gleiche wie der stock SendLocalMessage,
gut für Reallife Server, weil man damit im Radios der Person eine Nachricht absenden kann.
scheiss Godfather...
Da kann ich auch nichmehr weiterhelfen...
Wird im ServerLOG etwas geprintet?
bekommst du die Meldung im Chat das du Waffe Hans_Wurst mit 649436 Munition für 142378$ gekauft hast?
da ist ja garkein GivePlayerWeapon ?
*hust*GivePlayerWeapon(playerid, gun, ammo);Zeile 198 *hust*
forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
{
if(IsPlayerConnected(playerid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && (GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)))
{
GetPlayerPos(i, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
tempposz = (oldposz -posz);
if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16))) // If the player is within 16 meters
{
SendClientMessage(i, col1, string);
}
else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8))) // within 8 meters
{
SendClientMessage(i, col2, string);
}
else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4))) //4 meters
{
SendClientMessage(i, col3, string);
}
else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2))) //2 meters
{
SendClientMessage(i, col4, string);
}
else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) //1 meter
{
SendClientMessage(i, col5, string);
}
}
else
{
SendClientMessage(i, col1, string);
}
}
}
return 1;
}
ganz unten in den Script und fertig.
P.S.: Das gehört in den Scriptingbereich
Alles anzeigenIntger != string das solltest du eig gesehen haben
stock LoadHouse(HouseID)
{
new str[128];
format(str,12,"%d",HouseID);
HausInfo[HouseID][hID] = GetMySQLint("haeuser", "ID", "ID", str);
HausInfo[HouseID][hPosX] = GetMySQLfloat("haeuser", "PosX", "ID", str);
HausInfo[HouseID][hPosY] = GetMySQLfloat("haeuser", "PosY", "ID", str);
HausInfo[HouseID][hPosZ] = GetMySQLfloat("haeuser", "PosZ", "ID", str);
HausInfo[HouseID][hLevel] = GetMySQLint("haeuser", "Level", "ID", str);
HausInfo[HouseID][hPreis] = GetMySQLint("haeuser", "Preis", "ID", str);
format(HausInfo[HouseID][hBesitzer],24,"%s",GetMySQLstring("haeuser", "PosZ", "ID", str));
HausInfo[HouseID][hBought] = GetMySQLint("haeuser", "Bought", "ID", str);
HausInfo[HouseID][hPickup] = CreatePickup(1239,1,HausInfo[HouseID][hPosZ],HausInfo[HouseID][hPosY],HausInfo[HouseID][hPosZ],0);
if(HausInfo[HouseID][hBought] == 0)
{
format(str,sizeof(str),"Dieses Haus ist zu verkaufen!\nLevel: %d\nPreis: %d€",HausInfo[HouseID][hLevel],HausInfo[HouseID][hPreis]);
}
else
{
format(str,sizeof(str),"Besitzer: %s\nZimmer mieten - /rentroom(n.I.)",HausInfo[HouseID][hBesitzer]);
}
HausInfo[HouseID][hLabel]=Create3DTextLabel(str,COLOR_RED,HausInfo[HouseID][hPosX],HausInfo[HouseID][hPosY],HausInfo[HouseID][hPosZ],7,0);
return 1;
}
//e
Hab dir es mal verbessert so sollte es gehen
Des klappt nicht... InGame ist kein Pickup, ich kann kein /buyhouse machen NIX!
Hier die Log:
[12:33:21] CMySQLHandler::Query(SELECT `Bought` FROM `haeuser` WHERE `ID` = '24') - Successfully executed.
[12:33:21] >> mysql_store_result( Connection handle: 1 )
[12:33:21] CMySQLHandler::StoreResult() - Result was stored.
[12:33:21] >> mysql_fetch_int( Connection handle: 1 )
[12:33:21] >> mysql_free_result( Connection handle: 1 )
[12:33:21] CMySQLHandler::FreeResult() - Result was successfully free'd.
24? Es gibt nur 1 Hau, aber das wird nicht geladen...
Was is da looos?!
/e MySQL-Log
/e² MySQL Log in CODE eingefügt
joa geht, 5/10
hab das PW mal an mich genommen und geändert
Ich würd auch gern eine haben
Aufschrift: DJ Deagle & woanders darauf: SAMP Scripter
Effekte: Blendung & (NUR EIN bisschen) Glitzer
Bild: http://www.imgbox.de/users/public/images/LboUcGi96f.png