[Ajuda] Warning: 202 (Aviso ao compilar)
#1

Код:
 if(sscanf(params, "s[10]", texto))
	{
		if(PlayerInfo[playerid][jMiembro] != 1) return 1;
		if(!PlayerToPoint(2.0, playerid, 254.0884,73.6973,1003.6406)) return SendClientMessage(playerid, COLOR_WHITE, "Vocк nгo estб no local adequado");
		if(PlayerInfo[playerid][pDuty] == 0)
		{
			PlayerInfo[playerid][pDuty] = 1;
			if(PlayerInfo[playerid][pModelo] == 211)
			{
			    RemovePlayerAttachedObject(playerid, 3);
			    RemovePlayerAttachedObject(playerid, 4);
				SetPlayerAttachedObject(playerid, 3,19142,1,0.109797,0.053399,-0.002000,0.000000,-2.299998,0.299997,1.046000,0.986998,0.893000);
				SetPlayerAttachedObject(playerid, 4,18636,2,0.136399,0.028400,0.001000,90.000000,90.000000,0.000000,1.154000,1.100000,1.161000);
			}
			SendClientMessage(playerid, COLOR_WHITE, "Vocк colocou a farda de policнa");
			SetPlayerSkin(playerid, PlayerInfo[playerid][pModelo]);
			SetPlayerSkin(playerid,280,281,306);
			SetPlayerColor(playerid,COLOR_POLICIA);
		}
Eu adicionei o cуdigo para definir as skins para o player pegar e deu os warnings
Код:
SetPlayerSkin(playerid,280,281,306);
Код:
C:\Users\Joel Josй\Desktop\SERVIDOR LZ\gamemodes\LZ.pwn(62085) : warning 202: number of arguments does not match definition
C:\Users\Joel Josй\Desktop\SERVIDOR LZ\gamemodes\LZ.pwn(62085) : warning 202: number of arguments does not match definition
Reply
#2



SetPlayerSkin(playerid, 277);

SetPlayerSkin = Funзao para setar o skin
Playerid = Para setar o id do jogador
277 = Id da skin e n pd usar

setplayerskin(playerid, 25080,505,0505);

So й permitido um numero ( uma skin ) ;-;
Reply
#3

Quote:
Originally Posted by HelderPT
Посмотреть сообщение


SetPlayerSkin(playerid, 277);

SetPlayerSkin = Funзao para setar o skin
Playerid = Para setar o id do jogador
277 = Id da skin e n pd usar

setplayerskin(playerid, 25080,505,0505);

So й permitido um numero ( uma skin ) ;-;
Muito obrigado manoo <3
Reply
#4

Estou aqui para ajudar quem eu puder, e quem eu souber.

Veja abaixo deste texto meus contatos caso queira que eu te ajude.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)