wie meinste das was soll ich da einegeben ?
Beiträge von TheGamerX
-
-
RemoveBuildingForPlayer(playerid, 3737, 1525.5000, -691.6953, 96.0781, 0.25);
RemoveBuildingForPlayer(playerid, 3734, 1497.8594, -674.8281, 99.8828, 0.25);
RemoveBuildingForPlayer(playerid, 3604, 1525.5000, -691.6953, 96.0781, 0.25);
RemoveBuildingForPlayer(playerid, 3605, 1497.8594, -674.8281, 99.8828, 0.25);
//BSN
RemoveBuildingForPlayer(playerid, 5858, 1214.1484, -913.4453, 43.0547, 0.25);
RemoveBuildingForPlayer(playerid, 1522, 1199.9688, -917.6406, 42.0234, 0.25);
RemoveBuildingForPlayer(playerid, 6010, 1214.1484, -913.4453, 43.0547, 0.25);
RemoveBuildingForPlayer(playerid, 706, 301.0859, -1115.3750, 79.9141, 0.25);
RemoveBuildingForPlayer(playerid, 706, 252.9063, -1156.1953, 77.7656, 0.25);
RemoveBuildingForPlayer(playerid, 708, 287.9531, -1206.7266, 79.2891, 0.25);
RemoveBuildingForPlayer(playerid, 3733, 310.6172, -1145.5234, 85.8750, 0.25);
RemoveBuildingForPlayer(playerid, 3737, 279.1328, -1152.2266, 82.4141, 0.25);
RemoveBuildingForPlayer(playerid, 762, 245.1563, -1160.2813, 81.8047, 0.25);
RemoveBuildingForPlayer(playerid, 620, 268.5234, -1189.7031, 78.1719, 0.25);
RemoveBuildingForPlayer(playerid, 700, 274.1953, -1202.3281, 79.7344, 0.25);
RemoveBuildingForPlayer(playerid, 3604, 279.1328, -1152.2266, 82.4141, 0.25);
RemoveBuildingForPlayer(playerid, 620, 310.2734, -1194.7422, 78.6719, 0.25);
RemoveBuildingForPlayer(playerid, 620, 329.2109, -1178.5391, 78.9531, 0.25);
RemoveBuildingForPlayer(playerid, 620, 336.5078, -1171.4531, 78.4063, 0.25);
RemoveBuildingForPlayer(playerid, 3607, 310.6172, -1145.5234, 85.8750, 0.25);
RemoveBuildingForPlayer(playerid, 762, 337.4141, -1163.7188, 83.8047, 0.25);hi leute wenn ich das im script habe bekomme ich immer diesen error
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12312) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12313) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12314) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12315) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12318) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12319) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12320) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12321) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12322) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12323) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12324) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12325) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12326) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12327) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12328) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12329) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12330) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12331) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12332) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12333) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12334) : error 017: undefined symbol "playerid"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12383) : error 017: undefined symbol "Noob3"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12384) : error 017: undefined symbol "Noob2"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(12385) : error 017: undefined symbol "Noob1"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase24 Errors.
vorher hat das ohne errors geklappt ich weis nicht warum kann mir einer helfen ?
-
Hi leute ich hab probiert ein automatisches Fahrschul system einzubauen also mit 92 checkpoints aber beim compilen bekomme ich errors weis nicht genau warum
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(1213) : error 021: symbol already defined: "AktuellerCP"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(1293) : error 001: expected token: "}", but found "{"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(1307) : error 010: invalid function or declaration
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(4235) : error 021: symbol already defined: "FahrschulFahrzeug"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(4237) : error 010: invalid function or declaration
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(4239) : error 010: invalid function or declaration
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(4241) : error 010: invalid function or declaration
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(4244) : error 010: invalid function or declaration
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(6768) : error 012: invalid function call, not a valid address
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(6768) : warning 215: expression has no effect
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(6768) : error 001: expected token: ";", but found ")"
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(6768) : error 029: invalid expression, assumed zero
C:\Users\Tufan\Desktop\SAMP\GPR\gamemodes\LSRNEU.pwn(6768) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
12 Errors.
new Float:FahrschulCPs[FahrschulCheckpoints][3]={
{1412.8900,-1648.4752,13.1796}, // autocp1
{1431.6948,-1607.6531,13.1836},//2
{1431.7102,-1606.1044,13.1835},//3
{1558.7515,-1595.1112,13.1845},//4
{1680.1405,-1594.5276,13.1878},//5
{1797.5276,-1614.9144,13.1589},//6
{1826.5259,-1583.5309,13.2013},//7
{1852.2935,-1465.7340,13.1998},//8
{1853.0436,-1322.1166,13.1954},//9
{1853.7538,-1233.1215,16.1406},//10
{1818.6246,-1178.8802,23.4303},//},//11
{1677.8992,-1159.1271,23.4579},//12
{1569.6437,-1087.7944,23.2947},//13
{1477.1909,-1031.5544,23.4595},//14
{1342.3506,-924.7654,35.0949},//15
{1237.5261,-930.0591,42.3112},//16
{1117.1959,-944.0316,42.4904},//17
{925.2901,-970.4355,38.0016},//18
{833.1880,-1031.3468,25.1987},//19
{695.9514,-1127.4442,16.6441},//20
{555.9717,-1234.9677,16.8783},//21
{375.7454,-1358.1707,14.2638},//22
{202.4043,-1476.7830,12.6039},//23
{154.2029,-1544.2717,10.3446},//24
{91.9316,-1528.0074,5.3571},//25
{48.0247,-1524.8418,4.9038},//26
{-144.1224,-1423.9990,2.4973},//27
{-142.4810,-1274.2383,2.4968},//28
{-116.3894,-1180.3911,2.4976},//29
{-101.7729,-1016.4847,23.8814},//30
{-216.3085,-913.1281,39.6835},//31
{-379.7390,-833.4022,46.7725},//32
{-528.7808,-900.5591,55.4270},//33
{-643.5036,-991.3013,67.6831},//34
{-755.5773,-1003.2718,77.0380},//35
{-880.4004,-1087.0040,95.3245},//36
{-951.5349,-1050.1322,96.2502},//37
{-1189.3490,-807.3529,64.9536},//38
{-1405.7375,-815.6439,81.4460},//39
{-1656.2295,-773.5282,43.1172},//40
{-1774.2732,-667.0219,22.5388},//41
{-1812.9937,-414.5691,15.2931},//42
{-1798.1458,-231.9649,18.0250},//43
{-1842.8685,-115.6121,5.2939},//44
{-2000.3804,-66.4709,34.9934},//45
{-2136.2764,-68.9277,34.9736},//46
{-2169.6497,-96.1903,34.9735},//47
{-2263.9744,-230.4697,36.5424},//48
{-2238.4351,-418.4001,50.6689},//49
{-2083.4019,-567.9721,30.5707},//50
{-1932.1154,-584.0044,24.2474},//51
{-1868.9790,-585.0779,23.6900},//52
{-1812.3297,-795.2456,34.7087},//53
{-1813.2621,-961.4097,48.2349},//54
{-1784.1719,-1079.8550,54.0934},//55
{-1673.3361,-1303.8503,49.4515},//56
{-1589.6830,-1423.9325,42.0834},//57
{-1526.4379,-1360.7916,47.9291},//58
{-1608.6079,-1194.6987,68.6235},//59
{-1726.9102,-1040.4329,74.4029},//60
{-1730.1257,-835.8544,78.8195},//61
{-1639.4095,-960.3720,100.3634},//62
{-1503.8246,-1245.2848,101.0825},//63
{-1398.2239,-1419.3755,106.1105},//64
{-1213.1150,-1349.6252,122.9672},//65
{-978.3525,-1400.1382,129.8426},//66
{-895.4240,-1273.8160,114.0657},//67
{-881.0730,-1119.0114,98.5092},//68
{-639.0716,-998.5749,67.5196},//69
{-501.2157,-879.5854,53.1114},//70
{-329.3098,-862.6574,46.6942},//71
{-159.6044,-961.9373,29.0681},//72
{-88.9250,-1110.2947,1.7249},//73
{-143.0179,-1242.8008,2.5012},//74
{-43.4883,-1517.7830,1.6232},//74
{95.2689,-1546.9752,5.9637},//75
{209.0249,-1484.8503,12.6723},//76
{304.5651,-1409.6660,13.7421}//77
{465.6324,-1312.4926,15.0362},//78 ///ZEILE 1293
{626.0582,-1250.4871,17.4031},//79
{665.0635,-1321.6193,13.2274},//80
{878.5985,-1327.8077,13.3516},//81
{1008.1259,-1328.4691,13.1845},//82
{1089.7378,-1403.1366,13.2852},//83
{1252.7448,-1403.1149,12.8062},//84
{1329.7749,-1403.9984,13.1606},//85
{1396.1688,-1423.4410,13.1863},//86
{1424.2421,-1442.9252,13.1846},//88
{1438.8768,-1512.7186,13.2403},//89
{1427.7891,-1626.0474,13.1845},//90
{1402.9083,-1648.1875,13.1803},//91
{1374.0547,-1636.2183,13.1834}//92
};//ZEILE 1307Function FahrschulFahrzeug(carid)////4235
{
for(new i = 0; i < sizeof(FahrschulFahrzeug); i++)
{
if(carid == FahrschulFahrzeug[i])
{
return 1;
}
}
return 0;
}if(AktuellerCP[playerid] != INVALID_FAHRSCHUL_CP && FahrschulFahrzeug(vehicle)) ///ZEILE 6768
{
if(AktuellerCP[playerid] == EndFahrschulCP)
{
DisablePlayerCheckpoint(playerid);
AktuellerCP[playerid] = INVALID_FAHRSCHUL_CP;
SendClientMessage(playerid, COLOR_GRAD1, "Herzlichen Glückwunsch, sie haben bestanden !");
PlayerInfo[playerid][pCarLic] = 1;
SetVehicleToRespawn(vehicle);
}
else
{
AktuellerCP[playerid]++;
SetPlayerCheckpoint(playerid,FahrschulCPs[AktuellerCP[playerid]][0],FahrschulCPs[AktuellerCP[playerid]][1],FahrschulCPs[AktuellerCP[playerid]][2], 8.0);
}
}könnt ihr mir helfen pls
MfG,
The GamerX -
Hi ich habe in ein GF System einige gebiete eingefügt aber wenn man /ctf macht steht da Du bist in keinem Gebiet
new FightSystem[][fsSyS]={
/*MinX, MinY, MaxX, MaxY, CTFx, CTFy, CTFz*/
{1060.145,-1721.339,1166.624,-1583.168,1072.4016,-1619.3834,20.4583},//Kaufhaus
{990.2909,1821.38,1177.724,2057.332,1067.5798,1884.2932,10.8203},//Container
{-887.5186,1377.989,-583.8938,1634.903,-813.6335,1525.2080,26.5065},//Wüste
{-2506.7,740.0255,-2383.094,826.8147,2459.4094,787.3281,35.1719},//Markt
{-1850.044,1438.284,-1710.987,1584.248,-1789.1478,1543.3608,7.1875},//Hafen
{-1891.4263,857.8361,-1722.0261,1095.5897,-1720.0752,1018.2902,17.5859},//Bank
{1828.318,-1938.465,2071.699,-1760.817,1958.6156,-1853.2424,4.3392},//Tanke
{1828.0573,-2161.2705,1956.4136,-2057.7964,1924.0941,-2125.0146,13.5826},//Airport(LS)
{910.1600,-1584.8478,758.9321,-1758.7518,783.7413,-1725.8213,13.5469}///<-----DAS GEBIETund hier sind die KordisAddPlayerClass(19,910.1600,-1584.8478,13.5469,17.9251,0,0,0,0,0,0); // gang
AddPlayerClass(19,758.9321,-1758.7518,12.8281,84.7075,0,0,0,0,0,0); // gang2
AddPlayerClass(19,783.7413,-1725.8213,13.5469,195.8349,0,0,0,0,0,0); // ctdas Gang gebiet ist da und ist weiß aber ich weis net warum man es net einehmen kann
-
if(strcmp(cmd,"/tgtor",true) == 0)
{
{
if(IsPlayerInFrac(playerid,18))
{
if(tgtor1var == 0)
{MoveObject(tgtor1, 1669.9000244141, -1547.0999755859, 5.199999809265, 3, 0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
tgtor1var = 1;
}
else
{
MoveObject(tgtor1, 1669.9000244141, -1547.0999755859, 15.199999809265, 3, 0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
tgtor1var = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Mitglied der Gang!");
return 1;
}
}
if(strcmp(cmd,"/tgtor2",true) == 0)
{
{
if(IsPlayerInFrac(playerid,18))
{
if(tgtor2var == 0)
{MoveObject(tgtor2, 1669.4000244141, -1479.8000488281, 5.199999809265, 3, 0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
tgtor2var = 1;
}
else
{
MoveObject(tgtor2, 1669.4000244141, -1479.8000488281, 15.199999809265, 3, 0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
tgtor2var = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Mitglied der Gang!");
return 1;
}
}new tgtor1;
new tgtor1var;new tgtor2;
new tgtor2var;tgtor1 = CreateObject(980, 1669.9000244141, -1547.0999755859, 15.199999809265, 0, 0, 90);
tgtor2 = CreateObject(980, 1669.4000244141, -1479.8000488281, 15.199999809265, 0, 0, 90);also das Tor geht runter aber irgendwie bleibt das da noch stehen
-
Function Reinziehenvorne(playerid)
{
if(IsPlayerConnected(playerid))
{
giveplayerid = ReturnUser(tmp);
{
new car = GetPlayerVehicleID(playerid);
new sendername[MAX_PLAYER_NAME];
new string[180];
if(GetDistanceBetweenPlayers(playerid, giveplayerid) < 8)
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "* Du wurdest von %s ins Car gezogen", sendername);
SendClientMessage(giveplayer, COLOR_LIGHTBLUE, string);
PutPlayerInVehicle(giveplayer, car, 1);
PlayerCuffed[giveplayerid] = 2;
PlayerCuffedTime[giveplayerid] = (999 + random(180));
PlayerTied[giveplayerid] = 0;
FreezePlayer(giveplayerid);
format(string, sizeof(string), "* %s hat %s ins Auto gezogen!", sendername ,giveplayer);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GameTextForPlayer(playerid, "~r~Gib Gas", 3000, 1);
return 1;
}
}
return 1;
}Function Reinziehenhinten(playerid)
{
if(IsPlayerConnected(playerid))
{
giveplayerid = ReturnUser(tmp);
{
new car = GetPlayerVehicleID(playerid);
new sendername[MAX_PLAYER_NAME];
new string[180];
if(GetDistanceBetweenPlayers(playerid, giveplayerid) < 8)
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "* Du wurdest von %s ins Car gezogen", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
PutPlayerInVehicle(giveplayerid, car, 3);
PlayerCuffed[giveplayerid] = 2;
PlayerCuffedTime[giveplayerid] = (999 + random(180));
PlayerTied[giveplayerid] = 0;
FreezePlayer(giveplayerid);
format(string, sizeof(string), "* %s hat %s ins Auto gezogen!", sendername ,giveplayer);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GameTextForPlayer(playerid, "~r~Gib Gas", 3000, 1);
}
}
return 1;
}und der Error Code
C:\Users\Tufan\Desktop\server\gamemodes\gprscript0.2.pwn(55018) : error 017: undefined symbol "giveplayerid"
C:\Users\Tufan\Desktop\server\gamemodes\gprscript0.2.pwn(55023) : error 017: undefined symbol "giveplayerid"
C:\Users\Tufan\Desktop\server\gamemodes\gprscript0.2.pwn(55025) : error 017: undefined symbol "giveplayerid"
C:\Users\Tufan\Desktop\server\gamemodes\gprscript0.2.pwn(55025) : error 017: undefined symbol "giveplayer"
C:\Users\Tufan\Desktop\server\gamemodes\gprscript0.2.pwn(55025) : error 029: invalid expression, assumed zero
C:\Users\Tufan\Desktop\server\gamemodes\gprscript0.2.pwn(55025) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
der befehl
if(strcmp(cmd, "/freefromcar", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid))return SendClientMessage(playerid,COLOR_RED,"Du sitzt in keinem Fahrzeug!");
if(IsPlayerInFrac(playerid, 21))
{
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GREY, "__________________ Freefromcar __________________");
SendClientMessage(playerid, COLOR_GREY, "Befehl: /freefromcar [playerid] [0/1]");
SendClientMessage(playerid, COLOR_GREY, "Info: 0 = Vorne rechts, 1 = Hinten rechts");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != playerid)
{
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GREY, "Befehl: /freefromcar [Spieler ID] [0/1]");
SendClientMessage(playerid, COLOR_GREY, "Info: 0 = Vorne rechts, 1 = Hinten rechts!");
return 1;
}
new sit = strval(tmp);
if(sit < 0 || sit > 1) { SendClientMessage(playerid, COLOR_GREY, "Es gibt nur die Sitzplätze 0 und 1!"); return 1; }
if(GetDistanceBetweenPlayers(playerid, giveplayerid) < 8)
{
if(sit == 0)
{
format(string,sizeof string, "Du versuchst %s aus dem Wagen zuziehen.",giveplayer);
SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
if(GetDistanceBetweenPlayers(playerid, giveplayerid) < 8)
SetTimerEx("Reinziehenvorne",10000,0,"i",playerid);
}
else if(sit == 1)
{
format(string,sizeof string, "Du versuchst %s aus dem Wagen zuziehen.",giveplayer);
SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
SetTimerEx("Reinziehenhinten",10000,0,"i",playerid);
/*if(GetDistanceBetweenPlayers(playerid, giveplayerid) < 8)
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "* Du wurdest von %s ins Car gezogen", sendername);
SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, string);
PutPlayerInVehicle(giveplayerid, car, 3);
PlayerCuffed[giveplayerid] = 2;
PlayerCuffedTime[giveplayerid] = (999 + random(180));
PlayerTied[giveplayerid] = 0;
FreezePlayer(giveplayerid);
format(string, sizeof(string), "* %s hat %s ins Auto gezogen!", sendername ,giveplayer);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GameTextForPlayer(playerid, "~r~Gib Gas", 3000, 1);
*/
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Der Spieler ist nicht in deiner Nähe!");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Spieler ist nicht online!");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Du bist kein Mitglied der Wheelmen Agency!");
}
return 1;
} -
-
C:\Users\Tufan\Desktop\server\pawno\include\dutils.inc(298) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Tufan\Desktop\server\pawno\include\dutils.inc(462) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Tufan\Desktop\server\pawno\include\dini.inc(46) : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Users\Tufan\Desktop\server\pawno\include\dini.inc(54) : warning 219: local variable "tmp" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhaseHeader size: 13300 bytes
Code size: 2517264 bytes
Data size: 6290008 bytes
Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 8853340 bytes4 Warnings.
ich weis nicht was falsch ist, irgendwie funzte n auch fast keine cmds mehr kann mir einer helfen
-
if(strcmp(cmdtext, "/jobs", true) == 0)
{
if(GetPVarInt(playerid, "pJob") != 0)return true; // Der Spieler hat schon einen Job
new str[256];
for(new i=0; i < Jobs_On_This_Server; i++)format(str, sizeof(str), "%s\n%s", str, Jobs[i][jName]);
ShowPlayerDialog(playerid, DiaJob, DIALOG_STYLE_LIST, "Jobs", str, "Auswählen", "Abbrechen");
SetPVarInt(playerid, "DiaAction", 1); //Brauchen wir damit wir nur eine Dialogid benötigen.
return true;
} -
#define Jobs_On_This_Server 1 //Hier einträgen wieviele Jobs auf euren Server geben soll diese müssen allerdings alle definiert werden
new Jobs[Jobs_On_This_Server][JobI]={
{"Farmer",1529.3491,-1675.4491,13.3828}
}; -
new Jobs[Jobs_On_This_Server][JobI]={
{"Farmer",1529.3491,-1675.4491,13.3828}/// DAS IST DIE ZEILE
};ich weis nicht falsch ist
kann mir einer helfenC:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade0.2.pwn(106) : warning 213: tag mismatch
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade0.2.pwn(106) : warning 213: tag mismatch
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade0.2.pwn(106) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase3 Warnings.
-
ah geht danke dir
-
if(strcmp(cmdtext, "/fill", true) == 0)
{
else if (GetPlayerVehicleSeat(playerid) != 0) return SendClientMessage(playerid,grau,"Du bist in keinem Fahrzeug (oder kein Fahrer).");// zeile 589
new car = GetPlayerVehicleID(playerid);
else if (TanktGerade[car]) return SendClientMessage(playerid,grau,"Du tankst schon...");//zeile 591
else if (Motor[car] == true) return SendClientMessage(playerid,weiß,"Du musst vor dem Tanken den Motor ausschalten.");
new ZuTanken = 100-Tank[car];
new preis = ZuTanken * BENZINPREIS;
if (GetPlayerMoney(playerid)-preis < 0) return SendClientMessage(playerid,grau,"Du hast nicht genug Geld!");
GivePlayerMoney(playerid, -preis);
SendClientMessage(playerid, weiß, "Dein Fahreug wird betankt....");
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid,0);
TanktGerade[car] = true;
tanktimer[playerid] = SetTimerEx("Auftanken",500,true,"i",playerid);
return 1;
}kann mir einer helfen?
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(589) : error 029: invalid expression, assumed zero
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(589) : warning 215: expression has no effect
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(589) : error 001: expected token: ";", but found "if"
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(591) : error 029: invalid expression, assumed zero
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(591) : warning 215: expression has no effect
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(591) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase4 Errors.
-
ah danke dir jetzt kann ich weiter scripten
-
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(375) : error 035: argument type mismatch (argument 2)
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(377) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase2 Errors.
ocmd:su(playerid,params[])
{
new pID, wlevel, reason[128], string[128];
if(GetPVarInt(playerid,"Fraktion")!=1)return SendClientMessage(playerid,grau,"Du bist kein Cop !");
if(GetPVarInt(playerid,"Fraktion")!=4)return SendClientMessage(playerid,grau,"Du bist kein Cop !");
if(sscanf(params,"us",pID,reason))return SendClientMessage(playerid,grau,"/ban [id] [grund]");
SetPlayerWantedLevel(pID,wlevel);
SetPVarInt(pID,"wlevel",wlevel);
format(string,sizeof(string),"Du hast eine Straftat begangen (%s)",reason);
SendClientMessage(pID,string);/// erste zeile
format(string,sizeof(string),"Aktuelles Wantedlevel: %s",wlevel);
SendClientMessage(pID,string);// zweite zeile
return 1;
}wisst ihr was falsch ist ??
-
danke geht wieder
-
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(3851) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(5767) : error 017: undefined symbol "StopAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(8874) : error 017: undefined symbol "StopAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49061) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49066) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49071) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49076) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49081) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49086) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49091) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49096) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49101) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49106) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49111) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49116) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\Tufan\Desktop\server\gamemodes\meinscript.pwn(49121) : error 017: undefined symbol "StopAudioStreamForPlayer"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase16 Errors.
ich hatte die nie ich habe heute mal compiled dann kam das auf einmal wissti hr warum ?
-
if(!isPlayerAnAdmin(playerid,5))return SendClientMessage(playerid,grau,"Du bist kein Admin !");
new pID, rank;
if(sscanf(params,"ui",pID,rank))return SendClientMessage(playerid,grau,"Benutze /makeadmin [id] [Adminlevel] ");
if(rank<0||rank>5)return SendClientMessage(playerid,grau,"Bitte gültigen Rang angeben (1-5)!");
SetPVarInt(pID,"Adminlevel",rank);
SendClientMessage(pID,sendername,hellblau,"Du wurdest von Admin %s zum Admin gemacht"); -
ocmd:makeadmin(playerid,params[])
{
if(!isPlayerAnAdmin(playerid,5))return SendClientMessage(playerid,grau,"Du bist kein Admin !");
new pID, rank;
if(sscanf(params,"ui",pID,rank))return SendClientMessage(playerid,grau,"Benutze /makeadmin [id] [Adminlevel] ");
if(rank<0||rank>5)return SendClientMessage(playerid,grau,"Bitte gültigen Rang angeben (1-5)!");
SetPVarInt(pID,"Adminlevel",rank);SendClientMessage(pID,
hellblau,"Du wurdest von Admin %s zu einem Admin Level %s
gemacht",sendername,Adminlevel);// hier die zeilereturn 1;
}
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.pwn(230) : error 017: undefined symbol "sendername"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase1 Error.
kann mir einer helfen weis net was falsch ist
-
TextDrawColor(zustand[i],0xffffffff);
TextDrawSetOutline(zustand[i],1);
TextDrawSetProportional(zustand[i],1);
TextDrawSetShadow(zustand[i],1);
}
//===== Zonen =====//
{
BSNDM = GangZoneCreate(1160.4060,41.7064,1254.3073,-873.2585);
return 1;
}
//===== GANGZONEN =====//
/*
//
*/
//Textdraw
NDMZONET = TextDrawCreate(497.000000,7.000000,"NO DM ZONE");
TextDrawAlignment(NDMZONET,0);
TextDrawBackgroundColor(NDMZONET,0x000000FF);
TextDrawFont(NDMZONET,2);
TextDrawLetterSize(NDMZONET,0.499999,1.500000);
TextDrawColor(NDMZONET,0xFF0000FF);
TextDrawSetOutline(NDMZONET,1);
TextDrawSetProportional(NDMZONET,1);
TextDrawSetShadow(NDMZONET,1);
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
for(new i = 0; i < AUTOHAUSER; i++)