25.03.2011, 22:32
Hey Scripters.
I know i am too lazy to post this cuz this is too noobish question.
I just forget to script this cuz i was having exams so i stopped scripting.
Code:-
And the Errors:-
I want this like ' OnPlayerConnect '
%s has joined the server, IP Address:- %s !
Player name and the IP address.
Thanks for ya helping.
It sends the message to all players.
I know i am too lazy to post this cuz this is too noobish question.
I just forget to script this cuz i was having exams so i stopped scripting.
Code:-
pawn Код:
public OnPlayerConnect(playerid)
{
format(string,sizeof(string), "%s has joined the server, IP Address:- %s !", playerid, ip);
SendClientMessageToAll(0x33CCFFAA, string);
return 1;
}
pawn Код:
error 017: undefined symbol "string"
error 017: undefined symbol "string"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
%s has joined the server, IP Address:- %s !
Player name and the IP address.
Thanks for ya helping.
It sends the message to all players.