C:\Users\Lirbo\Desktop\Roleplay\gamemodes\ERP.pwn( 19) : error 035: argument type mismatch (argument 1)
#1

new TN = DOF2_GetInt(TeleportsCount(playerid),"Count");
DOF2_CreateFile(TN);



C:\Users\Lirbo\Desktop\Roleplay\gamemodes\ERP.pwn( 19) : error 035: argument type mismatch (argument 1)
Reply
#2

You can't create file like that, you must give string.
Code:
new String[/*MAXIMAL LENGTH OF DOF2_GetInt(TeleportsCount(playerid),"Count");*/];
format(String,sizeof(String),"%i",TN);
DOF2_CreateFile(String);
Reply
#3

Thanks mate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)