27.02.2012, 18:28
(
Последний раз редактировалось HeLiOn_PrImE; 27.02.2012 в 18:49.
Причина: more details
)
My onplayerconnect function looks like this....maybe with other textdraws and connect messages.
But it's not triggered because that thing doesn't fully connect like a normal player.
Check this topic, I posted my problem there and a guy posted a video with the exact thing that is happening to me (he posted 2 videos. The second video shows what is also happening to me)
I also posted there a pic with the rcon window of the server that shows the anomaly .
I see now that you posted there as well..
But it's not triggered because that thing doesn't fully connect like a normal player.
Check this topic, I posted my problem there and a guy posted a video with the exact thing that is happening to me (he posted 2 videos. The second video shows what is also happening to me)
I also posted there a pic with the rcon window of the server that shows the anomaly .
I see now that you posted there as well..
Код:
public OnPlayerConnect(playerid) { GameTextForPlayer(playerid,"censored",5000,5); Pspawned[playerid] = 0; firstspawn[playerid]=1; GPSTimer[playerid] = 0; ClickedPlayerID[playerid] = -1; HaveGPS[playerid] = false; SendPlayerFormattedText(playerid, "Welcome to cenzoredt, for more please type /help and /tour", 0); SendClientMessage(playerid,0xB360FDFF,"Use /house to find information on our houses"); SendClientMessage(playerid, COLOR_LIGHTBLUE,"Type /cmds for all commands (really)!"); SendClientMessage(playerid, COLOR_ULTRARED,"Use /ro if you are romвn or /eng if you are English."); SendClientMessage(playerid, COLOR_YELLOW,"Type /teles to see teleportation on the server "); SendClientMessage(playerid, COLOR_ORANGERED,"If you need a vehicle type /V and if you want to tune cars write /tune"); TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TogglePlayerControllable(playerid, false); TextDrawShowForPlayer(playerid, TheBoxy); TextDrawShowForPlayer(playerid, Hin); TextDrawShowForPlayer(playerid, Weilcome); TextDrawShowForPlayer(playerid, thelp); TextDrawShowForPlayer(playerid, ttele); TextDrawShowForPlayer(playerid, trules); TextDrawShowForPlayer(playerid, byFarsek); TextDrawShowForPlayer(playerid, Commings); TextDrawShowForPlayer(playerid, Enjoyit); TextDrawShowForPlayer(playerid, tcmds); SetPlayerHealth(playerid,100); ResetPlayerWeapons(playerid); gActivePlayers[playerid]++; gLastGaveCash[playerid] = GetTickCount(); GetPlayerName(playerid, pname, sizeof(pname)); format(oyunism, sizeof(oyunism), "/Saver/%s.ini",pname); if(!dini_Exists(oyunism)) { dini_Create(oyunism); dini_IntSet(oyunism, "Score", 0); dini_IntSet(oyunism, "Money", 0); SetPlayerScore(playerid, dini_Int(oyunism, "Score")); SetPlayerMoney(playerid, dini_Int(oyunism, "Money")); } else { SetPlayerScore(playerid, dini_Int(oyunism, "Score")); SetPlayerMoney(playerid, dini_Int(oyunism, "Money")); } return 1; }