[Tutorial] Creating a house system with checkpoints!
#41

Code:
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(745) : error 017: undefined symbol "checkpointid"
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(767) : error 017: undefined symbol "checkpointid"
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2200) : warning 217: loose indentation
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2201) : warning 217: loose indentation
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2203) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2204) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2205) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2206) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2207) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2208) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2209) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2210) : error 017: undefined symbol "INI_Save"
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2211) : warning 202: number of arguments does not match definition
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2230) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2231) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2232) : error 017: undefined symbol "INI_Save"
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2233) : warning 202: number of arguments does not match definition
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2256) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2257) : error 035: argument type mismatch (argument 1)
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2258) : error 017: undefined symbol "INI_Save"
C:\Users\3hab\Desktop\BlackEvo 4\samp03e_svr_R2_win32\gamemodes\blackevo.pwn(2259) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


16 Errors.
:/
Reply
#42

Very good for beginners, like me! But can you explain me how to fix these errors?

error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line

Thanks in advance!

GhostyXL
Reply
#43

Well Thx, Really Helpful
Reply
#44

When i write, /createhouse 50000 it gives me : USAGE: /createhouse <price>
Reply
#45

update your sscanf
Reply
#46

C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(119 6) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(119 7) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(119 : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(119 9) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(120 0) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(120 1) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(120 2) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(120 3) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Escritorio\Backup woweexe\infernoc\samp\samp\gamemodes\wodrp.pwn(121 1) : warning 203: symbol is never used: "PlayerInHouseID"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.

:/
Reply
#47

Would this be hard to convert to y_ini? as im using that and i have a enum collum already ;/ can i just add that to my existing enum? or do i have to convert it?
Reply
#48

Good tutorial.
Reply
#49

nice one
bad indentation..
Reply
#50

Good job.
Reply
#51

For MAX_HOUSES i Returns mixed interiors if you have more then 2 houses owned and each player owns a house u exit ur interior u come out there front door Might want to over look your Code.. firecat..
Reply
#52

When i restart the server the houses are not loading help me
Reply
#53

its not working.. with me
Reply
#54

Quote:
Originally Posted by Dark Killer
View Post
When i restart the server the houses are not loading help me
Under OnGameModeInit put this
pawn Code:
LoadHouses();
Reply
#55

Can you use tags?For example bool tag
Reply
#56

Finally, a good tuturial about creating houses with checkpoints!
Reply
#57

Lots of info, Nice!
Reply
#58

Quite easy. This is a great tutorial, therefore I'd like to thank you for sharing your knowledge with us. I'll try to create an house system as soon as possible.
Reply
#59

Late reply, but i have it, it works, but the only problem is that when i do the proper command it doesnt create any houses... Help please?
Reply
#60

Quote:
Originally Posted by Excelize
View Post
Late reply, but i have it, it works, but the only problem is that when i do the proper command it doesnt create any houses... Help please?
Check your code again.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)