SA-MP Forums

SA-MP Forums (
-   Scripting Help (
-   -   Tag mismatch warning (

Alvin007 24/02/2015 10:56 PM

Tag mismatch warning
Somewhere in the script i have this, and it keeps saying Tag Mismatch even tho i changed rand to an integer afterward using the floatround function.
i know this method is wrong, any advice?
PHP Code:

new entier,string1[80],string2[80];
entier=rand//1st warning is here
SendClientMessage(iOOC,"====== Bank of LS ======"); 


Vince 24/02/2015 10:59 PM

Re: Tag mismatch warning
The parameters for floatround are not passed by reference. That means the function returns the new value and doesn't alter the original values.
pawn Code:
entire = floatround(...

Alvin007 24/02/2015 11:07 PM

Re : Tag mismatch warning
Thanks alot Vince :*

All times are GMT. The time now is 12:10 AM.

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