error 035: argument type mismatch (argument 1)
#1

Код:
C:\Users\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(12891) : error 035: argument type mismatch (argument 1)
C:\Users\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(14372) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(14455) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(14563) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(15943) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16032) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16105) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16179) : error 035: argument type mismatch (argument 1)
C:\Users\NDownloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16269) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16376) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16443) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16499) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16551) : error 035: argument type mismatch (argument 1)
C:\Users\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16635) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16718) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16801) : error 035: argument type mismatch (argument 1)
C:\UsersDownloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16883) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(16973) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17063) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17146) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17231) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17307) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17376) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17453) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17659) : error 035: argument type mismatch (argument 1)
C:\Users\\Downloads\Compressed\New folder (2)\CNR\CNR\gamemodes\cnr.pwn(17766) : error 035: argument type mismatch (argument 1)

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Line 12891:
Код:
giveplayerid = ReturnUser(playerid, tmp);
Line: 14372:
PHP код:
giveplayerid ReturnUser(playeridtmp); 
PHP код:
new idx,id,giveplayerid,string[256],tmp[256],cmd[256],message[256]; 
Actually, I'm a noob at scripting because i left it before but i want to start it again. So, Please help me and also explain me what's the problem and how to fix it. Thank you
Reply
#2

Aight i fixed it. But I need help here.

PHP код:
----------
Loaded log file"server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team

[19:06:12filterscripts ""  (string)
[
19:06:12
[
19:06:12Server Plugins
[19:06:12] --------------
[
19:06:12]  Loading pluginmysql.dll
[19:06:12

  > 
MySQL plugin R5 successfully loaded.

[
19:06:12]   Loaded.
[
19:06:12]  Loaded 1 plugins.

[
19:06:12
[
19:06:12Filterscripts
[19:06:12] ---------------
[
19:06:12]   Loaded 0 filterscripts.

[
19:06:12] [MYSQL]: [ERROR]: Connection To `cnrFailed!
[
19:06:12] [MYSQL]: Could Not Retrieve Field Shutting Down Server
I added database name in my script and host and user and pass and i did compile and there was no problem. I'm using wampServer. I uploaded my Sql there. But whenever i run samp-server.exe to run server i get this. Any idea? Thank you.
Reply
#3

Put your database in script files and shouldn't be any problem. Rep if it works
Reply
#4

Fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)