Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2010-02-01, 19:26


wojasek







Wiek: 31
Na forum: 6577 dni
Posty: 17

Piwa: 348

Respekt: 50

Ostrzeżeń: 40%
BrendY, sorry zapomnia?em. To jest TimerEx do bramy
Kod:

SetTimerEx("zamknijbrame",5000,0);

Jest u?yty w dw?ch komendach.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-01, 19:43


BrendY

Stalker.






Wiek: 33
Na forum: 6491 dni
Posty: 48

Piwa: 2482

Respekt: 35,8

Kod:

SetTimerEx("zamknijbrame", 5000, 1, "i", playerid);

zobacz :P

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-02, 17:27


makumaki1







Wiek: 37
Na forum: 6107 dni
Posty: 4
Nick w MP: Maku

Piwa: 1090

Respekt: 49,5

Warringi
Kod:

C:\Users\Reszta\Desktop\Mapka\LVDM.pwn(6345) : warning 202: number of arguments does not match definition
C:\Users\Reszta\Desktop\Mapka\LVDM.pwn(6360) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664

Linijki:
Kod:

if(strcmp(cmd, "/nick.off", true) == 0 && IsPlayerAdmin(playerid) == 1) {

for (new i=0; i<MAX_PLAYERS; i++)
{
ShowNameTags(playerid, 0);
ShowPlayerNameTagForPlayer(playerid, i, false);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ukry?e? Sw?j Nick.");
return 1;
}
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Nie mo?esz u?y? tej komendy!");
}
return 1;
}

if(strcmp(cmd, "/nick.on", true) == 0 && IsPlayerAdmin(playerid) == 1) {

for (new i=0; i<MAX_PLAYERS; i++)
{
ShowNameTags(playerid, 1);
ShowPlayerNameTagForPlayer(playerid, i, true);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Odkry?e? Sw?j Nick.");
return 1;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-02, 19:21


Michalec

Dokładnie.






Wiek: 30
Na forum: 6502 dni
Posty: 163
Nick w MP: []Damianos[]

Piwa: 99

Respekt: 86,6

Kod:

if(strcmp(cmdtext, "/nick.off", true) == 0) {
if(IsPlayerAdmin(playerid) == 1) {
for (new i=0; i<MAX_PLAYERS; i++)
{
ShowNameTags(playerid, 0);
ShowPlayerNameTagForPlayer(playerid, i, false);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ukry?e? Sw?j Nick.");
}else{
SendClientMessage(playerid, COLOR_LIGHTRED, "Nie mo?esz u?y? tej komendy!");
}
}
return 1;
}

if(strcmp(cmdtext, "/nick.on", true) == 0 && IsPlayerAdmin(playerid) == 1) {

for (new i=0; i<MAX_PLAYERS; i++)
{
ShowNameTags(playerid, 1);
ShowPlayerNameTagForPlayer(playerid, i, true);
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Odkry?e? Sw?j Nick.");
}
return 1;
}


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-02, 21:47


makumaki1







Wiek: 37
Na forum: 6107 dni
Posty: 4
Nick w MP: Maku

Piwa: 1090

Respekt: 49,5

Nie naprawi?e? tego warninga

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-03, 13:34


ziomek23

[YOU]






Wiek: 34
Na forum: 6126 dni
Posty: 43

Piwa: 410

Respekt: 50

Ostrzeżeń: 20%
mam problem poniewaz jak komplikuje to mi wyskakuje blad Windowsa i nei pozamieniam czym to jest spowodowane bo dano o tym czyta?em ;/ dam :piwo: jak zadzia?a

Podpis
zapraszam na mój serwer

ip:
91.204.162.80:6619
szukam adminów
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-03, 14:26


BrendY

Stalker.






Wiek: 33
Na forum: 6491 dni
Posty: 48

Piwa: 2482

Respekt: 35,8

ziomek23, Sprawd? return'y.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-03, 18:16


Blest







Wiek: 45
Na forum: 6114 dni
Posty: 4

Piwa: 808

Respekt: 50

Mam problem z komplikacja

Kod:

C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(394) : error 017: undefined symbol "zDynInt_OnPlayerConnect"
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(402) : error 017: undefined symbol "zDynInt_OnPlayerConnect"
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(1097) : warning 219: local variable "Ang" shadows a variable at a preceding level
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(1118) : warning 219: local variable "Ang" shadows a variable at a preceding level
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(5788) : warning 202: number of arguments does not match definition
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(5789) : warning 202: number of arguments does not match definition
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(7472) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(7473) : error 017: undefined symbol "zDynInt_OnDialogResponse"
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(8256) : warning 203: symbol is never used: "Ang"
C:\Users\Kamil\Desktop\Nowy folder\lv2m.pwn(429) : warning 204: symbol is assigned a value that is never used: "walcza"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.


Prosz? o pomoc stawiam PIWKA

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-03, 18:20


BrendY

Stalker.






Wiek: 33
Na forum: 6491 dni
Posty: 48

Piwa: 2482

Respekt: 35,8

Blest, poka? linijki.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-03, 18:37


Blest







Wiek: 45
Na forum: 6114 dni
Posty: 4

Piwa: 808

Respekt: 50

BrendY, ?ap
Kod:

#include <a_samp>
#include <core>
#include <float>
#include <dini>
#include <dudb>
#include <new>
#include <MidoStream>
#include <zDynInt>


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-03, 18:46


BrendY

Stalker.






Wiek: 33
Na forum: 6491 dni
Posty: 48

Piwa: 2482

Respekt: 35,8

Blest, czy to na pewno s? te linijki kt?re poda?e??

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-03, 18:59


Blest







Wiek: 45
Na forum: 6114 dni
Posty: 4

Piwa: 808

Respekt: 50

Kod:

//==============================================================================
public OnPlayerConnect(playerid)
{
zDynInt_OnPlayerConnect(playerid);
new playername[MAX_PLAYER_NAME];
new string[256];
new tmp[256];
new idx;
new tmp2[256];
new logplr = strval(tmp2);

zDynInt_OnPlayerConnect(playerid);


new Float: X, Float: Y, Float: Z, Float: Ang;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, Ang);
PutPlayerInVehicle(playerid, NRG[playerid], 0);
SetVehiclePos(NRG[playerid], X, Y, Z);
SetVehicleZAngle(NRG[playerid], Ang);
SetVehicleHealth(NRG[playerid], 1000.0);
LinkVehicleToInterior(NRG[playerid], GetPlayerInterior(playerid));
SendClientMessage(playerid,COLOR_ORANGE, "Osobiste NRG zrobione!");
}
else
{
SendClientMessage(playerid,COLOR_RED, "Juz masz 1 NRG!");
}
}
else
{
if(IsPlayerInAnyVehicle(playerid))
{
RemovePlayerFromVehicle(playerid);
}
new Float: X, Float: Y, Float: Z, Float: Ang;


CreateObject(982, 1484.2109375, 1761.5966796875, 10.496054649353, 0, 0, 90.324096679688,200);
CreateObject(982, 1470.1826171875, 1761.6728515625, 10.503863334656, 0, 0, 89.329833984375,200);


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){
zDynInt_OnDialogResponse(playerid, dialogid, response, listitem);
return 1;

walcza = 0;
pozwacept[playerid] = 0;
SetPlayerColor(playerid,playerColors[playerid]);
playermuted[playerid]=0;
//SetWorldTime(7);
tele[playerid] = 0;
Mutedpm[playerid] = 0;
Arena[playerid] = 0;


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-04, 23:48


breakout7







Wiek: 34
Na forum: 6071 dni
Posty: 1



Respekt: 50

Ostrzeżeń: 100%
Kod:

C:\Documents and Settings\W?a?ciciel\Moje dokumenty\GTA San Andreas User Files\server\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2427) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2456) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2895) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2915) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2935) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2955) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2975) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(2995) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3015) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3035) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3422) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3426) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3438) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3442) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3446) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3450) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3454) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3458) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3462) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3474) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3478) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3482) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3486) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3490) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\WACICI~1\MOJEDO~1\GTASAN~1\server\Mapa\GAMEMO~1\v-rp.pwn(3494) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Mam najnowsze pawno i full include ale nic to nie daje prosz? o szybk? pomoc!

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-05, 08:09


