04.08.2014, 20:27
I have error 035: argument type mismatch (argument 3)
Can somebodey fix this here a script
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; }