Quote:
Originally Posted by Aarab
Code:
format(string,128,"Welcome %s , thanks for logging in!\nYour last login was on: %d-%d-%d , from IP adress: %s",...);
new string[128];
SendClientMessage(playerid, COLOR_CODE, "%d-%d-%d"); // extra line 1
I'm new in scripting, so I dont know or i'm right or not ^^
|
You have to format the %d-%d-%d, you can't just put it into the code and expect it to work. That's why we use the format() function. It allows us to replace %d, %s, %i, %f, etc with values of variables we specify.