C:\Users\Lirbo\Desktop\Roleplay\gamemodes\ERP.pwn( 19) : error 035: argument type mismatch (argument 1) -
Lirbo - 12.12.2014
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)
Re: C:\Users\Lirbo\Desktop\Roleplay\gamemodes\ERP.pwn( 19) : error 035: argument type mismatch (argument 1) -
Raweresh - 12.12.2014
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);
Re: C:\Users\Lirbo\Desktop\Roleplay\gamemodes\ERP.pwn( 19) : error 035: argument type mismatch (argument 1) -
Lirbo - 12.12.2014
Thanks mate.