Jump to content
Om3n

návod [0.3] PM system + RCON PM Reader

Recommended Posts

zmacknes TAB a 2x kliknes na hrace kterymu chces poslat PM ...otevre se dialog s oknem pro INPUT (napsani textu)...tak napises text a das "Odeslat"

Share this post


Link to post
Share on other sites
Guest bullrot

PISE errori

 

C:\Documents and Settings\Admin\Desktop\pawno\freeroamoriginal\freeroam.pwn(16) : error 017: undefined symbol "MAX_PLAYERS"
C:\Documents and Settings\Admin\Desktop\pawno\freeroamoriginal\freeroam.pwn(16) : error 009: invalid array size (negative, zero or out of bounds)

16 riadok : new PlayerPMTarget[MAX_PLAYERS];

Share this post


Link to post
Share on other sites

pls mohl by jste mi nekdo poslal link na pawno 0.3....ja ho nemuzu nikde najit...pls...diiiky

:thumbup: :thumbup:

Share this post


Link to post
Share on other sites
PISE errori

 

C:\Documents and Settings\Admin\Desktop\pawno\freeroamoriginal\freeroam.pwn(16) : error 017: undefined symbol "MAX_PLAYERS"
C:\Documents and Settings\Admin\Desktop\pawno\freeroamoriginal\freeroam.pwn(16) : error 009: invalid array size (negative, zero or out of bounds)

16 riadok : new PlayerPMTarget[MAX_PLAYERS];

 

ukaz mi co mas nahore v modu...vsechno kolem #include

urcite tam mas jeste furt definici #if defined FILTERSCRIPT

Share this post


Link to post
Share on other sites
pls mohl by jste mi nekdo poslal link na pawno 0.3....ja ho nemuzu nikde najit...pls...diiiky

:thumbup: :thumbup:

http://sa-mp.com/

 

 

jjj clienta 0.3 mam ale pawno 0.3...pise mi to stejne errory co uz tu byly...:-)

 

 

aha tak uz ne...uz jsem ho nasel...ale pise mi to toto...

 


C:\Documents and Settings\Lukyn\Plocha\tm.pwn(1735) : warning 203: symbol is never used: "strtok"

Share this post


Link to post
Share on other sites
to uz nesouvisi s timhle TuTem,...proste mas nadefinovanou funkci "strtok" a nikde si ji nepouzil...

ale jak kdyz poslu PM zpravu nenapise se hracovo jmeno ale naky jiny taxt....nap:

lm

n

lohjs

a takovehle kraviny... :-)

Share this post


Link to post
Share on other sites
Guest tippl

hele ale co k tomu udelat reader jinak se na tom budou domlouvat cheateri atd. a co s tim pak admin udela kdyz o tom nebude vedet "confused"

Share this post


Link to post
Share on other sites

bylo tam hodně errorů, všechny jsem zvládnul opravit, až na tyhle dva:

C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(3569) : error 017: undefined symbol "string"
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(3571) : error 017: undefined symbol "string"

 

3569:

SendClientMessage(a,COLOR_GRAY,string);

3571:

SendClientMessage(a,COLOR_GRAY,string);

Share this post


Link to post
Share on other sites

kua, bude to fungovat, i když to přejmenuju? :d

C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(108) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(119) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(131) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(154) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(165) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(174) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(181) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(191) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(200) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(213) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(221) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(226) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(241) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(271) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(279) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(318) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\samp03asvr_R4_win32\pawno\include\CZproperty.inc(387) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(327) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(339) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(393) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(1271) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(1506) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(1534) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(1558) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(1577) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(3317) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(3330) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(3739) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(3842) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Lukáš\Plocha\Business-City.pwn(3875) : warning 219: local variable "string" shadows a variable at a preceding level

Share this post


Link to post
Share on other sites
Guest D3luX

Preklad :

lokálna premenná "string" tiene premenné na úrovni predchádzajúceho

 

viem ze toto robilo aj mne :d:..Tak som si to radsej vymazal ale s tymto nwm co spravit nech ti odpisu lepsi pawnery. :v::v:

Share this post


Link to post
Share on other sites
Guest martanius105

Caw , dobrej , ale mám 5 erroru :

 

C:\Hry\GTA SA\PAWNO DEVELOPER\fl.pwn(1428) : error 001: expected token: "-string end-", but found "-identifier-"

C:\Hry\GTA SA\PAWNO DEVELOPER\fl.pwn(1430) : error 001: expected token: "-string end-", but found "-identifier-"

C:\Hry\GTA SA\PAWNO DEVELOPER\fl.pwn(1430) : warning 215: expression has no effect

C:\Hry\GTA SA\PAWNO DEVELOPER\fl.pwn(1430) : error 001: expected token: ";", but found ")"

C:\Hry\GTA SA\PAWNO DEVELOPER\fl.pwn(1430) : error 029: invalid expression, assumed zero

C:\Hry\GTA SA\PAWNO DEVELOPER\fl.pwn(1430) : fatal error 107: too many error messages on one line

 

řádky :

if (!IsPlayerConnected(PlayerPMTarget[playerid])) return SendClientMessage(playerid, 0xE10000AA, "Hrac neni pripojen.");

new msg[128];
new msg2[128];
format(msg, 128, "[PM] Od %s : %s", Jmeno(playerid), inputtext);
SendClientMessage(PlayerPMTarget[playerid], 0xFFFF00AA, msg);
format(msg2, 128, "[PM] Odeslana hraci %s : %s", Jmeno(PlayerPMTarget[playerid]), inputtext);
SendClientMessage(playerid, 0xFFFF00AA, msg2);
for(new a=0;a{
if(IsPlayerAdmin(a))
{
new post[256];
>> řádek 1428 format(post,sizeof(post),"[PM READER] %s >>> %s"Jmeno(playerid),Jmeno(PlayerPMTarget[playerid]);
SendClientMessage(a,0x0000FFAA,string);
>> řádek 1430 format(post,sizeof(post),"> %s <"inputtext);
SendClientMessage(a,0xDF0101AA,string);
}
}
PlayerPMTarget[playerid] = INVALID_PLAYER_ID;
}
  return 1;
}

Share this post


Link to post
Share on other sites
Guest martanius105

1428 : format(post,sizeof(post),"[ADMIN] %s >>> %s"Jmeno(playerid),Jmeno(PlayerPMTarget[playerid]);

 

1430 : format(post,sizeof(post),"> %s <"inputtext);

Share this post


Link to post
Share on other sites
Guest martanius105

dík už jen 1 error :

 

C:\Hry\GTA SA\PAWNO DEVELOPER\fl.pwn(1432) : error 001: expected token: ",", but found ";"

 

format(post,sizeof(post),"[ADMIN] %s >>> %s",Jmeno(playerid),Jmeno(PlayerPMTarget[playerid]);

Share this post


Link to post
Share on other sites

format(post,sizeof(post),"[ADMIN] %s >>> %s",Jmeno(playerid),Jmeno(PlayerPMTarget[playerid]));

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×