Guten Tag.
Ich habe es immer schon so gemacht nur will es jetzt nicht mehr.
Ich habe diesen Code:
new Float:gppos[12][3]=
{
{x,y,z},
{x+0.1,y,z},
{x-0.1,y,z},
{x,y+0.1,z},
{x,y-0.1,z},
{x+0.1,y-0.1,z},
{x+0.1,y+0.1,z},
{x-0.1,y-0.1,z},
{x-0.1,y+0.1,z},
{x+0.15,y,z},
{x,y+0.15,z},
{x-0.15,y,z}
};
Bei OnPlayerDeath und es kommen diese Warnings+Errors:
Code
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(55) : error 008: must be a constant expression; assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(57) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(57) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(57) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(57) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(57) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(57) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(57) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(58) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(58) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(58) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(58) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(58) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(58) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(58) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(59) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(59) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(59) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(59) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(59) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(59) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(59) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(60) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(60) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(60) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(60) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(60) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(60) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(60) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(61) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(61) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(61) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(61) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(61) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(61) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(61) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(62) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(62) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(62) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(62) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(62) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(62) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(62) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(63) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(63) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(63) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(63) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(63) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(63) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(63) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(64) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(64) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(64) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(64) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(64) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(64) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(64) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(65) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(65) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(65) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(65) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(65) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(65) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(65) : error 029: invalid expression, assumed zero
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(66) : warning 217: loose indentation
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(66) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(66) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(66) : warning 215: expression has no effect
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(66) : error 001: expected token: ";", but found "}"
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(50) : error 010: invalid function or declaration
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(50 -- 68) : error 010: invalid function or declaration
C:\Users\Stefan\Documents\Samp-Server\filterscripts\test.pwn(50 -- 68) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
23 Errors.
Alles anzeigen