- 0
Cum definesc
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
SpriTe_
Salut SA-MP.ro, am nevoie de putin ajutor, nu stiu cum corect sa definesc asta:
[pawn]
if ( ServerInfo[ ConnectMessages ] == 1 ) // ASTA TREBUIE DEFINITA, LINIE.
{
new str[ 256 ], pAKA[ 256 ];
pAKA = dini_Get( "ladmin/config/aka.txt", tmp3 );
if ( strlen( pAKA ) < 3 ) format( str, sizeof( str ),"*** {FFFF00}%s(%d) {ACACAC}has joined the server", PlayerName( playerid ), playerid );
else if ( !strcmp( pAKA, PlayerName( playerid ), true ) ) format( str, sizeof( str ),"*** {FFFF00}%s(%d) {ACACAC}has joined the server", PlayerName( playerid ), playerid );
else format( str, sizeof( str ),"*** {FFFF00}%s(%d) {ACACAC}has joined the server ( AKA: {FFFF00}%s{ACACAC} )", PlayerName( playerid ), playerid, pAKA );
for ( new i = 0; i < MAX_PLAYERS; i++ ) if ( IsPlayerConnected( i ) && playerid != i )
{
if ( PlayerInfo[ i ][ Level ] > 2 ) SendClientMessage( i, COLOR_GREY, str );
else
{
format( str, sizeof( str ),"*** {FFFF00}%s(%d) {ACACAC}has joined the server", PlayerName( playerid ), playerid );
SendClientMessage( i, COLOR_GREY, str );
}
}
}
[/pawn]
Si cu erorile astea:
[pawn]
(404) : error 017: undefined symbol "ServerInfo"
(404) : error 017: undefined symbol "ConnectMessages"
(404) : error 029: invalid expression, assumed zero
(404) : fatal error 107: too many error messages on one line
[/pawn]
Ajutati-ma ! Va rog
3 answers to this question
Recommended Posts