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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tag mismatch (/showthread.php?tid=259811)



tag mismatch - Sledge - 06.06.2011

SetPlayerInterior(playerid, Groups[groupnumber][gSpawnInterior]);

Why does this code come up as a tag mismatch? Groupnumber is defined.


Re: tag mismatch - Backwardsman97 - 06.06.2011

Are you sure it's not defined with a tag like 'Float:', 'Menu:', etc..?


Re: tag mismatch - Sledge - 07.06.2011

Yes, a float


Re: tag mismatch - Sledge - 07.06.2011

So how would I do it?
new Interior;
interior = Groups[groupnumber][gSpawnInterior];
SetPlayerInterior(playerid, interior);