Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error (
/showthread.php?tid=523229)
Error -
Kaaashi - 01.07.2014
C:\Users\Administrator\Desktop\Marx Realty Roleplay Edited\gamemodes\PRRP.pwn(62457) : warning 217: loose indentation
C:\Users\Administrator\Desktop\Marx Realty Roleplay Edited\gamemodes\PRRP.pwn(62487) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
Код:
62457 if(PlayerSweeping[i] == 1){
if (!IsASweeper(GetPlayerVehicleID(i))) {
PlayerSweeping[i] = 0;
SweeperTime[i] = 0;
SendClientMessage(i, COLOR_LIGHTBLUE, "You are no longer Street Sweeping as you've exited the vehicle.");
}
Код:
62487 if(NewbieTimer[i] > 0)
{
NewbieTimer[i]--;
}
if(GlobalChatTimer[i] > 0)
{
GlobalChatTimer[i]--;
}
if(JustReported[i] > 0)
{
JustReported[i]--;
}
if(TaxiCallTime[i] > 0)
{
if(TaxiAccepted[i] < 999)
{
if(IsPlayerConnected(TaxiAccepted[i]))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(TaxiAccepted[i], X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5);
}
}
}