Wysłany: 2008-06-06, 21:27
m4ni4k
Wiek: 33 Na forum: 6656 dni Posty: 5
Piwa : 2
A jak naprawi? ten error? =.=
(...)sftdm.pwn(274) : error 017: undefined symbol "SetPlayerClass"
Wysłany: 2008-06-06, 21:28
Robert007
Wiek: 35 Na forum: 6722 dni Posty: 223
Piwa : 11851
moze pokarz ta linijke...
Wysłany: 2008-06-06, 21:29
m4ni4k
Wiek: 33 Na forum: 6656 dni Posty: 5
Piwa : 2
linijka: SetPlayerClass(playerid, classid);
Wysłany: 2008-06-06, 21:31
Robert007
Wiek: 35 Na forum: 6722 dni Posty: 223
Piwa : 11851
nie wiem czy to jest to ale daj na dole mapy
Kod: SetPlayerClass(playerid,id){
SetPlayerSkin(playerid,id);
return true;
}
Wysłany: 2008-06-06, 21:33
m4ni4k
Wiek: 33 Na forum: 6656 dni Posty: 5
Piwa : 2
ooo dzia?a wielkie dzi?ki i dla ciebie
//edit
0_o teraz nie mog? wybra? ani zmieni? teamu
Wysłany: 2008-06-07, 13:07
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6718 dni Posty: 199
Piwa : 2579
Spr?buj co? takiego
Przyk?ad:
Kod: public OnPlayerRequestClass(playerid, classid)
{
SetPlayerClass(playerid, classid);
SetupPlayerForClassSelection(playerid);
gPlayerClass[playerid] = classid;
switch (classid) {
case 0: {
SetPlayerFacingAngle(playerid, 180.0);
SetPlayerPos(playerid,2489.2221,-1656.2525,13.3606);
SetPlayerCameraPos(playerid,2489.3806,-1661.4866,13.3359);
SetPlayerCameraLookAt(playerid,2489.2221,-1656.2525,13.3606);
GameTextForPlayer(playerid, "~g~Grove", 1000, 3);
}
i dalej tak samo tylko zamiast case 0 dajesz case 1 itd.
Wysłany: 2008-06-07, 20:45
Jam
Wiek: 31 Na forum: 6747 dni Posty: 38
Piwa : 936
Kod: C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6382) : error 021: symbol already defined: "Drift"
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6393) : error 021: symbol already defined: "GetPlayerPos"
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6398) : error 010: invalid function or declaration
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6400) : error 010: invalid function or declaration
C:\DOCUME~1\Jam_xD\Desktop\PPSSSS.pwn(6405) : error 010: invalid function or declaration
Linijka 6382:
Kod:
6393
Kod: GetPlayerPos(g, X, Y, Z);
6398
Kod: if(GetPlayerState(g) == PLAYER_STATE_DRIVER && IsCar(GetPlayerVehicleID(g)) && floatabs(floatsub(Angle1, Angle2)) > DRIFT_MINKAT && floatabs(floatsub(Angle1, Angle2)) < DRIFT_MAXKAT && BySpeed > DRIFT_SPEED){
6400
Kod: if(PlayerDriftCancellation[g] > 0)KillTimer(PlayerDriftCancellation[g]);
6405
Kod: if(DriftPointsNow[g] > 0){
i tak naprawi?em 14 eror?w ale ju? tego nie rozumiem
Wysłany: 2008-06-08, 07:48
Kamil134
Po Przerwie
Wiek: 36 Na forum: 6776 dni Posty: 15
Piwa : 1590
Witam mam problem jak to naprawo?
B?ad:
Kod: C:\DOCUME~1\KAMI~1\Pulpit\MOJGF~1\gf.pwn(4128) : error 036: empty statement
Linijka:
Kod: if(GetVehicleModel(vehicleid) != 86)
Wysłany: 2008-06-08, 09:05
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6718 dni Posty: 199
Piwa : 2579
Jak by przetlumaczyc error oznacza on: puste wyra?enie
daj tak:
na gorze: new car nast?pnie pod new car wklej to
car = GetVehicleModel(vehicleid);
a t? linijke daj tak: if (car != 86)
Powinno dzia?a?
Wysłany: 2008-06-09, 14:12
Patrinho
Wiek: 35 Na forum: 6796 dni Posty: 9
Piwa : 1
mam kilka takich error?w
Kod: C:\DOCUME~1\PAT~1\Pulpit\SF_LV~1.PWN(9715) : error 006: must be assigned to an array
i wka?dym error odpowiada temu Kod: giveplayerid = ReturnUser(tmp);
O co chodzi ? Za pomoc piwko
Wysłany: 2008-06-09, 15:58
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6718 dni Posty: 199
Piwa : 2579
Zamiast tego daj tylko new giveplayerid; jesli gdzies uzywasz tej funkcji a tamto usu?
Wysłany: 2008-06-10, 18:34
D4rkDrifter
Wiek: 33 Na forum: 6599 dni Posty: 8
Piwa : 108
Witam mam problem
Kod: C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(317) : error 003: declaration of a local variable must appear in a compound block
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(320) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(322) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(326) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(330) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(332) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(334) : error 021: symbol already defined: "string"
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(335) : error 021: symbol already defined: "name"
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(340) : error 010: invalid function or declaration
C:\Documents and Settings\Patryk\Pulpit\Street_D map by D4rk.pwn(342) : error 010: invalid function or declaration
Mo?e kto? mi pomo?e daje a nawet 2 bo nie wiem ju? co robi?. Je?eli potrzebna jaka? linijka to piszcie.
Wysłany: 2008-06-11, 09:19
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6718 dni Posty: 199
Piwa : 2579
Trzeba pokaza? linijki najlepiej od 315 do 342
Ale tak na oko to pousuwaj return 1; daj na gorze new name[24];
, new string[256];
Wysłany: 2008-06-11, 13:37
D4rkDrifter
Wiek: 33 Na forum: 6599 dni Posty: 8
Piwa : 108
Dobrze to ju? leci pofko a mam jeszcze pytanie co do rejestracji samochod?w bo wyskakuje mi error
Kod: StreetD.pwn(563) : error 017: undefined symbol "idx"
A to linijka 563
Kod: tmp = strtok(cmdtext, idx);
Help
Wysłany: 2008-06-11, 13:38
MurzYn_
Je**ć RP...
Wiek: 32 Na forum: 6634 dni Posty: 129
Piwa : 681
D4rkDrifter , na g?rze mapki Kod:
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: