Affect_Bond1
Ученик
C:\GAMES\Wonderul RP 30.07.16\gamemodes\WN.pwn(64566) : error 035: argument type mismatch (argument 3)
C:\GAMES\Wonderul RP 30.07.16\gamemodes\WN.pwn(64574) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Что с ними сделать? чтоб ошибка исчезла?
по идеи жалуется на stringer1
C:\GAMES\Wonderul RP 30.07.16\gamemodes\WN.pwn(64574) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
PHP:
ProxDetector(30.0, playerid, stringer1, 0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF); - 64566
ProxDetector(30.0, playerid, stringer1, 0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF); - 64574
по идеи жалуется на stringer1
PHP:
publics: Sethp(playerid)
{
if(GetPVarInt(playerid, "_Maska") != 1 && GetPVarInt(playerid, "vZona") != 0)
{
new stringer1[512];
new Float:health;
GetPlayerHealth(playerid, health);
SetPlayerHealthAC(playerid, health - 10.0);
SendClientMessage(playerid, COLOR_RED, "[ÂÈÐÓÑ] {FFFFFF}-10 õï");
Sim[playerid]++;
if(Sim[playerid] == 2 || Sim[playerid] == 4)
{
ApplyAnimation(playerid, "ped", "GAS_CWR", 4.0, 1, 1, 1, 1, 0);
SetTimerEx("AnimClear", 2000, 0, "d", playerid);
format(stringer,MAX_STR, "Êàøëÿåò");
SetPlayerChatBubble(playerid,stringer,0xDD90FFFF,30.0,10000);
format(stringer1,144, "%s êàøëÿåò", PlayerInfo[playerid][pNames]);
ProxDetector(30.0, playerid, stringer1, 0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF);
}
if(Sim[playerid] > 5 && health < 30.0)
{
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 1, 1, 1, 0);
format(stringer,MAX_STR, "Ïîòåðÿë ñîçíàíèå");
SetPlayerChatBubble(playerid,stringer,0xDD90FFFF,30.0,10000);
format(stringer1,144, "%s Ïîòåðÿë ñîçíàíèå", PlayerInfo[playerid][pNames]);
ProxDetector(30.0, playerid, stringer1, 0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF,0xDD90FFFF);
}
}
}
