11.05.2014, 07:34
so in my server i got a really big checkpoint LOL, how can i change or replace it to smaller once?? thanks !!! 





(playerid, Float:x, Float:y, Float:z, Float:size)
public getCheckpointType(playerID)
{
return checkpointType[playerCheckpoint[playerID]];
}
public checkpointUpdate()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
for(new j=0; j < MAX_POINTS; j++)
{
if(isPlayerInArea(i, checkCoords[j]))
{
if(playerCheckpoint[i]!=j)
{
DisablePlayerCheckpoint(i);
SetPlayerCheckpoint(i, checkpoints[j][0],checkpoints[j][1],checkpoints[j][2],checkpoints[j][3]);
playerCheckpoint[i] = j;
}
}
else
{
if(playerCheckpoint[i]==j)
{
DisablePlayerCheckpoint(i);
playerCheckpoint[i] = 999;
}
}
}
}
}
}
ize" as base on danice post "wiki", so i cant resize it?
SetPlayerCheckpoint(i, checkpoints[j][0],checkpoints[j][1],checkpoints[j][2],3.0);
|
this is my SetPlayerCheckpoint
Код:
public getCheckpointType(playerID)
{
return checkpointType[playerCheckpoint[playerID]];
}
public checkpointUpdate()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
for(new j=0; j < MAX_POINTS; j++)
{
if(isPlayerInArea(i, checkCoords[j]))
{
if(playerCheckpoint[i]!=j)
{
DisablePlayerCheckpoint(i);
SetPlayerCheckpoint(i, checkpoints[j][0],checkpoints[j][1],checkpoints[j][2],checkpoints[j][3]);
playerCheckpoint[i] = j;
}
}
else
{
if(playerCheckpoint[i]==j)
{
DisablePlayerCheckpoint(i);
playerCheckpoint[i] = 999;
}
}
}
}
}
}
ize" as base on danice post "wiki", so i cant resize it? |
(playerid, Float:x, Float:y, Float:z, Float:size) E.G: SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 1.0);