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

Wysłany: 2008-10-14, 19:10


Pr0f3ssi0n4LisT







Wiek: 26
Na forum: 6941 dni
Posty: 120

Piwa: 3653

Respekt: 117,8
Respekt: 117,8

Cytat:

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


Daj tak :P
Kod:

public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0x95A96EB2,"Na serwerze jest zainstalowany skrypt bla bla sialalala xD !");
Player[playerid][lastpos][0]=Player[playerid][lastpos][1]=Player[playerid][lastpos][2]=Player[playerid][objliston]=moze[playerid]=zonk[playerid]=0;
return 1;
}


"DjCzaszqa" napisał/a:

A napisane :
Cytat:
new costeam;

new costam[200];
new costam[256];
new costam[MAX_PLAYERS];
new costam[MAX_PLAYER_NAME];
new costam[MAX_VEHICLES];


Nie mozesz miec kazdego
Kod:

new costam[....];


zmien kazdy na inna nazwe, nie moga sie 2 takie same nazwy pojawic w mapie

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-14, 19:20


DjCzaszqa







Wiek: 35
Na forum: 6786 dni
Posty: 3

Piwa: 2

Respekt: 50

A m?g?by? da? mi jak?? definicj? do 'costam' ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-16, 23:42


Law







Wiek: 31
Na forum: 6580 dni
Posty: 39

Piwa: 1318

Respekt: 50

Pozmieniaj sobie to wszystko ;)
Je?li chodzi o post u g?ry, to nie wiem ocb... :/
Musisz zmieni? nazwy, bo teraz si? gryzie :x


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 15:07


MicH97PL

Rzadko tu bywam...






Wiek: 28
Na forum: 6728 dni
Posty: 34
Nick w MP: szabat123 w LIVE

Piwa: 1256

Respekt: 50

ja mam problem nie bede przegladal wszystkim kart tematu wiec zadam pytanie;)
jak rozwiazac problem taki ,ze np: linijek w skryptcie/ma[pie jest 560 a jest error linijki 561 jak to rozwiazac?

Podpis
Twój nr:


Ostatnio zmieniony przez
2009-08-04, 00:12, w całości zmieniany 1 raz
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 15:43


zengatsu







Wiek: 32
Na forum: 6736 dni
Posty: 9

Piwa: 56

Respekt: 50

kto mi pomoze rozwiazac te errorki :P

Kod:

C:\Documents and Settings\User\Pulpit\moja2.pwn(1748) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(1748) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2480) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2480) : error 033: array must be indexed (variable "nicks")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2486) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2486) : error 033: array must be indexed (variable "newpasswd")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2557) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2568) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2568) : error 033: array must be indexed (variable "idstr")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2593) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2593) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2629) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2638) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2654) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2654) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2720) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2720) : error 033: array must be indexed (variable "idstr")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2775) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2781) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2812) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2812) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2815) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2815) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2844) : error 017: undefined symbol "strtok"
C:\Documents and Settings\User\Pulpit\moja2.pwn(2844) : error 033: array must be indexed (variable "idstr")
C:\Documents and Settings\User\Pulpit\moja2.pwn(2917) : error 017: undefined symbol "strtok"


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


26 Errors.

jak zrobie #include <strtok> to beda 4 errorki ale juz nie z mapy tylko z includa prosze o pomoc :)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 16:21


BraYaN_







Wiek: 34
Na forum: 6698 dni
Posty: 276
Nick w MP: BraYaN_

Piwa: 1614

Respekt: 63

zengatsu, Jak dasz #include <strtok> to poka? te errorki ;) a mo?liwe te? ?e 26 error niemasz wszystkich klamr ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 16:44


zengatsu







Wiek: 32
Na forum: 6736 dni
Posty: 9

Piwa: 56

Respekt: 50

Kod:

C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : error 017: undefined symbol "strlen"
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : warning 215: expression has no effect
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : fatal error 107: too many error messages on one line


ale wlasnie mysle ze to wina klamr tylko ja nie moge znales moze podeslac ci mapke na pm?

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 16:47


BraYaN_







Wiek: 34
Na forum: 6698 dni
Posty: 276
Nick w MP: BraYaN_

Piwa: 1614

Respekt: 63

zengatsu, Poka? linijke 13

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 16:50


zengatsu







Wiek: 32
Na forum: 6736 dni
Posty: 9

Piwa: 56

Respekt: 50

Kod:

#define STAT_EXT ".stat"


podes?a?em ci mapk? na pm mo?e sam looknij :)

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 17:01


BraYaN_







Wiek: 34
Na forum: 6698 dni
Posty: 276
Nick w MP: BraYaN_

Piwa: 1614

Respekt: 63

zengatsu,
Kod:

#define STAT_EXT


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 17:07


zengatsu







Wiek: 32
Na forum: 6736 dni
Posty: 9

Piwa: 56

Respekt: 50

nadal nie dzia?a my?l? ze to wina brakuj?cej klamry

Kod:

C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : error 017: undefined symbol "strlen"
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : warning 215: expression has no effect
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Pulpit\Server Zapasowy\pawno\include\strtok.inc(13) : fatal error 107: too many error messages on one line


czyli w wierszu 1748-2917 chyba

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 17:09


BraYaN_







Wiek: 34
Na forum: 6698 dni
Posty: 276
Nick w MP: BraYaN_

Piwa: 1614

Respekt: 63

zengatsu, Hmm cos mi sie nie wydaje ?e to linijka 13 sprawd? dok?adnie ;) a wina brakuj?cej klamry by by?o 26 error?w ...

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 17:11


zengatsu







Wiek: 32
Na forum: 6736 dni
Posty: 9

Piwa: 56

Respekt: 50

czyli gdzie mam szukac podeslalem ci ta mapke na pm moze tez sprawdzisz jesli mozesz

//edit

przed #include <strtok> bylo 26 errorow

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 17:24


BraYaN_







Wiek: 34
Na forum: 6698 dni
Posty: 276
Nick w MP: BraYaN_

Piwa: 1614

Respekt: 63

zengatsu, Mi si? wszystko ?adnie komplikuje mo?e nie masz incluid?w wszystkich ... pobierz je

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-10-18, 17:26


zengatsu







Wiek: 32
Na forum: 6736 dni
Posty: 9

Piwa: 56

Respekt: 50

to mam do ciebie wielka prosbe podaj mi juz ta mape zkomplikowana bo juz chyba 6 paczek sciaglem tych includow i nic

Podpis
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