27.05.2011, 20:32
well!
this is my script
And thos are the ** Warning:


this is my script
Код:
public OnPlayerUpdate(playerid)
{
new Float:X,Float:Y,Float:Z;
if(IsPlayerInRangeOfPoint(playerid, 31, 2485.4888,-1958.7490,13.5810))
{
GetPlayerPos(playerid, X, Y, Z);
if(IsPlayerInRangeOfPoint(playerid, 2485.4888, -1958.749, 13.581))
{
if(faction[playerid] != 2)
{
SetPlayerPos(playerid, X ,Y, Z);
SendClientMessage(playerid, Error, "ешч дн оешщйн мдйлрс амйе Judas очен щййк мчбецд");
}
return 1;
}
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 31, 2265.8901, -1700.6559, 13.693))
{
GetPlayerPos(playerid, X ,Y, Z);
if(IsPlayerInRangeOfPoint(playerid, 2265.8901, -1700.6559, 13.693))
{
if(faction[playerid] != 1)
{
SetPlayerPos(playerid, X, Y, Z);
SendClientMessage(playerid, Error, "ешч дн оешщйн мдйлрс амйе Sudden Death очен щййк мчбецд");
}
return 1;
}
return 1;
}
return 1;
}
Код:
C:\Users\Yuvalino\Desktop\Server\gamemodes\UltraDM.pwn(387) : warning 202: number of arguments does not match definition C:\Users\Yuvalino\Desktop\Server\gamemodes\UltraDM.pwn(401) : warning 202: number of arguments does not match definition




, Float:y, Float:z);