Wysłany: 2008-04-08, 11:54
Mar_pl
Support-Team :P
Wiek: 34 Na forum: 6775 dni Posty: 33
Piwa : 1156
daro1994 , daj linijki od 9 - 20 moze cos poradze
Podpis
Cytaty:
"Sam nie wezmiesz mnie na glany, bo gangster z ciebie farbowany"
"Nie probuj mi podskakiwac bo ci sie niedam kiwac"
Prawie Jak Moderator
Wysłany: 2008-04-08, 23:08
daro1994
Wiek: 31 Na forum: 6745 dni Posty: 20
Nick w MP: BoLek
Piwa : 294
ok masz Kod: public OnPlayerCommandText(playerid, cmdtext[])
{ new string[256];
if (strcmp("/full", cmdtext, true, 10) == 0)
if(IsPlayerAdmin(playerid))
{
for(new i = 0; i < 1000.0; i++)
{
SetPlayerHealth(i,100);
SetPlayerArmour(i,100);
GivePlayerMoney(i,100000);
SetVehicleHealth(GetPlayerVehicleID(i),1000.0);
GivePlayerWeapon(i,29,500);
Wysłany: 2008-04-09, 18:44
Mar_pl
Support-Team :P
Wiek: 34 Na forum: 6775 dni Posty: 33
Piwa : 1156
Masz tu cala komende daj ja w OnPlayerCommandText
Kod: {if (strcmp("/full", cmdtext, true, 10) == 0)
if(IsPlayerAdmin(playerid))
{
for(new i = 0; i < 1000.0; i++)
{
SetPlayerHealth(i,100);
SetPlayerArmour(i,100);
GivePlayerMoney(i,50000);
SetVehicleHealth(GetPlayerVehicleID(i),1000.0);
GivePlayerWeapon(i,29,999);
GivePlayerWeapon(i,26,999);
GivePlayerWeapon(i,31,999);
}
return 1;
}
Podpis
Cytaty:
"Sam nie wezmiesz mnie na glany, bo gangster z ciebie farbowany"
"Nie probuj mi podskakiwac bo ci sie niedam kiwac"
Prawie Jak Moderator
Wysłany: 2008-04-09, 18:50
Shaun
Młodszy Programer
Wiek: 32 Na forum: 6894 dni Posty: 463
Nick w MP: Shaun
Piwa : 1786
{ if (strcmp("/full",....
^
^
^
usu? t? klamr?
Podpis
[you]
, pomogłem ci Wystarczy jak podziękujesz
Wysłany: 2008-04-11, 16:09
pulposlaw
Wiek: 39 Na forum: 6761 dni Posty: 5
Piwa : 14
Ot?? przy kompilacji mam Error :
Kod:
D:\True Crime RP\Gf dalej\gfbramaha3.pwn(8218) : error 017: undefined symbol "showplayerid"
D:\True Crime RP\Gf dalej\gfbramaha3.pwn(8233) : error 017: undefined symbol "showplayerid"
Wiem, ?e Undefinied symbol "Nie zdefiniowany symbol" Ale nie wiem co mam zdefiniowa? do "showplayerid" : Kod: #define showplayerid (Nie wiem co tu wstawi?)
a Oto Kod komendy z funkcj?(jak to tak mo?na nazwa?) "showplayerid"
Kod:
if (strcmp(cmdtext, "/ukryj", true)==0)
{
if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
ShowNameTags(playerid, 0);
ShowPlayerNameTagForPlayer(playerid, showplayerid, false);// true widoczny/false ukryty
SendClientMessage(playerid, COLOR_GRAD1, "Ukry?e? Sw?j Nick.");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Nie jeste? uprawniony do uzywania tej Komendy!");
}
return 1;
}
Licz? na szybk? pomoc
Wysłany: 2008-04-11, 16:22
Shaun
Młodszy Programer
Wiek: 32 Na forum: 6894 dni Posty: 463
Nick w MP: Shaun
Piwa : 1786
Podpis
[you]
, pomogłem ci Wystarczy jak podziękujesz
Wysłany: 2008-04-13, 09:09
SandFox
Świstak
Wiek: 31 Na forum: 6824 dni Posty: 22
Nick w MP: Curtis_Belin
Piwa : 77
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-04-13, 11:24
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6709 dni Posty: 199
Piwa : 2579
Elo
Ja mam taki problem ze jak dodaje strtoka do komendy to mi sie wy?wietla 26 error?w nr.079 (nie chodzi o klamre)
A dok?adnie to takie errory
Kod: C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(259) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(276) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(288) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(297) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(309) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(318) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(330) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(339) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(351) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(360) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(372) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(381) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(393) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(402) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(414) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(423) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(435) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(444) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(456) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(465) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(477) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(486) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(498) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(507) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(527) : error 079: inconsistent return types (array & non-array)
C:\DOCUME~1\x\Pulpit\GOTOWE~1\cos.pwn(539) : error 079: inconsistent return types (array & non-array)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Za pomoc
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-04-13, 11:27
TNT
Ban(playerid);
Wiek: 32 Na forum: 6693 dni Posty: 145
Piwa : 1141
Jesli masz 26 errors to niemasz gdzies klamry.Jezeli niechce ci sie przegladac kazdej linijki to masz po mapce
Podpis
SupportTeam przemo.org
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-04-13, 12:26
TermiT_
Wiek: 32 Na forum: 6636 dni Posty: 1
Piwa : 131
Pomocy!! Skopa?a mi sie mapka mam 26 b?ed?w, ale szuka?em i wsz?dzie klamry mam!!
Kod:
..\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1740) : error 004: function "SetPlayerToTeamColor" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1765) : error 004: function "SetPlayerToTeamColor" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1785) : error 004: function "SetPlayerCriminal" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1790) : error 004: function "SetPlayerCriminal" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1854) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1858) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1870) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1874) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1878) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1882) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1886) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1890) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1894) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1898) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1902) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1906) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1918) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1922) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1926) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1930) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1934) : error 004: function "PlayerToPoint" is not implemmented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1950) : error 004: function "PlayerToPoint" is not implemented
...\EDYCJA PAWNO MAPEK\NASZA MAPKA \nasza.mapa.pwn(1954) : error 004: function "PlayerToPoint" is not implemented
...\NASZA MAPKA \nasza.mapa.pwn(1966) : error 004: function "PlayerToPoint" is not implemented
...\NASZA MAPKA \nasza.mapa.pwn(1970) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
26 Errors.
Plz pom??cie, piwa polec? tylko ?eby dzia?a?o plz...
Więcej szczegółów
Wystawiono 2 piw(a):CrosRoad112 , fiXlly.
Wysłany: 2008-04-13, 12:32
Warrior
Lubie Pawno xD
Wiek: 29 Na forum: 6719 dni Posty: 11
Piwa : 226
Albo Includy (chocia? w?tpie ) lub co? z funkcj? PlayerToPoint chocia? nie wiem
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-04-13, 12:49
War3st
Wiek: 27 Na forum: 6826 dni Posty: 24
Nick w MP: War3st
Piwa : 55
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-04-13, 15:29
Diler
GtaO RLZ :)
Wiek: 30 Na forum: 6709 dni Posty: 199
Piwa : 2579
Co do mojego postu to co? sie dzieje ze strtokiem bo jak usuwam to jest wporzo
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-04-14, 22:31
zRAVz
Wiek: 34 Na forum: 6685 dni Posty: 15
Piwa : 37
Co mo?e oznacza? taki warning i jak go naprawi?? za pomoc
Kod: D:\SERVER~1\GAMEMO~1\MOJEMA~1\LSTDM.pwn(90) : warning 202: number of arguments does not match definition
oto linijka zwi?zana z tym warningiem
Kod:
Ostatnio zmieniony przez zRAVz 2008-04-15, 07:33, w całości zmieniany 1 raz
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Wysłany: 2008-04-14, 22:33
Robert007
Wiek: 35 Na forum: 6714 dni Posty: 223
Piwa : 11851
daj tak UsePlayerPedAnims();
puste w srodku
Kod: D:\SERVER~1\GAMEMO~1\MOJEMA~1\LSTDM.pwn(90) : warning 202: number of arguments does not match definition
jest czegos za duzo albo za malo
Więcej szczegółów
Wystawiono 1 piw(a):fiXlly.
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: