Hab etwas ähnliches mal gesehn
Beiträge von Dome_
-
-
Suche eine Insel
-
In Zeile 270 der apache.conf fehlt ein Leerzeichen zwischen Include und /etc/phpmyadmin/apache.conf
-> Include /etc/phpmyadmin/apache.conf
Hab nachgeschaut ist drin kannste vielleicht per Teamviewer kucken?
-
Hey
Hab gerade versucht Mysql zuinstallieren und folgenden Fehler:
Syntax error on line 270 of /etc/apache2/apache2.conf:
Invalid command 'Include/etc/phpmyadmin/apache.conf', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
failed!Hab folgende Befehle benutzt:
apt-get update
apt-get upgrade
apt-get install apache2 php5 libapache2-mod-php5
apt-get install mysql-server mysql-client php5-mysql
apt-get install phpmyadmin
/etc/init.d/apache2 restart
echo Include /etc/phpmyadmin/apache.conf >> /etc/apache2/apache2.conf
/etc/init.d/apache2 restartDanke im vorraus.
Mfg, -
Bin schon fündig geworden vielen Dank.
-
Hey
Suche einen Hooster welche folgende Aspekte erfüllt:Folgendes:
- Paysafecard
- Sms und Call2pay
- Einrichtung (Installation Mysql)
- Gamepanel (Sa:MP Server)
Mfg,
-
Hat jemand das Script noch vielleicht?
Kann mir vllt einer von euch DreamLife Roleplay - Re upload - New Version script geben wäre sehr nett mfg Ette
Hier --> http://www.file-upload.net/download-9215361/DRP.RAR.html -
Hab Warning und Errors in massen:
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\pawno\pawno\include\AC.inc(737) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\pawno\pawno\include\dutils.inc(196) : error 025: function heading differs from prototype
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\pawno\pawno\include\dutils.inc(196) : error 021: symbol already defined: "SetPlayerMoneyEx"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\pawno\pawno\include\dutils.inc(200) : error 017: undefined symbol "SetPlayerMoney"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\pawno\pawno\include\Waffenhack.inc(36) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(337) : error 025: function heading differs from prototype
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(456) : error 025: function heading differs from prototype
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(1361) : warning 213: tag mismatch
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(1863) : error 025: function heading differs from prototype
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(1864) : error 021: symbol already defined: "IsABike"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(4272) : error 025: function heading differs from prototype
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(4273) : error 021: symbol already defined: "IsAPlane"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6204) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6277) : warning 213: tag mismatch
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6323) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6339) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6355) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6371) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6387) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6403) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6419) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(6435) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(8001) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(8002) : warning 213: tag mismatch
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(8003) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(8828) : warning 213: tag mismatch
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(9277) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(10526) : warning 219: local variable "VID" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(11134) : warning 204: symbol is assigned a value that is never used: "detskill"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(11114) : warning 204: symbol is assigned a value that is never used: "DrunkLevel"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(11403) : warning 204: symbol is assigned a value that is never used: "text3"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(11402) : warning 204: symbol is assigned a value that is never used: "text2"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13091) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13093) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13094) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13095) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13096) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13097) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13098) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13099) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13100) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13101) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13102) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13103) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13104) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13105) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13106) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13107) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13108) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13109) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13110) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13111) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13113) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13114) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13115) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13116) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13117) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13118) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13119) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13120) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13121) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13122) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13123) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13124) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13125) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13126) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13127) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13128) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13129) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13130) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13131) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13132) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13133) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13134) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13135) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13136) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13137) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13140) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13141) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13142) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13143) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13144) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13145) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13146) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13147) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13148) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13149) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13150) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13151) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13152) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13153) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13154) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13155) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13156) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13157) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13158) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13159) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13160) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13161) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13162) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13163) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13164) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13165) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13166) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13167) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13168) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13169) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13170) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13171) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13172) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13173) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13174) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13175) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13176) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13177) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13178) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13179) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13180) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13181) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13182) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13183) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13184) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13185) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13186) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13187) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13188) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13189) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13190) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13191) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13192) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13193) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13195) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13196) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13197) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13198) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13199) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13200) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(13201) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14257) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14258) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14276) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14277) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14279) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14281) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14283) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14286) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14287) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14288) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14289) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14290) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14291) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14292) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14295) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14296) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14297) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14298) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14299) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14300) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14301) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14302) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14303) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14304) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14343) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14344) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14345) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14346) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14347) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14348) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14349) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14350) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14351) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14352) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14353) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14354) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14355) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14356) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14357) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(15137) : warning 204: symbol is assigned a value that is never used: "Zinsen"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(14982) : warning 203: symbol is never used: "ZinsenBetrag"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(15131) : warning 204: symbol is assigned a value that is never used: "PaydayZinsen"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(15445) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(16321) : warning 203: symbol is never used: "logtext"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(16321) : warning 203: symbol is never used: "log"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(17393) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(17411) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(17597) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(17626) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(17652) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(17671) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(17698) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(18892) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(20005) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(20033) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(20061) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(20238) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(20266) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(20294) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(23119) : warning 213: tag mismatch
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(25162) : warning 219: local variable "check" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(26126) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(28939) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(28974) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29009) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29044) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29079) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29829) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29855) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29881) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29907) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29933) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29959) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(29986) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30012) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30038) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30064) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30090) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30116) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30142) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30179) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(30385) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(31733) : error 004: function "SetVehicleZAngleEx" is not implemented
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(32578) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(38105) : warning 219: local variable "Waffe" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(38080) : warning 204: symbol is assigned a value that is never used: "text4"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(38158) : warning 219: local variable "Waffe" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(38842) : warning 219: local variable "Waffe" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(39261) : warning 219: local variable "Waffe" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(39295) : warning 219: local variable "Waffe" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(42733) : warning 235: public function lacks forward declaration (symbol "CloseAirTorLS")
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(42740) : warning 235: public function lacks forward declaration (symbol "CloseAirTorSF")
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(43029 -- 43030) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(43109) : warning 219: local variable "pos" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(43143) : warning 219: local variable "pos" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(43176) : warning 219: local variable "pos" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(44025) : warning 204: symbol is assigned a value that is never used: "StepID"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(44024) : warning 204: symbol is assigned a value that is never used: "NotJoin"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(45085) : warning 225: unreachable code
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(47184) : warning 235: public function lacks forward declaration (symbol "TuneTunedCars")
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(47357) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(47451) : warning 235: public function lacks forward declaration (symbol "CopCarKnacken")
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(47594) : warning 219: local variable "pos" shadows a variable at a preceding level
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(47816) : error 021: symbol already defined: "GivePlayerHealthEx"
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(47835) : warning 202: number of arguments does not match definition
D:\Users\Admin\Desktop\Scripts\Extrem City Roleplay\gamemodes\RGR.pwn(48228) : error 021: symbol already defined: "sscanf"Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
-
Kann man dieses auch mit SA:MP spielen und wenn dann wie?
-
Suche dünnen Balken
-
Problem selbstständig gelöst
-
Welches der Arrays die du in deinem Befehl nutzt hast du mit [2] initialisiert?
Bei OnVehicleSpawn bekommst du den Fehler, weil du eine Variable mit -1 in ein Array gesetzt hast, sowas:
test = -1;
array[test] = x;Das gibt Fehler.
Da debuggst du den Code am besten, und schaust, welche Variable den Wert -1 bekommt.
http://wiki.sa-mp.com/wiki/Debugging
On Vehicle Spawn sieht so aus hat jedoch meiner Meinung mit /buycar nix zutun:
public OnVehicleSpawn(vehicleid)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF);
MotorSystemMotor[vehicleid] = false;
MotorSystemLight[vehicleid] = false;
if(sirene[vehicleid] != -1) {
DestroyObject(sirene[vehicleid]);
sirene[vehicleid] = -1;
}
if(sirene1[vehicleid] != -1) {
DestroyObject(sirene1[vehicleid]);
sirene1[vehicleid] = -1;
}
if(sirene2[vehicleid] != -1) {
DestroyObject(sirene2[vehicleid]);
sirene2[vehicleid] = -1;
}
if(sirene3[vehicleid] != -1) {
DestroyObject(sirene3[vehicleid]);
sirene3[vehicleid] = -1;
}
UCL[vehicleid] = 0;
new string[50];
format(string, sizeof(string), "{FFFF00}ERP-{21DD00}%d", vehicleid);
SetVehicleNumberPlate(vehicleid,string);
if(GetVehicleModel(vehicleid) == 427 || GetVehicleModel(vehicleid) == 601){
SetVehicleHealth(vehicleid, 7500);
}
if(GetVehicleModel(vehicleid) == 490 && IsACopCar(vehicleid) || GetVehicleModel(vehicleid) == 528 && IsACopCar(vehicleid)){
SetVehicleHealth(vehicleid, 2500);
}
if(IsAPlane(vehicleid) || IsABoat(vehicleid) || IsAFahrrad(vehicleid)){
Gas[vehicleid] = 100;
}for(new h = 0; h < sizeof(LSPDCars); h++){
if(vehicleid == LSPDCars[h] && h <= 28){
SetVehicleVirtualWorld(vehicleid,14);
LinkVehicleToInterior(vehicleid,18);
break;
}}
for(new h = 0; h < sizeof(FBICars); h++){
if(vehicleid == FBICars[h] && h <= 28){
SetVehicleVirtualWorld(vehicleid,7);
LinkVehicleToInterior(vehicleid,18);
break;
}}
if(vehicleid == LSPDCars[29] || vehicleid == LSPDCars[30])
{
SetVehicleHealth(vehicleid, 3000);
}
if(Locked[vehicleid] == 1){
Locked[vehicleid] = 0;
ForAllPlayers(i){
SetVehicleParamsForPlayer(vehicleid,i, 0, 0);
break;
}}
for(new i = 0; i < sizeof(MulmanInfo); i++){
if(MulmanInfo[i][MmLeiher] == -1){
if(MulmanInfo[i][MmCarID] == vehicleid){
MullManOwned[MulmanInfo[i][MmLeiher]] = -1;
MulmanInfo[i][MmLeiher] = -1;
MulmanInfo[i][MmLadung] = 0;
return 1;
}}}
return 1;
}
Finde dort nix kannste vielleicht per Teamviewer schnell kucken? -
Lade dir mal das crashdetect Plugin runter und füge es ein. Dann poste was im Server Log steht wenn du den Befehl ausführst.
Foglendes:
[16:16:56] [debug] Run time error 4: "Array index out of bounds"
[16:16:56] [debug] Accessing element at index 3 past array upper bound 2
[16:16:56] [debug] AMX backtrace:
[16:16:56] [debug] #0 000c5664 in public ocmdOnPlayerCommandText () from RGR.amx
[16:16:56] [debug] #1 00002134 in public OnPlayerCommandText () from RGR.amx
Sowie:
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx
[16:15:04] [debug] Run time error 4: "Array index out of bounds"
[16:15:04] [debug] Accessing element at negative index -1
[16:15:04] [debug] AMX backtrace:
[16:15:04] [debug] #0 001e58e8 in public OnVehicleSpawn () from RGR.amx
[16:15:04] [debug] #1 00094f90 in public OnGameModeInit () from RGR.amx -
Hey
Hab folgendes Problem:
Mit /buycar kauf ich ein Car jedoch kommt immer Server Unknown Command.
Code:
if(strcmp("/buycar", cmd, true) == 0)
{
if(Spectating[playerid] != -1)
{
if(Carlist[playerid][CarKey[playerid]][Typ] == -1)
{
new preis = Kaufliste[Spectating[playerid]][Preis];
if(preis <= PlayerInfo[playerid][pCash])
{
new autohaus = Kaufliste[Spectating[playerid]][Autohaus];
GivePlayerMoneys(playerid, - preis);
Carlist[playerid][CarKey[playerid]][Typ] = Spectating[playerid];
Carlist[playerid][CarKey[playerid]][pos_x] = Autospawns[autohaus][pos_x];
Carlist[playerid][CarKey[playerid]][pos_y] = Autospawns[autohaus][pos_y];
Carlist[playerid][CarKey[playerid]][pos_z] = Autospawns[autohaus][pos_z];
Carlist[playerid][CarKey[playerid]][z_angle] = Autospawns[autohaus][z_angle];
Carlist[playerid][CarKey[playerid]][SpawnSaveX] = Autospawns[autohaus][pos_x];
Carlist[playerid][CarKey[playerid]][SpawnSaveY] = Autospawns[autohaus][pos_y];
Carlist[playerid][CarKey[playerid]][SpawnSaveZ] = Autospawns[autohaus][pos_z];
Carlist[playerid][CarKey[playerid]][SpawnSaveRot] = Autospawns[autohaus][z_angle];
Carlist[playerid][CarKey[playerid]][Status] = 0;
Carlist[playerid][CarKey[playerid]][Lock] = 0;
Carlist[playerid][CarKey[playerid]][TankVolumen] = 100;
Carlist[playerid][CarKey[playerid]][Carid] = CreateTunedCar(playerid, CarKey[playerid]);
Carlist[playerid][CarKey[playerid]][Meter] = 0;
Gas[Carlist[playerid][CarKey[playerid]][Carid]] = Carlist[playerid][CarKey[playerid]][TankVolumen];
SetPlayerCheckpoint(playerid,Carlist[playerid][CarKey[playerid]][pos_x],Carlist[playerid][CarKey[playerid]][pos_y],Carlist[playerid][CarKey[playerid]][pos_z],10.0);
ForAllPlayers(i){
if(IsPlayerConnected(i)){
SetVehicleParamsForPlayer(Kaufliste[Spectating[playerid]][Carid], i, 0, 0);
}}
TogglePlayerControllable(playerid,1);
RemovePlayerFromVehicle(playerid);
format(string, sizeof(string), "Du hast dir erfolgreich für %s$ ein/einen %s gekauft!",GetPoint(preis),Kaufliste[Carlist[playerid][CarKey[playerid]][Typ]][Name]);
SendClientMessage(playerid, COLOR_GREEN, "Mit /carlock kannst du dein Fahrzeug für andere Leute freigeben oder abschließen.");
SendClientMessage(playerid, COLOR_GREEN, "Mehr Befehle kannst du unter /carhelp sehen.");
SendClientMessage(playerid, COLOR_YELLOW, "Dein Auto steht am Ausgabepunkt(Roter Marker) bereit! Viel Spaß beim Fahren!");
GetPlayerName(playerid, sendername, sizeof(sendername));
if(Kaufliste[Spectating[playerid]][Autohaus] == 2)
{
BizInfo[13][bTill] += (preis/100)*19;
}
Spectating[playerid] = -1;
}
else
{
format(string, sizeof(string), " Du hast nicht genug Geld für das Auto (benötigt: $%i)!", preis);
SendClientMessage(playerid, COLOR_ERRORTEXT, string);
}
}
else
{
SendClientMessage(playerid, COLOR_ERRORTEXT, " Du besitzt bereits ein Auto auf dem ausgewählten Schlüssel!");
}
}
else
{
SendClientMessage(playerid, COLOR_ERRORTEXT, " Du besichtigst kein Auto !");
}
return 1;
}if(typ != -1){
if(Kaufliste[typ][Autohaus] == 2 && PlayerInfo[playerid][pDonatorRank] != 2){
SendClientMessage(playerid, COLOR_ERRORTEXT, " Du hast keinen Donator Rank !");
RemovePlayerFromVehicle(playerid);
return 1;
}
//TogglePlayerControllable(playerid,0);
Spectating[playerid] = typ;
ForAllPlayers(i){
if(IsPlayerConnected(i)){
SetVehicleParamsForPlayer(newcar, i, 0, 1);
}}
SendClientMessage(playerid, COLOR_GRÜN, "~*~ Autohaus ~*~");
format(string,sizeof(string),"Name: %s",Kaufliste[typ][Name]);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string,sizeof(string),"Preis: %s$",GetPoint(Kaufliste[typ][Preis]));
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string,sizeof(string),"Reparaturkosten: %s$",GetPoint(Kaufliste[typ][Reparatur]));
SendClientMessage(playerid, COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_GREEN, "Dieses Fahrzeug ist zu verkaufen. Um es zu kaufen, benutze: /buycar");
}enum ahSpawn
{
Float:pos_x,
Float:pos_y,
Float:pos_z,
Float:z_angle,
};
new Autospawns[5][ahSpawn] =
{
{748.9752,-1345.8182,13.5155,270.000},//Intercars
{-1639.3599,1198.1665,8.1,270.1},//Autohaus SF
{2217.1833,1420.9259,14.1,90.1},//Spezialautohaus LV
{1774.8820,-1703.2280,14.0,0.1},//Autohaus LS1
{-553.2078,-1028.4569,24.1064,273.7115}//Gold....
};enum ahModell
{
Name[128],
Autohaus,
Modelid,
Carid,
Preis,
Reparatur,
Float:pos_x,
Float:pos_y,
Float:pos_z,
Float:z_angle,
};new Kaufliste[45][ahModell] =
{
/////////////////////////////Intercars//////////////////////////////////
{"Tampa",0,549,-1,6600,100,766.3573,-1378.6475,13.3541,269.4215}, //intercars
{"Bobcat",0,422,-1,8600,100,766.2212,-1373.8983,13.5806,269.0165},
{"Burrito",0,482,-1,12000,640,766.4193,-1368.8649,13.6737,266.4977},
{"Nebula",0,516,-1,12500,150,766.1318,-1364.1688,13.3903,269.4459},
{"Phoenix",0,603,-1,13500,250,766.2344,-1359.5094,13.4226,268.1375},
{"Savanna",0,567,-1,13000,150,783.5147,-1367.2809,13.4088,92.8256},
{"Slamvan",0,535,-1,30000,300,783.8260,-1356.5822,13.3273,90.1728},
{"Voodoo",0,412,-1,25500,250,782.9839,-1335.4767,13.4323,88.8266},
{"Tornado",0,576,-1,15000,175,783.2136,-1377.6055,13.2309,88.6873},
{"Broadway",0,575,-1,9000,200,783.5681,-1372.7090,13.2070,94.9154},
{"Balde",0,536,-1,150,15000,783.5160,-1361.8856,13.3241,89.2535},
{"Remington",0,534,-1,12000,650,783.4966,-1351.3638,13.2953,88.0422},
{"Buccaneer",0,518,-1,55000,1500,783.2993,-1346.0609,13.2515,79.4080},
{"Esperanto",0,419,-1,8000,700,783.4002,-1340.4026,13.4123,91.5259},
{"Hustler",0,545,-1,12500,300,771.0963,-1333.1886,13.2466,179.9259},
{"Blista",0,496,-1,4500,350,766.1276,-1333.2665,13.2896,179.4678},
{"Comet",0,480,-1,18000,80,761.2780,-1333.2695,13.3010,176.7838},
{"Elegy",0,562,-1,20000,80,756.5835,-1333.0814,13.1270,182.4252},
{"Huntley",0,579,-1,100000,1000,751.5070,-1334.0564,13.5520,182.1816},
{"Mesa",0,500,-1,8000,250,746.6382,-1333.4875,13.6658,179.9870},
{"Moonbeam",0,418,-1,15000,245,741.8511,-1333.5743,13.6650,180.3323},//intercars ende 21
/////////////////////////////////Grottis//////////////////////////////////////
{"Buffalo",1,402,-1,155000,350,558.8314,-1289.5635,17.0566,359.8489}, //Grottis
{"Bullet",1,541,-1,180000,450,537.7307,-1289.6569,16.8788,359.9076},
{"Cheetah",1,415,-1,185000,360,548.5411,-1289.2894,17.0168,6.7969},
{"Banshee",1,429,-1,23000,150,563.1986,-1289.0668,16.9284,2.2992},
{"Infernus",1,411,-1,50000,120,553.5667,-1289.6110,16.9802,4.0815},
{"Turismo",1,451,-1,300000,680,542.7256,-1289.3339,16.9663,3.7311},
{"Jester",1,559,-1,260000,150,532.2188,-1290.0289,16.9184,8.3362},
{"Sultan",1,560,-1,27500,100,527.2485,-1290.7981,16.8880,1.5522},//Grottis Ende 8
//////////////////////////////////2RadShop////////////////////////////////////
{"Wayfarer",1,586,-1,11000,300,2117.6641,-1135.7371,24.7074,244.4122},
{"BF-400",1,581,-1,12500,350,2117.6621,-1133.0946,24.7906,263.1818},
{"NRG-500",1,522,-1,60000,450,2117.3479,-1130.3920,24.7793,255.9238},
{"BMX",1,481,-1,1500,260,2118.0095,-1127.1219,24.7798,253.3480},
{"Sanchez",0,468,-1,20000,75,2137.8049,-1139.0826,25.1447,104.7127},
{"Freeway",0,463,-1,12000,100,2137.4783,-1136.2334,25.2795,105.0719},
{"FRC-900",2,521,-1,15000,150,2117.8870,-1123.9498,24.8825,269.8976},
{"PCJ-600",2,461,-1,10000,2002136.4927,-1127.3752,25.1272,102.8394},
{"Faggio",2,462,-1,500000,200,2137.6379,-1131.5999,25.2480,108.6290},//9
////////////////////////////////Flugplatz///////////////////////////////////
{"Maverick",2,487,-1,650000,200,1888.9150,-2624.0420,13.6997,0.2435},
{"Dodo",2,593,-1,150000,200,1822.2716,-2625.2224,14.0106,359.9549},
{"Shamal",2,519,-1,1200000,250,1754.4678,-2625.8228,14.4726,354.9949},//3
///////////////////////////////Gold/Traktoren/////////////////////////////
{"Flatbed",4,455,-1,150000,250,-589.8594,-1078.3411,23.1886,241.0025},
{"Willard",4,529,-1,25000,250,585.7016,-1072.6453,22.9929,235.4666},
{"Traktore",4,531,-1,50000,150,-582.1254,-1066.7961,23.3816,235.8263},
{"DFT-300",4,578,-1,120000,300,-563.4022,-1039.2424,24.7588,237.1086}//4
};Danke im vorraus.
Mfg, -
Dome_:
Zeig mal dein Enum für diese Kaufliste Variable.
enum ahModell
{
Name[128],
Autohaus,
Modelid,
Carid,
Preis,
Reparatur,
Float:pos_x,
Float:pos_y,
Float:pos_z,
Float:z_angle,
};new Kaufliste[45][ahModell] =
{
/////////////////////////////Intercars//////////////////////////////////
{"Tampa",0,549,-1,6600,100,766.3573,-1378.6475,13.3541,269.4215}, //intercars
{"Bobcat",0,422,-1,8600,100,766.2212,-1373.8983,13.5806,269.0165},
{"Burrito",0,482,-1,12000,640,766.4193,-1368.8649,13.6737,266.4977},
{"Nebula",0,516,-1,12500,150,766.1318,-1364.1688,13.3903,269.4459},
{"Phoenix",0,603,-1,13500,250,766.2344,-1359.5094,13.4226,268.1375},
{"Savanna",0,567,-1,13000,150,783.5147,-1367.2809,13.4088,92.8256},
{"Slamvan",0,535,-1,30000,300,783.8260,-1356.5822,13.3273,90.1728},
{"Voodoo",0,412,-1,25500,250,782.9839,-1335.4767,13.4323,88.8266},
{"Tornado",0,576,-1,15000,175,783.2136,-1377.6055,13.2309,88.6873},
{"Broadway",0,575,-1,9000,200,783.5681,-1372.7090,13.2070,94.9154},
{"Balde",0,536,-1,150,15000,783.5160,-1361.8856,13.3241,89.2535},
{"Remington",0,534,-1,12000,650,783.4966,-1351.3638,13.2953,88.0422},
{"Buccaneer",0,518,-1,55000,1500,783.2993,-1346.0609,13.2515,79.4080},
{"Esperanto",0,419,-1,8000,700,783.4002,-1340.4026,13.4123,91.5259},
{"Hustler",0,545,-1,12500,300,771.0963,-1333.1886,13.2466,179.9259},
{"Blista",0,496,-1,4500,350,766.1276,-1333.2665,13.2896,179.4678},
{"Comet",0,480,-1,18000,80,761.2780,-1333.2695,13.3010,176.7838},
{"Elegy",0,562,-1,20000,80,756.5835,-1333.0814,13.1270,182.4252},
{"Huntley",0,579,-1,100000,1000,751.5070,-1334.0564,13.5520,182.1816},
{"Mesa",0,500,-1,8000,250,746.6382,-1333.4875,13.6658,179.9870},
{"Moonbeam",0,418,-1,15000,245,741.8511,-1333.5743,13.6650,180.3323},//intercars ende 21
/////////////////////////////////Grottis//////////////////////////////////////
{"Buffalo",1,402,-1,155000,350,558.8314,-1289.5635,17.0566,359.8489}, //Grottis
{"Bullet",1,541,-1,180000,450,537.7307,-1289.6569,16.8788,359.9076},
{"Cheetah",1,415,-1,185000,360,548.5411,-1289.2894,17.0168,6.7969},
{"Banshee",1,429,-1,23000,150,563.1986,-1289.0668,16.9284,2.2992},
{"Infernus",1,411,-1,50000,120,553.5667,-1289.6110,16.9802,4.0815},
{"Turismo",1,451,-1,300000,680,542.7256,-1289.3339,16.9663,3.7311},
{"Jester",1,559,-1,260000,150,532.2188,-1290.0289,16.9184,8.3362},
{"Sultan",1,560,-1,27500,100,527.2485,-1290.7981,16.8880,1.5522},//Grottis Ende 8
//////////////////////////////////2RadShop////////////////////////////////////
{"Wayfarer",1,586,-1,11000,300,2117.6641,-1135.7371,24.7074,244.4122},
{"BF-400",1,581,-1,12500,350,2117.6621,-1133.0946,24.7906,263.1818},
{"NRG-500",1,522,-1,60000,450,2117.3479,-1130.3920,24.7793,255.9238},
{"BMX",1,481,-1,1500,260,2118.0095,-1127.1219,24.7798,253.3480},
{"Sanchez",0,468,-1,20000,75,2137.8049,-1139.0826,25.1447,104.7127},
{"Freeway",0,463,-1,12000,100,2137.4783,-1136.2334,25.2795,105.0719},
{"FRC-900",2,521,-1,15000,150,2117.8870,-1123.9498,24.8825,269.8976},
{"PCJ-600",2,461,-1,10000,2002136.4927,-1127.3752,25.1272,102.8394},
{"Faggio",2,462,-1,500000,200,2137.6379,-1131.5999,25.2480,108.6290},//9
////////////////////////////////Flugplatz///////////////////////////////////
{"Maverick",2,487,-1,650000,200,1888.9150,-2624.0420,13.6997,0.2435},
{"Dodo",2,593,-1,150000,200,1822.2716,-2625.2224,14.0106,359.9549},
{"Shamal",2,519,-1,1200000,250,1754.4678,-2625.8228,14.4726,354.9949},//3
///////////////////////////////Gold/Traktoren/////////////////////////////
{"Flatbed",4,455,-1,150000,250,-589.8594,-1078.3411,23.1886,241.0025},
{"Willard",4,529,-1,25000,250,585.7016,-1072.6453,22.9929,235.4666},
{"Traktore",4,531,-1,50000,150,-582.1254,-1066.7961,23.3816,235.8263},
{"DFT-300",4,578,-1,120000,300,-563.4022,-1039.2424,24.7588,237.1086}//4
}; -
Okay.
Zeig mir mal die Zeile format(agc, sizeof agc, ...
und die Funktion GetPoint.
format(agc, sizeof agc, "Dieses Fahrzeug steht zum Verkauf.\nName: %s\nPreis: %s", Kaufliste[typ][Name], GetPoint(Kaufliste[typ][Preis]));
stock GetPoint(Betrag)
{
new string[20],string2[50];
format(string, sizeof(string), "%d", Betrag);
if(strlen(string) <= 3){format(string2, sizeof(string2), "%s", string);}
else if(strlen(string) == 4)
{
new anstring[2],
zwstring[4];
format(anstring, sizeof(anstring), "%s", string);
format(zwstring, sizeof(zwstring), "%s", string[1]);
format(string2, sizeof(string2), "%s.%s", anstring,zwstring);
}
else if(strlen(string) == 5)
{
new anstring[3],
zwstring[4];
format(anstring, sizeof(anstring), "%s", string);
format(zwstring, sizeof(zwstring), "%s", string[2]);
format(string2, sizeof(string2), "%s.%s", anstring,zwstring);
}
else if(strlen(string) == 6)
{
new anstring[4],
zwstring[5];
format(anstring, sizeof(anstring), "%s", string);
format(zwstring, sizeof(zwstring), "%s", string[3]);
format(string2, sizeof(string2), "%s.%s", anstring,zwstring);
}
else if(strlen(string) == 7)
{
new anstring[2],
zwstring[4],
enstring[4];
format(anstring, sizeof(anstring), "%s", string);
format(zwstring, sizeof(zwstring), "%s", string[1]);
format(enstring, sizeof(enstring), "%s", string[4]);
format(string2, sizeof(string2), "%s.%s.%s", anstring,zwstring,enstring);
}
else if(strlen(string) == 8)
{
new anstring[3],
zwstring[4],
enstring[4];
format(anstring, sizeof(anstring), "%s", string);
format(zwstring, sizeof(zwstring), "%s", string[2]);
format(enstring, sizeof(enstring), "%s", string[5]);
format(string2, sizeof(string2), "%s.%s.%s", anstring,zwstring,enstring);
}
else if(strlen(string) == 9)
{
new anstring[4],
zwstring[4],
enstring[4];
format(anstring, sizeof(anstring), "%s", string);
format(zwstring, sizeof(zwstring), "%s", string[3]);
format(enstring, sizeof(enstring), "%s", string[6]);
format(string2, sizeof(string2), "%s.%s.%s", anstring,zwstring,enstring);
}
else if(strlen(string) == 10)
{
new anstring[2],
zwstring1[4],
zwstring2[4],
enstring[4];
format(anstring, sizeof(anstring), "%s", string);
format(zwstring1, sizeof(zwstring1), "%s", string[1]);
format(zwstring2, sizeof(zwstring2), "%s", string[4]);
format(enstring, sizeof(enstring), "%s", string[7]);
format(string2, sizeof(string2), "%s.%s.%s.%s", anstring,zwstring1,zwstring2,enstring);
}
else {format(string2, sizeof(string2), "%s", string);}
return string2;
} -
Ich finde nichts..
Klammer mal diese Zeilen aus:
ForAllPlayers(i){
if(IsPlayerConnected(i)){
SetVehicleParamsForPlayer(newcar, i, 0, 1);
}}Und schau mal ob noch ein Fehler erscheint.
@duengonalex: Richtig gucken, dass ist ein formatierter String, also ohne Gänsefüßchen.
Errors Bleiben. So sah der Standart code aus:
if(typ != -1){
if(Kaufliste[typ][Autohaus] == 2 && PlayerInfo[playerid][pDonatorRank] != 2){
SendClientMessage(playerid, COLOR_ERRORTEXT, " Du hast keinen Donator Rank !");
RemovePlayerFromVehicle(playerid);
return 1;
}
//TogglePlayerControllable(playerid,0);
Spectating[playerid] = typ;
ForAllPlayers(i){
if(IsPlayerConnected(i)){
SetVehicleParamsForPlayer(newcar, i, 0, 1);
}}
SendClientMessage(playerid, COLOR_GRÜN, "~*~ Autohaus ~*~");
format(string,sizeof(string),"Name: %s",Kaufliste[typ][Name]);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string,sizeof(string),"Preis: %s$",GetPoint(Kaufliste[typ][Preis]));
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string,sizeof(string),"Reparaturkosten: %s$",GetPoint(Kaufliste[typ][Reparatur]));
SendClientMessage(playerid, COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_GREEN, "Dieses Fahrzeug ist zu verkaufen. Um es zu kaufen, benutze: /buycar");
} -
Zeile 7771: ShowPlayerDialog(playerid,DIALOG_BUYCAR,DIALOG_STYLE_MSGBOX,"Autohaus Information","agc","Kaufen","Aussteigen");
"Textinhalt" auch in Gänsefüßchen setzen.
Error Bleibt -
Hmm, okay.
Zeig mir noch mal die Errors + die dazugehörigen Zeilen.-
n(7771) : error 029: invalid expression, assumed zero
(7771) : warning 215: expression has no effect
(7771) : warning 215: expression has no effect
(7771) : warning 215: expression has no effect
(7771) : warning 215: expression has no effect
(7771) : warning 215: expression has no effect
(7771) : error 001: expected token: ";", but found ")"
(7771) : error 029: invalid expression, assumed zero
(7771) : fatal error 107: too many error messages on one line
Zeile 7771: ShowPlayerDialog(playerid,DIALOG_BUYCAR,DIALOG_STYLE_MSGBOX,"Autohaus Information",agc,"Kaufen","Aussteigen"); -
#define ForAllPlayers(%0) for(new index_%0=0,%0=ConnectedPlayerList[0]; index_%0<ConnectedPlayers; index_%0++,%0=ConnectedPlayerList[index_%0])