28.05.2010, 21:15
Hello my server emits warning symbol strtok.
And I do not know what I do.
I hope to get help.
But this warning emitted when triggers include
which they will include a warning to
And I do not know what I do.
I hope to get help.
But this warning emitted when triggers include
which they will include a warning to
Код:
//**PRAGMAS**// #pragma tabsize 0 #pragma unused ret_memcpy //**FORWARDS**// forward ToD_OnPlayerDisconnect(playerid); forward ToD_OnPlayerConnect(playerid); //**NEWS**// new pname[MAX_PLAYER_NAME]; new oyunism[48]; /*---------------------------------CallBacks-------------------------------------*/ public ToD_OnPlayerDisconnect(playerid){ GetPlayerName(playerid, pname, sizeof(pname)); format(oyunism, sizeof(oyunism), "/Saver/%s.ini",pname); if(!dini_Exists(oyunism)) { } else { dini_IntSet(oyunism, "Score", GetPlayerScore(playerid)); dini_IntSet(oyunism, "Money", GetPlayerMoney(playerid)); } } public ToD_OnPlayerConnect(playerid){ 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; }