//-----------------=Limpa o Disfarce=-----------------
if(strcmp(cmd,"/retirardisfarceFBI",true)==0 || strcmp(cmd,"/rdFBI",true)==0)
{
LimparDisfarceFBI(playerid, 0);
SetPlayerSkin(playerid, 163);
SetPlayerSkin(playerid, 286);
SetPlayerSkin(playerid, 249);
return 1;
}
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]);
|
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]);
|
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"
new skins[3][1] = {
{280},
{281},
{101}
};
new randomskin = random(3); SetPlayerSkin(playerid, skins[randomskin][0], skins[randomskin][1], skins[randomskin][2]);
|
Originally Posted by John_Race
Code:
new skins[3][1] = {
{280},
{281},
{101}
};
Code:
new randomskin = random(3); SetPlayerSkin(playerid, skins[randomskin][0], skins[randomskin][1], skins[randomskin][2]); |
C:\Users\Josй Joaquim\Desktop\BGP MANOLO ;D\gamemodes\GAMEPLAYER.pwn(40947) : error 032: array index out of bounds (variable "skins")
//no comeзo
new skins[] = {
121,
124,
132
};
//no comando
SetPlayerSkin(playerid, skins[random(3)]);
|
Originally Posted by [VGS
speliarmos_OC ]
Desses jeitos ai vocкs sу vгo conseguir coisas que nгo funcionarгo... SetPlayerSkin sу й possivel colocar 2 argumentos e nada mais, vocкs estavam colocando 4. SetPlayerSkin(argumento1, argumento2); argumento1 = ID do jogador. argumento2 = ID da skin. pawn Code:
![]() |