GOMERk26
Новичок
PHP:
if (strcmp(cmdtext, "/opengate", true) == 0)
{
new stringtosee[128];
new ftext[32];
if(PlayerToPoint(5.0,playerid,2025.3000488281, -1821.9000244141, 13.89999961853))
{
MoveObject(Vorota1Gate,2025.3000488281, -1821.9000244141, 11,2.00);
SetTimer("GateClose", 10000, 0);
VorotaGateTimer = SetTimer("VorotaGate1Close", 10000, 0);
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(stringtosee, sizeof(stringtosee), "%s äîñòà¸ò ïóëüò óïðàâëåíèÿ è îòêðûâàåò âîðîòà.", sendername , ftext);
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
}
if(PlayerToPoint(5.0,playerid,2029.9000244141, -1821.9000244141, 13.89999961853))
{
MoveObject(Vorota2Gate,2029.9000244141, -1821.9000244141, 11,2.00);
SetTimer("GateClose", 10000, 0);
VorotaGateTimer = SetTimer("VorotaGate2Close", 10000, 0);
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(stringtosee, sizeof(stringtosee), "%s äîñòà¸ò ïóëüò óïðàâëåíèÿ è îòêðûâàåò âîðîòà.", sendername , ftext);
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
}
if(PlayerToPoint(5.0,playerid,2020.8000488281, -1821.9000244141, 13.89999961853))
{
MoveObject(Vorota3Gate,2020.8000488281, -1821.9000244141, 11,2.00);
SetTimer("GateClose", 10000, 0);
VorotaGateTimer = SetTimer("VorotaGate3Close", 10000, 0);
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(stringtosee, sizeof(stringtosee), "%s äîñòà¸ò ïóëüò óïðàâëåíèÿ è îòêðûâàåò âîðîòà.", sendername , ftext);
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
}
if(PlayerToPoint(5.0,playerid,2016.0999755859, -1821.9000244141, 13.89999961853))
{
MoveObject(Vorota4Gate,2016.0999755859, -1821.9000244141, 11,2.00);
SetTimer("GateClose", 10000, 0);
VorotaGateTimer = SetTimer("VorotaGate4Close", 10000, 0);
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(stringtosee, sizeof(stringtosee), "%s äîñòà¸ò ïóëüò óïðàâëåíèÿ è îòêðûâàåò âîðîòà.", sendername , ftext);
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
}
if(PlayerToPoint(5.0,playerid,2011.3000488281, -1821.9000244141, 13.89999961853))
{
MoveObject(Vorota5Gate,2011.3000488281, -1821.9000244141, 11,2.00);
SetTimer("GateClose", 10000, 0);
VorotaGateTimer = SetTimer("VorotaGate5Close", 10000, 0);
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(stringtosee, sizeof(stringtosee), "%s äîñòà¸ò ïóëüò óïðàâëåíèÿ è îòêðûâàåò âîðîòà.", sendername , ftext);
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
}
if(PlayerToPoint(5.0,playerid,2006.5999755859, -1821.9000244141, 13.89999961853))
{
MoveObject(Vorota6Gate,2006.5999755859, -1821.9000244141, 11,2.00);
SetTimer("GateClose", 10000, 0);
VorotaGateTimer = SetTimer("VorotaGate6Close", 10000, 0);
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(stringtosee, sizeof(stringtosee), "%s äîñòà¸ò ïóëüò óïðàâëåíèÿ è îòêðûâàåò âîðîòà.", sendername , ftext);
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
}
if(PlayerToPoint(5.0,playerid,2002.0999755859, -1821.9000244141, 13.89999961853))
{
MoveObject(Vorota7Gate,2002.0999755859, -1821.9000244141, 11,2.00);
SetTimer("GateClose", 10000, 0);
VorotaGateTimer = SetTimer("VorotaGate7Close", 10000, 0);
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(stringtosee, sizeof(stringtosee), "%s äîñòà¸ò ïóëüò óïðàâëåíèÿ è îòêðûâàåò âîðîòà.", sendername , ftext);
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
}
return 1;
}
gamemodes\DeluxeRP.pwn(19700) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19700) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19710) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19710) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19720) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19720) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19730) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19730) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19740) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19740) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19750) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19750) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19760) : warning 202: number of arguments does not match definition
gamemodes\DeluxeRP.pwn(19760) : warning 202: number of arguments does not match definition
P.s. там где каракули вместо текста сори что-то с кодировкой
---------- Post added at 11:44 ---------- Previous post was at 11:42 ----------
ProxDetector(15.0, playerid, stringtosee, 0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA,0xC2A2DAAA);
вот такие строчки варнинг дают, не знаю что делать
