Ja,
ich bräuchte das dringend
MfG
Ja,
ich bräuchte das dringend
MfG
propertys.cfg ??
ich benutze kein GF ??
oder ist das standart :O?
MfG
hey leute,
mich interessiert wie ich Häuser kaufbar / betretbar machen kann?
[KEIN GF]
Köännte mir jemand nen Tut machen / geben?
Danke
MfG
Ps: ICH SUCHE NOCH EIN SCRIPTER EINFACH MELDEN! IcQ 282825198
hi,
also hab das jetzt im script, nur kann nicht testen obs funktioniert da diesen befehl jeder benutzen kann mh. woran liegt das ..?
if(strcmp(cmd, "/tazer", true) ==0)
if(IsPlayerConnected(playerid))
if(gTeam[playerid] == 0)
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_GREY, " bla bla bla... !");
return 1;
}
Alles anzeigen
ähm fatjoe kannste dich mal in IcQ melden (heute oder morgen) DANKE
MfG
okay danke an euch erstmal für die gute hilfe
dalls ich noch probleme habe schreib ichs hier rein
MfG
DANKE DANKE genau sowas habe ich gesucht
werd sofort mal testen
nochmals vielen Dank
MfGd
also ich möchte das so ähnlich wie Im gf haben..
ich werds mir mal angucken
hey,
ich suche seitlangen ein Tutorial um Fraktionen zu meinen GM hinzuzufügen. [KEIN GF]
Hätte hier vill jemand lust mir eins zu machen??
[icq 282825198]- -[oder hier ins thread bitte]
würd mich sehr Freuen.
Danke
MfG
core
entweder hast du es falsch eingetragen ode
dachte du meinst in die server.cfg
Trotzdem Danke
---> ERLEDIGT
habs gefunden :P..
hab das ganze in ner falschen zeile eingefügt iwie hat er das nich gelsen :D.. naja egal
Trotzdem danke
der server würde mohne script garnich starten? :O
ohh ganz vergessen -.- ....
nein spaß kla hab ich das gemacht..^^
HI leute
hab mal nen problem
also hier mein script:
( es werden keine objekte angezeigt & die cars auch nicht )
public OnGameModeInit()
{
SetGameModeText("XTREAM REALLIFE");
ShowPlayerMarkers(0);
ShowNameTags(0);
// Player Class's
AddPlayerClass(29,1095.8383,-934.2606,43.0779,278.7475,0,0,0,0,0,0);
AddPlayerClass(264,1095.8383,-934.2606,43.0779,278.7475,0,0,0,0,0,0);
AddPlayerClass(230,1095.8383,-934.2606,43.0779,278.7475,0,0,0,0,0,0);
AddPlayerClass(170,1095.8383,-934.2606,43.0779,278.7475,0,0,0,0,0,0);
AddPlayerClass(134,1095.8383,-934.2606,43.0779,278.7475,0,0,0,0,0,0);
// Car Spawns
AddStaticVehicle(462,1122.7252,-933.7252,42.6396,192.5187,6,6); // spawncar
AddStaticVehicle(462,1124.3907,-933.7424,42.6269,189.3876,3,3); // spawncar
AddStaticVehicle(462,1126.0481,-933.7435,42.6182,184.9821,0,0); // spawncar
AddStaticVehicle(481,1131.7396,-934.1305,42.4707,184.3219,1,1); // spawncar
AddStaticVehicle(481,1134.4474,-933.8277,42.4684,182.7685,1,1); // spawncar
AddStaticVehicle(481,1136.2006,-933.7771,42.4402,191.0593,1,1); // spawncar
AddStaticVehicle(481,1133.0731,-934.0261,42.4474,183.3960,1,1); // spawncar
AddStaticVehicle(507,1142.8251,-939.3923,42.7149,95.7963,8,1); // spawncar
//objekte
CreateObject(2921, 1218.628784, -920.315552, 54.433514, 0.0000, 0.0000, 0.0000);
CreateObject(2921, 1219.172119, -923.908997, 54.433514, 0.0000, 0.0000, 22.5000);
CreateObject(2921, 1223.760376, -871.028259, 48.175755, 0.0000, 0.0000, 67.5000);
CreateObject(2921, 1169.894043, -893.221924, 46.285194, 0.0000, 0.0000, 157.5000);
CreateObject(3005, 1166.459717, -878.358765, 42.440708, 0.0000, 0.0000, 11.2500);
CreateObject(3006, 1167.081177, -883.062927, 42.440708, 0.0000, 0.0000, 0.0000);
CreateObject(16151, 1185.018311, -903.307251, 42.653538, 0.0000, 0.0000, 11.2500);
CreateObject(1432, 1182.724854, -909.450623, 42.426384, 0.0000, 0.0000, 0.0000);
CreateObject(1432, 1180.223511, -907.185852, 42.447342, 0.0000, 0.0000, 0.0000);
CreateObject(1432, 1180.012451, -903.343262, 42.443073, 0.0000, 0.0000, 0.0000);
CreateObject(1486, 1183.925293, -903.411438, 43.403683, 0.0000, 0.0000, 0.0000);
CreateObject(1486, 1184.029907, -903.181458, 43.403683, 0.0000, 0.0000, 0.0000);
CreateObject(1542, 1185.461304, -901.470215, 44.032627, 0.0000, 0.0000, 191.2501);
CreateObject(1481, 1186.331055, -912.003296, 42.959370, 0.0000, 0.0000, 236.2501);
CreateObject(2828, 1185.166504, -899.836060, 43.279739, 0.0000, 0.0000, 101.2500);
CreateObject(2855, 1183.782349, -901.455383, 43.258732, 0.0000, 0.0000, 67.5000);
CreateObject(1518, 1198.020630, -917.944397, 43.592010, 0.0000, 0.0000, 11.2500);
CreateObject(2374, 1186.639893, -908.919983, 43.619900, 0.0000, 0.0000, 281.2500);
CreateObject(10310, 1205.177612, -867.993286, 53.317772, 0.0000, 0.0000, 191.2500);
CreateObject(3173, 2307.265137, -1991.718872, 12.812168, 0.0000, 0.0000, 0.0000);
CreateObject(1348, 2306.533203, -2002.161255, 13.253183, 0.0000, 0.0000, 0.0000);
CreateObject(969, 2541.143555, -2121.320068, 12.713753, 0.0000, 0.0000, 90.0000);
CreateObject(987, 2424.382324, -2091.188477, 12.546873, 0.0000, 0.0000, 270.0000);
CreateObject(987, 1326.495605, -865.145142, 38.578125, 0.0000, 0.0000, 90.0000);
CreateObject(987, 1326.414307, -853.153076, 38.578125, 0.0000, 359.1406, 88.3585);
CreateObject(987, 1292.910889, -852.547058, 42.328922, 0.0000, 0.0000, 281.2500);
CreateObject(987, 1294.501709, -878.924500, 41.875343, 0.0000, 0.0000, 276.9529);
CreateObject(12985, 1308.848511, -876.510498, 42.416534, 0.0000, 0.0000, 270.0000);
CreateObject(987, 1300.296265, -897.877441, 41.882813, 0.0000, 0.0000, 1.1775);
SetTimer("MoneyUpdate", 1000, 1);
SetTimer("payday",60000,1);
return 1;
}
Alles anzeigen
MfG
wenn du probleme hast .. IcQ 282825198
machs mal soo..
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new cmd[256];
new giveplayerid, moneys, idx;
cmd = strtok(cmdtext, idx);
//-----------------------------------------------[Pay]----------------------------------------------------------------------------------//
if(strcmp(cmd, "/pay", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pay [PlayerID] [Amount]");
return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pay [PlayerID] [Amount]");
return 1;
}
moneys = strval(tmp);
if (IsPlayerConnected(giveplayerid)) {
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
playermoney = GetPlayerMoney(playerid);
if (moneys > 0 && playermoney >= moneys) {
GivePlayerMoney(playerid, (0 - moneys));
GivePlayerMoney(giveplayerid, moneys);
format(string, sizeof(string), " *You have sent %s(player: %d), $%d.", giveplayer,giveplayerid, moneys);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string, sizeof(string), " *You have recieved $%d from %s(player: %d).", moneys, sendername, playerid);
SendClientMessage(giveplayerid, COLOR_YELLOW, string);
printf(" *%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, moneys, giveplayer, giveplayerid);
}
else {
SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount.");
}
}
else {
format(string, sizeof(string), "%d is not an active player.", giveplayerid);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
return 1;
}
return 0;
}
Alles anzeigen
like this?
//-----------------------------------------------[Pay]----------------------------------------------------------------------------------//
if(strcmp(cmd, "/pay", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pay [PlayerID] [Amount]");
return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pay [PlayerID] [Amount]");
return 1;
}
moneys = strval(tmp);
if (IsPlayerConnected(giveplayerid)) {
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
playermoney = GetPlayerMoney(playerid);
if (moneys > 0 && playermoney >= moneys) {
GivePlayerMoney(playerid, (0 - moneys));
GivePlayerMoney(giveplayerid, moneys);
format(string, sizeof(string), " *You have sent %s(player: %d), $%d.", giveplayer,giveplayerid, moneys);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string, sizeof(string), " *You have recieved $%d from %s(player: %d).", moneys, sendername, playerid);
SendClientMessage(giveplayerid, COLOR_YELLOW, string);
printf(" *%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, moneys, giveplayer, giveplayerid);
}
else {
SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount.");
}
}
else {
format(string, sizeof(string), "%d is not an active player.", giveplayerid);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
return 1;
}
return 0;
}
Alles anzeigen
MfG
ich frag mich wofür du diesen "scheiß" brauchst
D:\DOKUME~1\ONESTA~1\Desktop\RLbyCore.pwn(748) : warning 235: public function lacks forward declaration (symbol "SetPlayerSpawn")
D:\DOKUME~1\ONESTA~1\Desktop\RLbyCore.pwn(776) : warning 202: number of arguments does not match definition
D:\DOKUME~1\ONESTA~1\Desktop\RLbyCore.pwn(782) : error 030: compound statement not closed at the end of file (started at line 750)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.