30.03.2011, 22:18
Quote:
Hi, when i try to add a house
say for example: pawn Код:
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 |
Line 85, you need a return 1;