Zurrek







Wiek: 30
Na forum: 6544 dni
Posty: 312
Nick w MP: Zurrek

Piwa: 1890

Respekt: 50

breakout7, masz za du?o lub nie masz jakiej? klamry. Policz czy si? zgadzaj? wszystkie.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-02-05, 08:40


Songoku







Wiek: 31
Na forum: 6298 dni
Posty: 7



Respekt: 50

makumaki1, masz tu dzia?aj?cy skrypt!

Pawn
if(strcmp(cmdtext"/nick.off"true) == 0) {
if(IsPlayerAdmin(playerid) == 1) {
for (new i=0i<MAX_PLAYERSi++)
{
ShowNameTags(0);
ShowPlayerNameTagForPlayer(playeridifalse);
GameTextForPlayer(playerid"~r~Ukryles swoj nick!"50005);
}
}
return 1;
}

if(strcmp(cmdtext"/nick.on"true) == && IsPlayerAdmin(playerid) == 1) {

for (new i=0i<MAX_PLAYERSi++)
{
ShowNameTags(1);
ShowPlayerNameTagForPlayer(playeriditrue);
GameTextForPlayer(playerid"~r~Odkryles swoj nick!"50005);
}
return 1;
}


Zmieni?em 2 rzeczy:
1. W linijkach "ShowNameTags" trzeba by?o usun?? z nawiasu "playerid"!
2. Po w??czeniu twojego skryptu, ca?y chat wype?nia? mi si? informacj? od jednej z twoich komend, a wi?c zmieni?em to ?e po w??czeniu/wy??czeniu nicku pojawi Ci si? ta informacja na ?rodku ekranu (a potem zniknie).

Chyba nale?y mi si? :piwo: !!

Postaw piwo autorowi tego posta
 

 
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » BŁĘDY PRZY KOMPILACJI - ROZWIĄZANIE Odpowiedz do tematu

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku