Still problems with the same script.
#2

Код:
format(file, sizeof(file), file_path, playername); //Tells that inside file is file_path. and the playername is because there should be a %s in the file_path.
^ You can't have it just floating in the middle of no where, it has to be within a callback.

It's not SetPlayerWorld; It's SetPlayerVirtualWorld(playerid, worldid);

To save color you have to use RGBA (Is that it? ..)

It's not OnPlayerDisconnect(playerid); It's OnPlayerDisconnect(playerid, reason)

Change this line:
pawn Код:
case 0: PlayerCrashed(playerid); format(string, sizeof(string), "%s has left the server. (Crashed)", pname);
To this:
pawn Код:
case 0: { PlayerCrashed(playerid); format(string, sizeof(string), "%s has left the server. (Crashed)", name); }
And see what that does.
Reply


Messages In This Thread
Still problems with the same script. - by Visualbr - 25.05.2010, 09:22
Re: Still problems with the same script. - by Grim_ - 25.05.2010, 09:28
Re: Still problems with the same script. - by Visualbr - 25.05.2010, 09:33
Re: Still problems with the same script. - by Niixie - 25.05.2010, 10:13
Re: Still problems with the same script. - by Grim_ - 25.05.2010, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)