This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Technohopper on April 25, 2010, 04:13:28 PMUsing objects array stored in a text file.
How do you make maps?
public OnPlayerSpawn(playerid,classid,teamid)
{
format(file, sizeof(file), USERS_FILE, gPlayers[playerid]);
if(dini_Exists(file)) {
if(PlayerInfo[playerid][Logged] != 1) {
new string[256];
format(string,256,"Auto_Kick:[ %s ] Reason:[ Failed to login ]",gPlayers[playerid]);
SendClientMessageToAll(COLOR_GREEN,string);
}
else { // player spawned and logged in so we need to set the money
new cash = dini_Int(file, "Cash");
SetPlayerMoney(playerid,cash);
}
}
else SetPlayerMoney(playerid,0);
return 1;
}
Quote from: thijn on April 17, 2010, 02:16:43 PMYou gonna post that in every topic, don't you?
Topic can be locked i guess?