11.10.2014, 10:36
(
Последний раз редактировалось gurmani11; 11.10.2014 в 16:16.
)
Hey there i need help about
Hope i explained well
pawn Код:
new Float:blabla[][]={
{x,y,z},
{x,y,z},
{x,y,z}
}
new rand = random(sizeof(blabla));
new pickuppos = GetPickupPos(blabla[rand][0], blabla[rand][1],blabla[rand][2]);
stock GetPickupPos(Float:x,Float:y,Float:z)
{
new Index=1;
x=[Index][0]; // ITs error
y=[Index][1];
z=[Index][2];
return 1;
//------------------------------------
However it gives warning & errors
(249)error 029: invalid expression, assumed zero
(249)warning 215: expression has no effect
(249)error 001: expected token: ";", but found "]"
(249)error 029: invalid expression, assumed zero
(249)fatal error 107: too many error messages on one line
//---I know the value is not give here---- but idk
x=/*What should be added here*/[Index][0];
y=/*What should be added here*/[Index][1];
z=/*What should be added here*/[Index][2];
//----------------Something like inputtext from OnDialogResponse...?----------------------------
}