Como faзo pra ir de formas aleбtorias?
#3

Quote:
Originally Posted by John_Race
Code:
 
new Float:skins [ 3 ][ 1 ] = {{23},{101},{90}}; //skins

 //no comando coloquei isso
 new randomskin = random(3);
 SetPlayerSkin(playerid, skins[randomskin1][0],skins[randomskin1][1],skins[randomskin1][2]);
Nгo testei.
pawn Code:
C:\Users\Josй Joaquim\Desktop\BGP MANOLO ;D\gamemodes\GAMEPLAYER.pwn(239) : warning 213: tag mismatch
C:\Users\Josй Joaquim\Desktop\BGP MANOLO ;D\gamemodes\GAMEPLAYER.pwn(239) : warning 213: tag mismatch
C:\Users\Josй Joaquim\Desktop\BGP MANOLO ;D\gamemodes\GAMEPLAYER.pwn(239) : warning 213: tag mismatch
C:\Users\Josй Joaquim\Desktop\BGP MANOLO ;D\gamemodes\GAMEPLAYER.pwn(40943) : error 017: undefined symbol "randomskin1"
C:\Users\Josй Joaquim\Desktop\BGP MANOLO ;D\gamemodes\GAMEPLAYER.pwn(40942) : warning 204: symbol is assigned a value that is never used: "randomskin"
Inicialmente deu esse erro, ai criei um novo new tal, mas mesmo assim deu erro =X
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)