30.03.2011, 19:34
Hi, when i try to add a house for example:
I get this error:
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(5 : warning 225: unreachable code
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(5 : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(63) : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(77) : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(82) : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(85) : warning 209: function "CreateHouse" should return a value
Does anyone know whats wrong?
I am following :
https://sampforum.blast.hk/showthread.php?tid=118379
I didnt skip a single step, and before i add the createhouse, it compiles fine... O.o
pawn Код:
CreateHouse("TestHouse2", 1, 2346.872802, 692.999267, 11.460937, 266.857757, 305.001586, 999.148437, 2, 1);
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(5 : warning 225: unreachable code
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(5 : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(63) : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(77) : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(82) : warning 217: loose indentation
C:\Users\Anoop\Desktop\samp03csvr_R2-2_win32\gamemodes\Server.pwn(85) : warning 209: function "CreateHouse" should return a value
Does anyone know whats wrong?
I am following :
https://sampforum.blast.hk/showthread.php?tid=118379
I didnt skip a single step, and before i add the createhouse, it compiles fine... O.o