The functions of KZIR for PAWN

The page is under uploading!

Of course this system has more functions. The whole list is in the KZIR.inc file that you can download in the KZIR package.

createHouse

createHouse( const name[], Float:entx, Float:enty, Float:entz, Float:intx,
             Float:inty, Float:intz, interiorid, price );

The first and most important function. We can create the houses with it. The system supports 255 houses totally. If the calling was successfully, the return of the function is the id of the created house (0-254), otherwise 255.

destroyHouse

destroyHouse( houseid );

Removes a valid house from the system. Be careful! If there are players inside, the system will leave them inside, so you should remove them.

The retunring value is 1, if the deleting was successful, otherwise 0.

getKZIRVersionAsString

getKZIRVersionAsString( name[], length );

This function gives the version of the current KZIR as a string.

0.3.0.4 (stable release)

Release: 2009. october 3.

Fixes:

  • sendClientMessageInHouse function fixed
  • crossplatform code (runs on Windows and on Linux too)

Now developing:

  • data storing (with files and MySQL)
  • house buying/selling

Download

Linux: KZIR-0.3.0.4.tar.gz
Windows: KZIR-0.3.0.4.zip