Help me: Type mismatch 1 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me: Type mismatch 1 (
/showthread.php?tid=606244)
Help me: Type mismatch 1 -
Fantje - 01.05.2016
I got this:
PHP код:
C:\xampp\htdocs\Server Folder\gamemodes\svtreloaded.pwn(84) : error 035: argument type mismatch (argument 1)
C:\xampp\htdocs\Server Folder\gamemodes\svtreloaded.pwn(85) : error 035: argument type mismatch (argument 1)
Lines:
PHP код:
CP[First] = CreateDynamicCP("-36.1080,2345.1001,24.1406,178.4200");
Zone[First] = GangZoneCreate("-36.1080,2345.1001,24.1406,178.4200");
Please help me
Re: Help me: Type mismatch 1 -
Konstantinos - 01.05.2016
The way you have it is like getting 1 parameter (string) when it shouldn't. Remove " "
In CreateDynamicCP function, you need x, y, z and size.