SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 23/09/2018, 02:38 PM   #1
NoteND
Little Clucker
 
Join Date: May 2016
Posts: 48
Reputation: 0
Default Tag Mismatch

Hey!

Why am I getting tag mismatch on this code

bInfo[1][bEntranceX] = x;
bInfo[1][bEntranceY] = y;
bInfo[1][bEntranceZ] = z-1;
NoteND is offline   Reply With Quote
Old 23/09/2018, 02:41 PM   #2
Gforcez
High-roller
 
Gforcez's Avatar
 
Join Date: Jul 2010
Location: The Netherlands.
Posts: 1,123
Reputation: 367
Default Re: Tag Mismatch

Show us the X, y and z variables
__________________

Gforcez is offline   Reply With Quote
Old 23/09/2018, 02:41 PM   #3
NoteND
Little Clucker
 
Join Date: May 2016
Posts: 48
Reputation: 0
Default Re: Tag Mismatch

new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
NoteND is offline   Reply With Quote
Old 23/09/2018, 02:43 PM   #4
Lokii
Huge Clucker
 
Join Date: Sep 2017
Posts: 282
Reputation: 72
Default Re: Tag Mismatch

Maybe cause you forgot float tag

PHP Code:
enum bInfo
{
    
Float:bEnteranceX,
    
Float:bEnteranceY,
    
Float:bEnteranceZ

Lokii is online now   Reply With Quote
Old 23/09/2018, 02:44 PM   #5
NoteND
Little Clucker
 
Join Date: May 2016
Posts: 48
Reputation: 0
Default Re: Tag Mismatch

yop just realized didnt have Float before vars in enum ty loki <3
NoteND is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) : wa Dawkin Scripting Help 14 30/07/2018 12:58 PM
Mismatch help [SQL] Tomix Scripting Help 1 13/04/2015 08:37 AM
Tag mismatch? Cheesus Scripting Help 5 22/01/2013 01:58 PM
[HELP] tag mismatch agreathon Help Archive 4 25/07/2011 01:14 AM
[Help] Argument type mismatch and tag mismatch Spiffyk Help Archive 2 27/12/2010 12:04 PM


All times are GMT. The time now is 09:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.