Posts: 21
Threads: 5
Joined: Jun 2009
Reputation:
0
Hello i wanted to ask how to add into rp script that shows people joining like Name_Name (Join) or soemthing like that? can someone help me?
Posts: 21
Threads: 5
Joined: Jun 2009
Reputation:
0
when i added it pawno dont want to complie it says that it stop working and go back to script
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
O.o Post what it says exactly.
Posts: 21
Threads: 5
Joined: Jun 2009
Reputation:
0
well it didnt say nothing but it says Pawn Complier Has stop working or smth like that
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
Where did you try to add the code?
Posts: 21
Threads: 5
Joined: Jun 2009
Reputation:
0
Well i dunnoh were to put it in first time so i puted it like line 3117 so for me its close to Welcome to [Server name]
or should i put it on the back of the script?
[Edit] Where ever i put it it still says that Pawno complier has been stoped or somethink like that
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
you forgot a ending or starting bracket in a public function and when you tried to compile, the compiler crashed.
That happens to me sometimes. Just check your brackets
Posts: 21
Threads: 5
Joined: Jun 2009
Reputation:
0
thats how it is
{
public OnPlayerConnect(playerid)
new name[24], str[128];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(str, sizeof str, "%s has joined the server", name);
SendClientMessageToAll(color, str);
return 1;
}
just the same and still it crash