Форум Pawn-Wiki.Ru - Воплоти мечту в реальность!: Пишем систему домов с 0 [Часть 2] - Форум Pawn-Wiki.Ru - Воплоти мечту в реальность!

Перейти к содержимому

  • (17 Страниц) +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Последняя »
  • Вы не можете создать новую тему
  • Вы не можете ответить в тему

[ Урок ]
Пишем систему домов с 0 [Часть 2] Простая система домов для игровых режимов с 0 (new.pwn)
Оценка: ***** 6 Голосов

#21
Пользователь офлайн   Steamqa 

  • Прохожий
  • Вставить ник
  • Раскрыть информацию
Нет, все ровно все делал.....
0

#22
Пользователь офлайн   VetalOK 

  • Брат за брата
  • Вставить ник
  • Раскрыть информацию

Просмотр сообщенияSteamqa (08 Май 2013 - 18:51) писал:

Вот все заново переписал.... еще хуже стало.....
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(205) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(210) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(232) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(235) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(241) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(245) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(247) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(249) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(251) : error 021: symbol already defined: "SPD"
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(255) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(257) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(260) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(265) : error 021: symbol already defined: "SPD"
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(267) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(269) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(271) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(274) : error 021: symbol already defined: "SPD"
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(276) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(278) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(280) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(284) : error 021: symbol already defined: "GetPlayerPos"
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(289) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(295) : error 010: invalid function or declaration
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1051) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1160) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1213) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1263) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1313) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1363) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1413) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1463) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1515) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1516) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1526) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1526) : error 004: function "SaveHouse" is not implemented
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1532) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1537) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1542) : error 004: function "SaveHouse" is not implemented
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1556) : error 004: function "SaveHouse" is not implemented
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1559) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1565) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1595) : error 004: function "SaveHouse" is not implemented
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1597) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1607) : error 004: function "SaveHouse" is not implemented
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(1609) : warning 217: loose indentation
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(2413) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(2510) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(2577) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(2592) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(2656) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(2997) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3020) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3115) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3138) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3233) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3256) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3351) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3374) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3469) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3492) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3561) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3610) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3668) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3731) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3790) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3853) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3912) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(3975) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4034) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4097) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4156) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4218) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4276) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4518) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4539) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4588) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4646) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4709) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4768) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4831) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4890) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(4953) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5012) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5075) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5134) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5196) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5254) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5496) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5517) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5566) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5624) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5687) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5746) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5809) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5868) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5931) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(5990) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6053) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6112) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6174) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6232) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6474) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6495) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6544) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6602) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6665) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6724) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6787) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6846) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6909) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(6968) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7031) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7090) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7152) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7210) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7452) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7473) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7522) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7580) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7643) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7702) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7765) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7824) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7887) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(7946) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(8009) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(8068) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(8130) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(8188) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(8430) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(8448) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(8835) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(9222) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(9609) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(9996) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(10809) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(10970) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(11187) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(11337) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(11383) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(11397) : warning 203: symbol is never used: "SaveHouseAmount"
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(11397) : warning 203: symbol is never used: "str"
C:\Users\Javel's\Desktop\DriftAndreas\gamemodes\
Drift.pwn(11397) : warning 203: symbol is never used: "x"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


23 Errors.



Попробуй всю шапку кинуть в мод с нуля, и компил!
А потом уже в мод вписуй.
0

#23
Пользователь офлайн   PROSTO_PARENb 

  • Прохожий
  • Вставить ник
  • Раскрыть информацию
Mike, подскажи как сделать чтобы можно было купить только 1 дом и игрок спавнился в нем
0

#24
Пользователь офлайн   iRusel 

  • Эксперт
  • Вставить ник
  • Раскрыть информацию
В спавне если у игрока дом то сравнить его по координатам инта
0

#25
Пользователь офлайн   Huligan 

  • Прохожий
  • Вставить ник
  • Раскрыть информацию
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(67) : error 017: undefined symbol "LoadHouses"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(188) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(200) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(214) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(226) : error 017: undefined symbol "UpdateHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(227) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(242) : error 017: undefined symbol "UpdateHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(243) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(387) : error 014: invalid statement; not in switch
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(387 -- 388) : error 029: invalid expression, assumed zero
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : error 014: invalid statement; not in switch
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : warning 215: expression has no effect
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : error 001: expected token: ";", but found ":"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : error 029: invalid expression, assumed zero
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


14 Errors.

Сделал все как надо!
0

#26
Пользователь офлайн   Mike 

  • Администратор
  • Вставить ник
  • Раскрыть информацию

Просмотр сообщенияPROSTO_PARENb (12 Июнь 2013 - 10:49) писал:

Mike, подскажи как сделать чтобы можно было купить только 1 дом и игрок спавнился в нем


Можешь поставить проверку при покупке, циклом искать есть ли дом на сервере с таким ником, если да - то запрещать покупать еще один. По поводу спавна, в OnPlayerSpawn проверяешь так же, циклом, ищешь дом с ником игрока, если нашел - спавни в нем.

Просмотр сообщенияHuligan (20 Июнь 2013 - 15:31) писал:

C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(67) : error 017: undefined symbol "LoadHouses"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(188) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(200) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(214) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(226) : error 017: undefined symbol "UpdateHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(227) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(242) : error 017: undefined symbol "UpdateHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(243) : error 017: undefined symbol "SaveHouse"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(387) : error 014: invalid statement; not in switch
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(387 -- 388) : error 029: invalid expression, assumed zero
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : error 014: invalid statement; not in switch
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : warning 215: expression has no effect
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : error 001: expected token: ";", but found ":"
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : error 029: invalid expression, assumed zero
C:\Users\Даниил\Desktop\SIL\gamemodes\1.pwn(396) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


14 Errors.

Сделал все как надо!


Не может быть чтобы ты сделал все как положено и компилятор выдал ошибки. Тем более такие:

Цитата

undefined symbol "SaveHouse"

Будто ты функцию SaveHouse не вставлял.
0

#27
Пользователь офлайн   kaZax 

  • Прохожий
  • Вставить ник
  • Раскрыть информацию
Mike, помоги мне.
Хотел сделать чтобы описание мог изменять игрок после создание под свой.
Как не делай то у всех домов сменится, или у последнего дома сменится.
Мб какойто другой цикл нужен?
0

#28
Пользователь офлайн   kaZax 

  • Прохожий
  • Вставить ник
  • Раскрыть информацию
все справился, помощи ненадо
0

#29
Пользователь офлайн   Veritеs 

  • Vip
  • Вставить ник
  • Раскрыть информацию
Спасибо за урок, пригодилось.
0

#30
Пользователь офлайн   kaZax 

  • Прохожий
  • Вставить ник
  • Раскрыть информацию
mike, плз напиши мне проверку есть ли у игрока дом, чтобы он мог только 1 дом покупать
0

Поделиться темой:


  • (17 Страниц) +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Последняя »
  • Вы не можете создать новую тему
  • Вы не можете ответить в тему

1 человек читают эту тему
0 пользователей, 1 гостей, 0 скрытых пользователей