SA-MP Forums Archive
Tag mismatch - 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: Tag mismatch (/showthread.php?tid=631086)



Tag mismatch - Face9000 - 22.03.2017

I'm getting tag mismatch here:

Код:
gCaptureZone[i][zone_Id] = GangZoneCreate(gCaptureZone[i][zone_Pos][0], gCaptureZone[i][zone_Pos][1], gCaptureZone[i][zone_Pos][2], gCaptureZone[i][zone_Pos][3], SET_ALPHA(gTeamData[gCaptureZone[i][zone_Owner]][team_Color], 100), 2.0);



Re: Tag mismatch - ISmokezU - 22.03.2017

PHP код:
gCaptureZone[i][zone_Id] = GangZoneCreate(gCaptureZone[i][zone_Pos][0], gCaptureZone[i][zone_Pos][1], gCaptureZone[i][zone_Pos][2], gCaptureZone[i][zone_Pos][3], SET_ALPHA(gTeamData[gCaptureZone[i][zone_Owner]][team_Color], 1002.0)); 
Ya need to stop doing this.


Re: Tag mismatch - Face9000 - 22.03.2017

warning 202: number of arguments does not match definition

Another error ^


Re: Tag mismatch - ISmokezU - 22.03.2017

I read the parameters from the wiki, are you using an include for this? if it's from a_samp then it would be

PHP код:
gCaptureZone[i][zone_Id] = GangZoneCreate(gCaptureZone[i][zone_Pos][0], gCaptureZone[i][zone_Pos][1], gCaptureZone[i][zone_Pos][2], gCaptureZone[i][zone_Pos][3); 



Re: Tag mismatch - Face9000 - 22.03.2017

Now it says " error 001: expected token: "]", but found ")""


Re: Tag mismatch - ISmokezU - 22.03.2017

My Bad.

PHP код:
gCaptureZone[i][zone_Id] = GangZoneCreate(gCaptureZone[i][zone_Pos][0], gCaptureZone[i][zone_Pos][1], gCaptureZone[i][zone_Pos][2], gCaptureZone[i][zone_Pos][3]);