28.01.2015, 19:37
What about this?
Errors:
PAWN:
Errors:
Код:
C:\Documents and Settings\Administrator\Desktop\Rp\******* Roleplay\gamemodes\******.pwn(24831) : warning 219: local variable "Pos" shadows a variable at a preceding level C:\Documents and Settings\Administrator\Desktop\Rp\****** Roleplay\gamemodes\******.pwn(24833) : error 028: invalid subscript (not an array or too many subscripts): "Pos" C:\Documents and Settings\Administrator\Desktop\Rp\******* Roleplay\gamemodes\****.pwn(24833) : warning 215: expression has no effect C:\Documents and Settings\Administrator\Desktop\Rp\******** Roleplay\gamemodes\******.pwn(24833) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Administrator\Desktop\Rp\********\gamemodes\******.pwn(24833) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\Desktop\Rp\********\gamemodes\*******.pwn(24833) : fatal error 107: too many error messages on one line
Код:
[24831] new Float: Pos[3]; [24832] if(sscanf(params, "s[128]", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /offercp [playerid]"); [24833] GetPlayerPos(playerid, Pos[0],Pos[1],Pos[2]);