Eror with SetPlayerChatBubble
#1

I have error 035: argument type mismatch (argument 3)
Can somebodey fix this here a script




Код:
YCMD:aduty(playerid, params[], help)
{
    #pragma unused help
	#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"FL:RP | "PLAVA"Moras se ulogovati da bi koristio ovu komandu!");
	if(PlayerInfo[playerid][pAdmin] == 0) return SCM(playerid, -1, ""PLAVA"FLRP © "BELA"Samo Admini!");
	new string[256];
	if(AdminDuty[playerid] == 0)
	{
	    format(string,sizeof(string),""ZELENA"(( "BELA"Administrator "ZELENA"%s "BELA"je na duznosti,za pomoc kucajte "ZUTA"/askq "ZELENA"))",GetName(playerid));
		SCMTA(-1,string);
		if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 188); }
	    if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 192); }
		AdminDuty[playerid] = 1;
		SetPlayerColor(playerid, 0xFF0000FF);
		SetPlayerArmour(playerid, 99.0);
		g_SetPlayerHealth(playerid, 99.0);
		SetPlayerChatBubble(playerid, "[ ADMIN] ", ZELENA, 100.0, 10000);// Here is error
	}
	else if(AdminDuty[playerid] == 1)
	{
		SetPlayerArmour(playerid, 0);
		g_SetPlayerHealth(playerid, 99.0);
		format(string,sizeof(string),""ZELENA"(( "BELA"Administrator "ZELENA"%s "BELA"vise nije na duznosti "ZELENA"))",GetName(playerid));
		SCMTA(-1,string);
		if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 240); PlayerInfo[playerid][pSkin] = 240; }
	    if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 93); PlayerInfo[playerid][pSkin] = 93; }
		SetPlayerColor(playerid, BELA2);
		AdminDuty[playerid] = 0;
	}
	return 1;
}
Reply


Messages In This Thread
Eror with SetPlayerChatBubble - by Aske - 04.08.2014, 20:27
Respuesta: Eror with SetPlayerChatBubble - by Cepillado - 04.08.2014, 22:01
Re: Eror with SetPlayerChatBubble - by jackx3rx - 04.08.2014, 23:53
Re: Eror with SetPlayerChatBubble - by Aske - 05.08.2014, 07:59
Re: Eror with SetPlayerChatBubble - by dirigent00 - 05.08.2014, 08:25

Forum Jump:


Users browsing this thread: 1 Guest(s)