12.06.2018, 10:31
I try to make a random float
And pawno warnings:
Someone know why? I added "new Float:rand"
Isn`t "new rand"
But still give me warnings
Код:
new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); new Float:rand = random(x+100) + x-100;//error new Float:rand2 = random(y+100) + y-100;//error SetPVarFloat(playerid,"diedx",rand);SetPVarFloat(playerid,"diedy",rand2);SetPVarFloat(playerid,"diedz",z); SetPVarInt(playerid,"diedv",GetPlayerVirtualWorld(playerid)); SetPVarInt(playerid,"loading",1);
Код:
C:\Users\Administrator\Desktop\FantasyLand\gamemodes\FantasyLand.pwn(1898) : warning 213: tag mismatch C:\Users\Administrator\Desktop\FantasyLand\gamemodes\FantasyLand.pwn(1899) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
Isn`t "new rand"
But still give me warnings