21.08.2015, 03:15
(
Последний раз редактировалось Lуs; 21.08.2015 в 12:03.
Причина: Prefixo/Tнtulo
)
Eae galera, eu sou novo em pawn, depois de procurar um pouco mais sobre dof2 criei esse fs, que nгo esta escrevendo as informaзхes no aquivo, e tambem nгo esta colocando o nome do player no arquivo, alguem poderia corrigi-lo pra mim?
Код:
#include <a_samp> #include <dof2> #if defined FILTERSCRIPT #define VIP "VIP/%s.ini new Vip [MAX_PLAYERS]; public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); // return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } public OnPlayerConnect(playerid) { if(!DOF2_FileExists("VIP/%s.ini")) { DOF2_CreateFile("VIP/%s.ini"); } return 1; }