25.02.2014, 09:06
(1295) : error 001: expected token: "*then", but found "-identifier-"
(1302) : error 001: expected token: "*then", but found "-identifier-"
(1460) : error 032: array index out of bounds (variable "NSpawns")
(465) : warning 204: symbol is assigned a value that is never used: "NP3"
Help Pls
(1302) : error 001: expected token: "*then", but found "-identifier-"
(1460) : error 032: array index out of bounds (variable "NSpawns")
(465) : warning 204: symbol is assigned a value that is never used: "NP3"
pawn Код:
#define N_SKIN 115
#define SN_SKIN 107
new Float:NSpawns[][] =
{
{-809.96, 2429.53, 156.97},
{-771.69, 2424.31, 157.08},
{-794.62, 2393.92, 159.50}
};
new NP3;
pawn Код:
Line 1295 : SetPlayerSkin(playerid, N_SKIN);
Line 1302 : SetPlayerSkin(playerid, SN_SKIN);
Line 1460 : SetPlayerFacingAngle(playerid, NSpawns[R andom][3]);
Line 465 : NP3 = CreatePickup(1254,2,-792.58, 2425.74, 157.15, -1);