Wysłany: 2008-09-17, 13:39
Lukasz007
Wiek: 32 Na forum: 6964 dni Posty: 557
Piwa : 1482
Mam te z 1 postu, m?g?by? mi wrzuci? ca?y tw?j folder pawno? xd
Wysłany: 2008-09-17, 17:17
The Psychol
Psychol
Wiek: 35 Na forum: 6870 dni Posty: 2822
Nick w MP: The_Psychol
Piwa : 4390
Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
LUKASZ007 , u?yj tych co ja poda?em... tam kt?ry? post od g?ry na ostatniej stronie
Podpis
And that's the bottom line 'cause The Psychol said so!
Wysłany: 2008-09-29, 19:52
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
Kod: C:\DOCUME~1\Kuba\Pulpit\admin.pwn(717) : warning 209: function "OnPlayerPickUpPickup" should return a value
Co to znaczy?
Mam takie co?:
Kod: public OnPlayerPickUpPickup(playerid, pickupid){
if(pickupid == 0){
SetPlayerPos(playerid,558.0461,374.1371,313.5091);
GameTextForPlayer(playerid," ~g~Witamy ~w~przy Wielkich zjazdach!",1,1);
SendClientMessage(playerid, COLOR_Limona, "* Witamy przy Wielkich zjazdach!");
return 1;}}
I wyskakuje mi ten b??d, czemu? :\
Wysłany: 2008-09-29, 19:53
The Psychol
Psychol
Wiek: 35 Na forum: 6870 dni Posty: 2822
Nick w MP: The_Psychol
Piwa : 4390
Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
po return 1;} daj jeszcze jeden return
Podpis
And that's the bottom line 'cause The Psychol said so!
Wysłany: 2008-09-29, 20:03
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
"Psychol" napisał/a :po return 1;} daj jeszcze jeden return
To wtedy mam to:
Kod: C:\DOCUME~1\Kuba\Pulpit\admin.pwn(207) : error 010: invalid function or declaration
xD
// heh, 1 klamr? za du?o da?em xD masz piwo
Ostatnio zmieniony przez Jimmy J 2008-09-29, 21:03, w całości zmieniany 1 raz
Wysłany: 2008-09-29, 20:56
The Psychol
Psychol
Wiek: 35 Na forum: 6870 dni Posty: 2822
Nick w MP: The_Psychol
Piwa : 4390
Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
Kod: public OnPlayerPickUpPickup(playerid, pickupid){//1
if(pickupid == 0){//2
SetPlayerPos(playerid,558.0461,374.1371,313.5091);
GameTextForPlayer(playerid," ~g~Witamy ~w~przy Wielkich zjazdach!",1,1);
SendClientMessage(playerid, COLOR_Limona, "* Witamy przy Wielkich zjazdach!");
return 1;}//2
return 1;}//1
?
Podpis
And that's the bottom line 'cause The Psychol said so!
Wysłany: 2008-10-01, 18:35
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
A to?
Kod: C:\DOCUME~1\Kuba\Pulpit\admin.pwn(369) : warning 225: unreachable code
Linijka 369:
Kod: if(!strcmp(cmd, "/whisky", true) && IsPlayerAdmin(playerid) && moze[playerid] == 1){
Wysłany: 2008-10-04, 21:12
Mayke512
Wiek: 32 Na forum: 6698 dni Posty: 48
Piwa : 3022
Kod: warning 204: symbol is assigned a value that is never used: "megadragbrama2"
1 Warring
Wiecie co to?
Wysłany: 2008-10-04, 21:32
The Psychol
Psychol
Wiek: 35 Na forum: 6870 dni Posty: 2822
Nick w MP: The_Psychol
Piwa : 4390
Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
usu? to "megadragbrama2"
Podpis
And that's the bottom line 'cause The Psychol said so!
Wysłany: 2008-10-07, 21:01
doominik13
Wiek: 32 Na forum: 6825 dni Posty: 1
Nick w MP: Walter_Gage
witam zrobilem system aut ale mam jeden problem. Otorz gdy wpisze komnde /parkuj i zrobie restart to samochod nie jest tam gdzie go zaparkowalem prosze o poprawienei komendy i odeslanie na PM za pomoc
z gory dzieki
Kod: if(strcmp(cmd, "/parkuj", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new Float:x,Float:y,Float:z;
new Float:a;
new carid;
new getcarid;
carid = PlayerInfo[playerid][pPcarkey];
getcarid = GetPlayerVehicleID(playerid);
GetPlayerName(playerid, playername, sizeof(playername));
GetVehiclePos(carid, x, y, z);
GetVehicleZAngle(carid, a);
if(IsPlayerInVehicle(playerid,carid) && CarInfo[carid][cOwned] == 1 && strcmp(playername, CarInfo[PlayerInfo[playerid][pPcarkey]][cOwner], true) == 0)
{
if(PlayerInfo[playerid][pPcarkey] == 999)
{
SendClientMessage(playerid, COLOR_GREY, "Nie posiadasz samochodu.");
return 1;
}
if(getcarid == carid)
{
CarInfo[carid][cLocX] = x;
CarInfo[carid][cLocY] = y;
CarInfo[carid][cLocZ] = z;
CarInfo[carid][cAngle] = a;
format(string, sizeof(string), "~n~ Zaparkowales swoj samochod ~n~");
GameTextForPlayer(playerid, string, 10000, 3);
SetVehiclePos(carid,x,y,z);
SetVehicleZAngle(carid,a);
SaveCarCoords();
OnPlayerUpdate(playerid);
return 1;
}
}
}
Wysłany: 2008-10-11, 18:51
osa09
Wiek: 36 Na forum: 6542 dni Posty: 1
Kod: C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1593) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1598) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1605) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1624) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1637) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1637) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1639) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1641) : error 004: function "IsACopCar" is not implemented
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1643) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1644) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1647) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1647) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1647) : error 001: expected token: ")", but found ";"
C:\Documents and Settings\Moja\Pulpit\lv1.pwn(1647) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
14 Errors.
wyskakuja mi takie errory. ponizej linijki, prosze o pomoc
Kod: SetPlayerToTeamColor(i, 0);
MedicBill[i] = 0;
}
{
if(PlayerInfo[i][pDonateRank] > 0)
}
{
SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][Coords][0], Unspec[i][Coords][1], Unspec[i][Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(i);
SetCameraBehindPlayer(i);
}
{
else
}
{
SpawnPlayer(i);
Spectate[i] = 255;
}
}
if(Spectate[i] == 254)
{
TogglePlayerControllable(i, 1);
SetPlayerInterior(i,Unspec[i][sPint]);
PlayerInfo[i][pInt] = Unspec[i][sPint];
PlayerInfo[i][pLocal] = Unspec[i][sLocal];
SetPlayerPos(i, Unspec[i][sPx], Unspec[i][sPy], Unspec[i][sPz]);
Spectate[i] = 255;
}
if(Spectate[i] == 256)
{
}
SetPlayerToTeamColor(i, 1);
Spectate[i] = 255;
{
}
if(Spectate[i] == 257)
{
Spectate[i] = 254;
}
}
}
//------------------------------------------------------------------------------------------------------
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(gTeam[playerid] >= 3)
{
if (IsACopCar(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3)
}
Ostatnio zmieniony przez The Psychol 2008-10-13, 00:18, w całości zmieniany 1 raz
Wysłany: 2008-10-14, 13:45
Jimmy J
suy shatan!
Wiek: 32 Na forum: 6699 dni Posty: 265
Piwa : 3264
Witam!
Mam problem, mam to pod OnPlayerConnect:
Kod: public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0x95A96EB2,"Na serwerze jest zainstalowany skrypt bla bla sialalala xD!");
Player[playerid][objliston] = 0;
Player[playerid][lastpos][0] = 0.0;
Player[playerid][lastpos][1] = 0.0;
Player[playerid][lastpos][2] = 0.0;
moze[playerid]=0;
zonk[playerid] = 0;
return 1;
}
I mi si? nie pokazuje wiadomo??
Pomoc b?dzie nagradzana :-o
Wysłany: 2008-10-14, 19:01
DjCzaszqa
Wiek: 35 Na forum: 6786 dni Posty: 3
Piwa : 2
Tomko help
Cytat: C:\Users\FiFi\Desktop\mapka.pwn(10) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(11) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(12) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(13) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(23) : warning 203: symbol is never used: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(23) : warning 203: symbol is never used: "costeam"
C:\Users\FiFi\Desktop\mapka.pwn(23) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
A napisane :
Cytat: new costam;
new costam[200];
new costam[256];
new costam[MAX_PLAYERS];
new costam[MAX_PLAYER_NAME];
new costam[MAX_VEHICLES];
Wysłany: 2008-10-14, 19:03
BraYaN_
Wiek: 34 Na forum: 6698 dni Posty: 276
Nick w MP: BraYaN_
Piwa : 1614
DjCzaszqa , Co to "co? tam " trzeba da? jak?? definicje np PlayerName lub co?
Wysłany: 2008-10-14, 19:05
CodeR
Programista
Wiek: 31 Na forum: 6691 dni Posty: 70
Piwa : 1461
"DjCzaszqa" napisał/a :Tomko help
Cytat: C:\Users\FiFi\Desktop\mapka.pwn(10) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(11) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(12) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(13) : error 021: symbol already defined: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(23) : warning 203: symbol is never used: "costam"
C:\Users\FiFi\Desktop\mapka.pwn(23) : warning 203: symbol is never used: "costeam"
C:\Users\FiFi\Desktop\mapka.pwn(23) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
A napisane :
Cytat: new costam;
new costam[200];
new costam[256];
new costam[MAX_PLAYERS];
new costam[MAX_PLAYER_NAME];
new costam[MAX_VEHICLES];
Nie mo?esz tak mie?. Pierwsza cz??? b??d?w czyli:
symbol already defined oznacza, ?e symbol zosta? ju? zdefiniowany. Zr?b tak np:
Kod: new costam[200];
new costam2[256];
new costam3[MAX_PLAYERS];
new costam4[MAX_PLAYER_NAME];
new costam5[MAX_VEHICLES];
i odpowiednio daj w kodach.. A ten b??d:
symbol is never used oznacza, ?e symbol nie zosta? nigdzie u?yty.. Mo?esz je skasowa?.
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: