dandrew12
-
Posts
45 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by dandrew12
-
-
Salut, imi da aceasta eroare
[pawn]E:\stick\Eternity Roleplay\gamemodes\lcs.pwn(53823) : error 032: array index out of bounds (variable "arrCoords")[/pawn]
Linia
[pawn] 53822 CarInfo[idx][cComponent13] = strval(arrCoords[28]);
53823 CarInfo[idx][Km] = strval(arrCoords[29]);[/pawn]
-
Updateaza includerele pe 0.3x
Am updatat si face tot la fel
-
Giradea, am pus si eu sistemul, doar ca o problema! Cand dau sa compilez imi da niste erori ! Te rog ajuta-ma sunt incepotor !
D:\X.Zon3\pawno\include\mSelection.inc(192) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
D:\X.Zon3\pawno\include\mSelection.inc(196) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
D:\X.Zon3\pawno\include\mSelection.inc(197) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
D:\X.Zon3\pawno\include\mSelection.inc(189) : warning 203: symbol is never used: "mZoom"
D:\X.Zon3\pawno\include\mSelection.inc(189) : warning 203: symbol is never used: "Zrot"
D:\X.Zon3\pawno\include\mSelection.inc(189) : warning 203: symbol is never used: "Yrot"
D:\X.Zon3\pawno\include\mSelection.inc(189) : warning 203: symbol is never used: "Xrot"
D:\X.Zon3\pawno\include\mSelection.inc(189) : warning 203: symbol is never used: "modelindex"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Asa imi da si mie
-
Mie tot la fel imi face, am toate fisierele tot.
http://postimg.org/image/n8vcvr8zb/
-
salut, am bagat si eu acest sistem, can dau start server, intru pe server si dupa imi pica servaru, dc?
http://postimg.org/image/n8vcvr8zb/
-
ma ajuta si pe mn cineva?
-
Cand dau compile imi da erorile acestea:
[pawn]
(13944) : error 021: symbol already defined: "Streamer_OnPlayerEnterRaceCP"
(32844) : error 021: symbol already defined: "strtok"
(32859) : error 047: array sizes do not match, or destination array is too small[/pawn]
Uitati liniile:
[pawn]13943 public OnPlayerEnterRaceCheckpoint(playerid)
13944 {
13945 return 1;
13946 }[/pawn]
[pawn]strtok(const string[], &index)
32844 {
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
32859 return result;
}[/pawn]
-
Salut, vreau sa va arat prima mea mapa.
http://postimage.org/image/qf27k5gev/
http://postimage.org/image/44eck6j4n/
http://postimage.org/image/sm6g82lp3/
[pawn]CreateDynamicObject(970, 1489.99, -1021.81, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1485.87, -1021.83, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1481.72, -1021.84, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1477.59, -1021.84, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1473.50, -1021.87, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1469.38, -1021.89, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1461.90, -1021.82, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1453.10, -1021.81, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1448.99, -1021.82, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1444.87, -1021.85, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1440.76, -1021.85, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1436.63, -1021.84, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(970, 1432.53, -1021.85, 23.27, 0.00, 0.00, 0.16);
CreateDynamicObject(1283, 1497.05, -1033.64, 25.99, 3.14, 0.00, 80.46);
CreateDynamicObject(19125, 1471.28, -1033.94, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1468.71, -1033.94, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1466.70, -1033.92, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1465.20, -1033.94, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1463.26, -1033.98, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1460.74, -1033.95, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1458.18, -1033.99, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1456.57, -1033.95, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1454.77, -1033.97, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1452.67, -1033.93, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1450.67, -1033.98, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1448.90, -1033.96, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1446.62, -1033.93, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1444.42, -1033.94, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1442.58, -1033.97, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1442.58, -1033.97, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(10757, 1462.21, -1019.41, 33.43, 2.22, 10.26, 356.22);
CreateDynamicObject(19125, 1438.89, -1033.97, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1444.42, -1033.94, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1436.55, -1033.97, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1434.22, -1033.91, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1432.06, -1033.93, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1429.79, -1033.91, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1427.71, -1033.90, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1424.27, -1033.88, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1421.81, -1033.95, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1419.75, -1033.93, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1417.90, -1033.94, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1415.18, -1033.93, 23.18, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1412.23, -1033.90, 23.15, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1405.79, -1034.43, 23.62, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1408.84, -1034.21, 23.26, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1403.51, -1034.64, 23.87, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1400.52, -1034.92, 24.09, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1397.07, -1035.21, 24.39, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1392.31, -1035.70, 24.72, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1387.94, -1035.91, 25.10, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1381.06, -1036.14, 25.62, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1383.41, -1036.15, 25.33, 0.00, 0.00, 0.00);
CreateDynamicObject(19125, 1378.30, -1036.31, 25.97, 0.00, 0.00, 0.00);
CreateDynamicObject(3578, 12064.59, 2085.02, 2031.76, 0.00, 0.00, 0.00);
CreateDynamicObject(3578, 1482.08, -1045.45, 21.95, 0.00, 0.00, 0.58);
CreateDynamicObject(3578, 1482.13, -1044.63, 21.95, 0.00, 0.00, 0.00);
CreateDynamicObject(3578, 1470.37, -1033.99, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1469.17, -1034.05, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1468.17, -1033.93, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1441.18, -1033.64, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1439.88, -1033.70, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1438.46, -1033.69, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1416.41, -1034.04, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1417.50, -1033.77, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1418.70, -1033.85, 21.95, 0.00, 0.00, 267.98);
CreateDynamicObject(3578, 1482.02, -1043.85, 21.95, 0.00, 0.00, 0.00);
CreateDynamicObject(3578, 1493.88, -1034.15, 21.95, 0.00, 0.00, 261.27);
CreateDynamicObject(3578, 1494.99, -1034.10, 21.95, 0.00, 0.00, 260.91);
CreateDynamicObject(3578, 1495.93, -1034.30, 21.95, 0.00, 0.00, 260.91);
CreateDynamicObject(700, 1471.94, -1033.92, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1464.07, -1033.82, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1453.50, -1033.88, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1464.07, -1033.82, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1447.69, -1033.96, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1437.11, -1033.90, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1430.41, -1033.92, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1420.64, -1034.00, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(700, 1411.32, -1034.09, 23.10, 356.86, 0.00, 3.14);
CreateDynamicObject(13722, 1413.41, -804.74, 83.44, 356.86, 0.00, 3.14);[/pawn]
-
Evita posturile care contin doar un cuvant de acum incolo.
Si ai facut macar ce ti-am spus eu?
EDIT:
Darky, nu-i nimic, nu eu l-am inventat.
L-am "mostenit" de la Zh3r0.
Mersi Rock pentru ajutor. Puteti da T/C
-
Ai pus Removebuildingfromplayer la [pawn]public OnPlayerConnect[/pawn] ?
Da
-
Salut, ce include imi trebuie pentru RemoveBuildingFromPlayer?
[pawn]D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10637) : warning 217: loose indentation
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10637) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10638) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10639) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10640) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10641) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10642) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10643) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10644) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10645) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10646) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10647) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10648) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10649) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10650) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10651) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10652) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10653) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10654) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10655) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10656) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10657) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10658) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10659) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10660) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10661) : error 017: undefined symbol "RemoveBuildingForPlayer"
D:\Stefan Server\Draven\gamemodes\Teddy23.pwn(10662) : error 017: undefined symbol "RemoveBuildingForPlayer"[/pawn]
-
vreau sa micsorez cat pun?| nu merge
-
Paycheck
-
Salut, cum pot face si eu un payday mai mic adica $ pe care ii iei de la 1-2k la 5-10$
[pawn]public PayDay()
{
new string[128];
new account,interest;
new rent = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[pLevel] > 0)
{
if(Var[MoneyMessage]==1)
{
SendClientMessage(i, COLOR_LIGHTRED, "You failed to pay your debt, Jail time.");
GameTextForPlayer(i, "~r~Busted!", 2000, 1);
SetPlayerInterior(i, 6);
SetPlayerPos(i, 264.6288,77.5742,1001.0391);
PlayerInfo[pJailed] = 1;
ResetPlayerWeapons(i);
Var[WantedLevel] = 0;
PlayerInfo[pJailTime] = 240;
format(string, sizeof(string), "You are jailed for %d seconds. Bail: Unable", PlayerInfo[pJailTime]);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
}
new playername2[MAX_PLAYER_NAME];
GetPlayerName(i, playername2, sizeof(playername2));
account = PlayerInfo[pAccount];
new key = PlayerInfo[pPhousekey];
if(key != 255)
{
rent = HouseInfo[key][hRent];
if(strcmp(playername2, HouseInfo[key][hOwner], true) == 0)
{
rent = 0;
}
else if(rent > GetPlayerMoney(i))
{
PlayerInfo[pPhousekey] = 255;
SendClientMessage(i, COLOR_WHITE, "You have been evicted.");
rent = 0;
}
HouseInfo[key][hMoney] = HouseInfo[key][hMoney]+rent;
}
new tmpintrate;
if (key != 255 && strcmp(playername2, HouseInfo[key][hOwner], true) == 0)
{
if(PlayerInfo[pDonateRank] > 0) { tmpintrate = intrate+4; }
else { tmpintrate = intrate+2; }//HouseInfo[key][hLevel]
}
else
{
if(PlayerInfo[pDonateRank] > 0) { tmpintrate = 3; }
else { tmpintrate = 1; }
}
Tax += TaxValue;//Should work for every player online
PlayerInfo[pAccount] -= TaxValue;
if(PlayerInfo[pDonateRank] > 0)
{
new bonus = PlayerInfo[pPayCheck] / 2;
PlayerInfo[pPayCheck] += bonus;
}
new checks = PlayerInfo[pPayCheck]/2;
new ebill = (PlayerInfo[pAccount]/200000)*(PlayerInfo[pLevel]);
Var[ConsumingMoney] = 1;
GivePlayerMoney(i, checks);
if(PlayerInfo[pAccount] > 0)
{
PlayerInfo[pAccount] -= ebill;
SBizzInfo[4][sbTill] += ebill;
}
else
{
ebill = 0;
}
interest = (PlayerInfo[pAccount]/10000)*(tmpintrate);
PlayerInfo[pExp]++;
PlayerPlayMusic(i);
PlayerInfo[pAccount] = account+interest;
SendClientMessage(i, COLOR_WHITE, "|___ {F200FF}BANK STATMENT {FFFFFF}___|");
format(string, sizeof(string), " {00FF00}Paycheck: {FFFFFF}$%d {00FF00}Tax Money: {FFFFFF}-$%d", checks, TaxValue);
SendClientMessage(i, COLOR_GRAD1, string);
if(PlayerInfo[pPhousekey] != 255 || PlayerInfo[pPbiskey] != 255)
{
format(string, sizeof(string), " {00FF00}Electricity Bill: {FFFFFF}-$%d", ebill);
SendClientMessage(i, COLOR_GRAD1, string);
}
format(string, sizeof(string), " {00FF00}Balance: {FFFFFF}$%d", account);
SendClientMessage(i, COLOR_GRAD1, string);
format(string, sizeof(string), " {00FF00}Interest Rate: {FFFFFF}0.%d percent",tmpintrate);
SendClientMessage(i, COLOR_GRAD2, string);
format(string, sizeof(string), " {00FF00}Interest Gained {FFFFFF}$%d", interest);
SendClientMessage(i, COLOR_GRAD3, string);
SendClientMessage(i, COLOR_GRAD4, "{F200FF}|--------------------------------------|");
format(string, sizeof(string), " {00FF00}New Balance: {FFFFFF}$%d", PlayerInfo[pAccount]);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), " {00FF00}Rent: {FFFFFF}-$%d", rent);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), "~r~PayDay~n~~w~Paycheck");
GameTextForPlayer(i, string, 5000, 1);
rent = 0;
RobBankOn = 0;
RobBankOn1 = 0;
PlayerInfo[pRobbed] = 0;
PlayerInfo[pPayDay] = 0;
PlayerInfo[pPayCheck] = 0;
PlayerInfo[pConnectTime] += 1;
if(PlayerInfo[pDonateRank] >= 1) PlayerInfo [pExp] += 1 ;
}
}
}
//Checkprop();
return 1;
}[/pawn]
-
Salut cum il pot baga direct in gamemode?
-
Multumesc mult topic closed :*
-
Salut, am incercat sa bag niste masini la o factiune si cand dau compile imi zice
(7476) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
if(newcar == TCC1 || newcar == TCC2 || newcar == TCC3 || newcar == TCC4 || newcar == TCC5 || newcar == TCC6 || newcar == TCC7 || newcar == TCC8 || newcar == TCC9 || (newcar == TCC10 || newcar == TCC11 || newcar == TCC12 || newcar == TCC13 || newcar == TCC14) 7476 { if(PlayerInfo[playerid][pMember] == 10||PlayerInfo[playerid][pLeader] == 10) { } else { new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); SendClientMessage(playerid,COLOR_GREY,"You are not a member Taxi Cab Company !"); RemovePlayerFromVehicle(playerid); } }
-
Salut am incercat sa bag niste masini la o factiune si cand dau compile im iarata :
{
if(PlayerInfo[playerid][pMember] == 10||PlayerInfo[playerid][pLeader] == 10) { }
-
Salut am si eu o problema:
Error in mysql_query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Eroare pawno
in Arhivă probleme
Posted
Multumesc bubu am rezolvato